diff --git a/Inscripciones_UAIE/node_backend/routes/authRoutes.js b/Inscripciones_UAIE/node_backend/routes/authRoutes.js deleted file mode 100644 index bb40447962358afa80300bb0f4c308dec5ea43f2..0000000000000000000000000000000000000000 --- a/Inscripciones_UAIE/node_backend/routes/authRoutes.js +++ /dev/null @@ -1,46 +0,0 @@ -// routes/authRoutes.js -const express = require('express'); -const router = express.Router(); -const jwt = require('jsonwebtoken'); -const bcrypt = require('bcrypt'); -const Alumno = require('../models/Alumno'); -const User = require('../models/User'); - -// Ruta de inicio de sesión para alumnos -router.post('/alumno/login', async (req, res) => { - const { matricula } = req.body; - try { - const alumno = await Alumno.findOne({ matricula }); - if (!alumno) { - return res.status(400).json({ mensaje: 'Alumno no encontrado' }); - } - - const token = jwt.sign({ id: alumno._id }, 'tu_secreto', { expiresIn: '1h' }); - return res.json({ mensaje: 'Inicio de sesión exitoso', token }); - } catch (error) { - return res.status(500).json({ mensaje: 'Error al iniciar sesión', error }); - } -}); - -// Ruta de inicio de sesión para personal -router.post('/usuario/login', async (req, res) => { - const { matricula, password } = req.body; - try { - const usuario = await User.findOne({ matricula }); - if (!usuario) { - return res.status(400).json({ mensaje: 'Usuario no encontrado' }); - } - - const isMatch = await bcrypt.compare(password, usuario.password); - if (!isMatch) { - return res.status(400).json({ mensaje: 'Contraseña incorrecta' }); - } - - const token = jwt.sign({ id: usuario._id }, 'tu_secreto', { expiresIn: '1h' }); - return res.json({ mensaje: 'Inicio de sesión exitoso', token }); - } catch (error) { - return res.status(500).json({ mensaje: 'Error al iniciar sesión', error }); - } -}); - -module.exports = router; diff --git a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/0.pack b/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/0.pack deleted file mode 100644 index ebd8f6e86c4b3dc356d224c3ff054af5c52ee821..0000000000000000000000000000000000000000 Binary files a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/0.pack and /dev/null differ diff --git a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/1.pack b/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/1.pack deleted file mode 100644 index 2b190e52c2301146d9ab946c820889559b254586..0000000000000000000000000000000000000000 Binary files a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/1.pack and /dev/null differ diff --git a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack b/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack deleted file mode 100644 index ced78dcbca364aba7a0545dfe0bbd8cf558739cc..0000000000000000000000000000000000000000 Binary files a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack and /dev/null differ diff --git a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack.old b/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack.old deleted file mode 100644 index 1e9296c7be29437dfe4c541e6c9a95e78bb766ab..0000000000000000000000000000000000000000 Binary files a/Inscripciones_UAIE/react_frontend/node_modules/.cache/default-development/index.pack.old and /dev/null differ diff --git a/Inscripciones_UAIE/node_backend/controllers/alumnoController.js b/node_backend/controllers/alumnoController.js similarity index 91% rename from Inscripciones_UAIE/node_backend/controllers/alumnoController.js rename to node_backend/controllers/alumnoController.js index 9df54b84c23a8264cf652c8ac24acc330205ce5e..bdcc83d6ca32a76598bf7f47bf64516e74015418 100644 --- a/Inscripciones_UAIE/node_backend/controllers/alumnoController.js +++ b/node_backend/controllers/alumnoController.js @@ -4,9 +4,10 @@ const bcrypt = require('bcryptjs'); // Crear un nuevo alumno exports.createAlumno = async (req, res) => { - const { matricula, nombre } = req.body; + console.log('Alumno:', req.body); + const { matricula, nombre, telefono, correo } = req.body; try { - const newAlumno = new Alumno({ matricula, nombre }); + const newAlumno = new Alumno({ matricula, nombre, telefono, correo }); await newAlumno.save(); res.status(201).json(newAlumno); } catch (error) { diff --git a/node_backend/controllers/docenteController.js b/node_backend/controllers/docenteController.js new file mode 100644 index 0000000000000000000000000000000000000000..5d6b8290afc14293d886e30c24c0de3ab91317fb --- /dev/null +++ b/node_backend/controllers/docenteController.js @@ -0,0 +1,68 @@ +const Docente = require('../models/Docentes'); +const bcrypt = require('bcryptjs'); + +exports.createDocente = async (req, res) => { + console.log('Docente:', req.body); + const { nombre, matricula, password } = req.body; + try { + const newDocente = new Docente({ nombre, matricula, password }); + await newDocente.save(); + res.status(201).json(newDocente); + } catch (error) { + res.status(500).json({ message: 'Error al crear el docente', error }); + } + }; + + // Obtener todos los docentes + exports.getDocentes = async (req, res) => { + try { + const docentes = await Docente.find(); + res.status(200).json(docentes); + } catch (error) { + res.status(500).json({ message: 'Error al obtener docentes', error }); + } + }; + + // Obtener un docente por ID + exports.getDocenteById = async (req, res) => { + try { + const docente = await Docente.findById(req.params.id); + if (!docente) { + return res.status(404).json({ message: 'Docente no encontrado' }); + } + res.status(200).json(docente); + } catch (error) { + res.status(500).json({ message: 'Error al obtener el docente', error }); + } + }; + + // Actualizar un docente + exports.updateDocente = async (req, res) => { + const { nombre, matricula, password } = req.body; + try { + const docente = await Docente.findByIdAndUpdate( + req.params.id, + { nombre, matricula, password }, + { new: true } + ); + if (!docente) { + return res.status(404).json({ message: 'Docente no encontrado' }); + } + res.status(200).json(docente); + } catch (error) { + res.status(500).json({ message: 'Error al actualizar el docente', error }); + } + }; + + // Eliminar un docente + exports.deleteDocente = async (req, res) => { + try { + const docente = await Docente.findByIdAndDelete(req.params.id); + if (!docente) { + return res.status(404).json({ message: 'Docente no encontrado' }); + } + res.status(204).json({ message: 'Docente eliminado' }); + } catch (error) { + res.status(500).json({ message: 'Error al eliminar el docente', error }); + } + }; \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/controllers/materiaController.js b/node_backend/controllers/materiaController.js similarity index 52% rename from Inscripciones_UAIE/node_backend/controllers/materiaController.js rename to node_backend/controllers/materiaController.js index 1a0ba09874a65961a46f7581aae93aa70c4e8337..b73960fb6d48cdcf9028c51e69e9bf77c44a4fa1 100644 --- a/Inscripciones_UAIE/node_backend/controllers/materiaController.js +++ b/node_backend/controllers/materiaController.js @@ -1,14 +1,16 @@ +const fs = require('fs'); +const csv = require('csv-parser'); const Materia = require('../models/Materia'); // Crear una nueva materia exports.createMateria = async (req, res) => { - const { nombre, horarios, salon, cupo, docente } = req.body; + const { id_materia, nombre, horarios, salon, cupo, docente } = req.body; console.log('Datos recibidos para crear la materia:', req.body); try { const docenteFinal = docente.trim() === "" ? null : docente; - const newMateria = new Materia({ nombre, horarios, salon, cupo, docente: docenteFinal }); + const newMateria = new Materia({ id_materia, nombre, horarios, salon, cupo, docente: docenteFinal }); await newMateria.save(); console.log('Materia creada:', newMateria); @@ -75,3 +77,58 @@ exports.deleteMateria = async (req, res) => { res.status(500).json({ message: 'Error al eliminar la materia', error }); } }; + +exports.uploadCSV = async (req, res) => { + try { + const filePath = req.file.path; // Ruta del archivo subido + const materias = []; + + // Leer y procesar el archivo CSV + fs.createReadStream(filePath) + .pipe(csv()) + .on('data', async (row) => { + try { + // Buscar el docente si es necesario + const docenteEncontrado = row['ID_DOCENTE'] + ? await Docente.findOne({ nombre: row['ID_DOCENTE'] }) + : null; + + // Crear un objeto Materia para cada fila del CSV + const materia = { + nombre: row['MATERIA'], + grupo: row['GRUPO'], + salon: row['SALON'], + cupo: parseInt(row['CUPO'], 10), + docente: docenteEncontrado ? docenteEncontrado._id : null, + horarios: { + lunes: row['LUNES'] || null, + martes: row['MARTES'] || null, + miercoles: row['MIERCOLES'] || null, + jueves: row['JUEVES'] || null, + viernes: row['VIERNES'] || null, + sabado: row['SABADO'] || null, + }, + }; + + materias.push(materia); + } catch (error) { + console.error(`Error al procesar la fila: ${JSON.stringify(row)}. Error: ${error.message}`); + } + }) + .on('end', async () => { + try { + // Guardar todas las materias en MongoDB + await Materia.insertMany(materias); + res.status(201).json({ message: 'Materias subidas exitosamente' }); + } catch (err) { + console.error('Error al guardar las materias:', err); + res.status(500).json({ message: 'Error al guardar las materias', error: err }); + } finally { + // Eliminar el archivo temporal + fs.unlinkSync(filePath); + } + }); + } catch (err) { + res.status(500).json({ message: 'Error al procesar el archivo', error: err }); + } +}; \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/controllers/userController.js b/node_backend/controllers/userController.js similarity index 100% rename from Inscripciones_UAIE/node_backend/controllers/userController.js rename to node_backend/controllers/userController.js diff --git a/node_backend/models/Administrador_Gen.js b/node_backend/models/Administrador_Gen.js new file mode 100644 index 0000000000000000000000000000000000000000..1f4b127ff3df614bfef8448bfc2ea487e4a9d2ae --- /dev/null +++ b/node_backend/models/Administrador_Gen.js @@ -0,0 +1,12 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const AdministradorGenMdl = new Schema({ + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + }); + + + +module.exports = mongoose.model('AdministradorGen', AdministradorGenMdl); \ No newline at end of file diff --git a/node_backend/models/Administradores.js b/node_backend/models/Administradores.js new file mode 100644 index 0000000000000000000000000000000000000000..2008982574cfedd46e512ec9dfe3293bbe884fae --- /dev/null +++ b/node_backend/models/Administradores.js @@ -0,0 +1,12 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const AdministradorMdl = new Schema({ + idcarrera:{type: String, required: true}, + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + }); + + +module.exports = mongoose.model('Administrador', AdministradorMdl); \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/models/Alumno.js b/node_backend/models/Alumno.js similarity index 79% rename from Inscripciones_UAIE/node_backend/models/Alumno.js rename to node_backend/models/Alumno.js index adb4e1edc20a30979f1e60fbfc90d2fe49c2a199..3ef1366987505e86882f3b31386898a9681f485e 100644 --- a/Inscripciones_UAIE/node_backend/models/Alumno.js +++ b/node_backend/models/Alumno.js @@ -4,6 +4,8 @@ const Schema = mongoose.Schema; const AlumnoSchema = new Schema({ matricula: { type: String, required: true, unique: true }, nombre: { type: String, required: true }, + telefono: { type: String, required: true }, + correo: { type: String, required: true }, horario: { type: Schema.Types.ObjectId, ref: 'Horario', default: null } }); diff --git a/node_backend/models/Coordinador_Gen.js b/node_backend/models/Coordinador_Gen.js new file mode 100644 index 0000000000000000000000000000000000000000..ca1fa45e72c531849957d0a98187a6c5a63c0251 --- /dev/null +++ b/node_backend/models/Coordinador_Gen.js @@ -0,0 +1,12 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const CoordinadorGenMdl = new Schema({ + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + alumnos: [{ type: Schema.Types.ObjectId, ref: 'Alumno', default: [] }] // Array de referencias a 'Alumno' +}); + + +module.exports = mongoose.model('CoordinadorGen', CoordinadorGenMdl); \ No newline at end of file diff --git a/node_backend/models/Coordinadores.js b/node_backend/models/Coordinadores.js new file mode 100644 index 0000000000000000000000000000000000000000..602b65bae42265985494188097787f4ce75d0a07 --- /dev/null +++ b/node_backend/models/Coordinadores.js @@ -0,0 +1,13 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const CoordinadorMdl = new Schema({ + idcarrera:{type: String, required: true}, + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + alumnos: [{ type: Schema.Types.ObjectId, ref: 'Alumno', default: [] }] // Array de referencias a 'Alumno' + }); + + +module.exports = mongoose.model('Coordinador', CoordinadorMdl); \ No newline at end of file diff --git a/node_backend/models/Docentes.js b/node_backend/models/Docentes.js new file mode 100644 index 0000000000000000000000000000000000000000..6ed30f0b0367802be898b0cddde555e2cb525e15 --- /dev/null +++ b/node_backend/models/Docentes.js @@ -0,0 +1,12 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const DocentesMdl = new Schema({ + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + materias: [{ type: Schema.Types.ObjectId, ref: 'Materia', default: [] }], // Array de referencias a 'Horario' + alumnos: [{ type: Schema.Types.ObjectId, ref: 'Alumno', default: [] }] // Array de referencias a 'Alumno' + }); + +module.exports = mongoose.model('Docente', DocentesMdl); \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/models/Horario.js b/node_backend/models/Horario.js similarity index 100% rename from Inscripciones_UAIE/node_backend/models/Horario.js rename to node_backend/models/Horario.js diff --git a/Inscripciones_UAIE/node_backend/models/Materia.js b/node_backend/models/Materia.js similarity index 82% rename from Inscripciones_UAIE/node_backend/models/Materia.js rename to node_backend/models/Materia.js index 7e1b6c46167f76c7a7b4035e67b570f47cd7b085..bb2aa09d29c83ebc0b74f215e6ac893c9e654773 100644 --- a/Inscripciones_UAIE/node_backend/models/Materia.js +++ b/node_backend/models/Materia.js @@ -2,13 +2,15 @@ const mongoose = require('mongoose'); const Schema = mongoose.Schema; const MateriaSchema = new Schema({ + id_materia: {type: Number, required: false}, nombre: { type: String, required: true }, horarios: { lunes: { type: String, default: null }, // "8:30-10:00" formato opcional martes: { type: String, default: null }, miercoles: { type: String, default: null }, jueves: { type: String, default: null }, - viernes: { type: String, default: null } + viernes: { type: String, default: null }, + sabado: { type: String, default: null } }, salon: { type: String, required: true }, grupo: { type: String, required: true }, diff --git a/node_backend/models/Tutores.js b/node_backend/models/Tutores.js new file mode 100644 index 0000000000000000000000000000000000000000..1886138685a50fcf6d3b595268209c82b625a3cf --- /dev/null +++ b/node_backend/models/Tutores.js @@ -0,0 +1,11 @@ +const mongoose = require('mongoose'); +const Schema = mongoose.Schema; + +const TutoresMdl = new Schema({ + nombre: { type: String, required: true }, + matricula: { type: String, required: true, unique: true }, + password:{ type: String, required: true }, + alumnos: [{ type: Schema.Types.ObjectId, ref: 'Alumno', default: [] }] // Array de referencias a 'Alumno' + }); + +module.exports = mongoose.model('Tutor', TutoresMdl); \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/models/User.js b/node_backend/models/User.js similarity index 100% rename from Inscripciones_UAIE/node_backend/models/User.js rename to node_backend/models/User.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/color-support b/node_backend/node_modules/.bin/color-support similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/color-support rename to node_backend/node_modules/.bin/color-support diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/color-support.cmd b/node_backend/node_modules/.bin/color-support.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/color-support.cmd rename to node_backend/node_modules/.bin/color-support.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/color-support.ps1 b/node_backend/node_modules/.bin/color-support.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/color-support.ps1 rename to node_backend/node_modules/.bin/color-support.ps1 diff --git a/node_backend/node_modules/.bin/csv-parser b/node_backend/node_modules/.bin/csv-parser new file mode 100644 index 0000000000000000000000000000000000000000..bb9d835ddcb2232f398f12fdef00102249a49f42 --- /dev/null +++ b/node_backend/node_modules/.bin/csv-parser @@ -0,0 +1,12 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../csv-parser/bin/csv-parser" "$@" +else + exec node "$basedir/../csv-parser/bin/csv-parser" "$@" +fi diff --git a/node_backend/node_modules/.bin/csv-parser.cmd b/node_backend/node_modules/.bin/csv-parser.cmd new file mode 100644 index 0000000000000000000000000000000000000000..f63e2b848ccecd2ab0743dbdbf1baa22356ced27 --- /dev/null +++ b/node_backend/node_modules/.bin/csv-parser.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\csv-parser\bin\csv-parser" %* diff --git a/node_backend/node_modules/.bin/csv-parser.ps1 b/node_backend/node_modules/.bin/csv-parser.ps1 new file mode 100644 index 0000000000000000000000000000000000000000..34496c29ea5f0daf31b6d102e03ff2f9d9d3fc61 --- /dev/null +++ b/node_backend/node_modules/.bin/csv-parser.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../csv-parser/bin/csv-parser" $args + } else { + & "$basedir/node$exe" "$basedir/../csv-parser/bin/csv-parser" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../csv-parser/bin/csv-parser" $args + } else { + & "node$exe" "$basedir/../csv-parser/bin/csv-parser" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mime b/node_backend/node_modules/.bin/mime similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mime rename to node_backend/node_modules/.bin/mime diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mime.cmd b/node_backend/node_modules/.bin/mime.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mime.cmd rename to node_backend/node_modules/.bin/mime.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mime.ps1 b/node_backend/node_modules/.bin/mime.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mime.ps1 rename to node_backend/node_modules/.bin/mime.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp b/node_backend/node_modules/.bin/mkdirp similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp rename to node_backend/node_modules/.bin/mkdirp diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp.cmd b/node_backend/node_modules/.bin/mkdirp.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp.cmd rename to node_backend/node_modules/.bin/mkdirp.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp.ps1 b/node_backend/node_modules/.bin/mkdirp.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/mkdirp.ps1 rename to node_backend/node_modules/.bin/mkdirp.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp b/node_backend/node_modules/.bin/node-pre-gyp similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp rename to node_backend/node_modules/.bin/node-pre-gyp diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp.cmd b/node_backend/node_modules/.bin/node-pre-gyp.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp.cmd rename to node_backend/node_modules/.bin/node-pre-gyp.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp.ps1 b/node_backend/node_modules/.bin/node-pre-gyp.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/node-pre-gyp.ps1 rename to node_backend/node_modules/.bin/node-pre-gyp.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/nopt b/node_backend/node_modules/.bin/nopt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/nopt rename to node_backend/node_modules/.bin/nopt diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/nopt.cmd b/node_backend/node_modules/.bin/nopt.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/nopt.cmd rename to node_backend/node_modules/.bin/nopt.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/nopt.ps1 b/node_backend/node_modules/.bin/nopt.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/nopt.ps1 rename to node_backend/node_modules/.bin/nopt.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf b/node_backend/node_modules/.bin/rimraf similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf rename to node_backend/node_modules/.bin/rimraf diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf.cmd b/node_backend/node_modules/.bin/rimraf.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf.cmd rename to node_backend/node_modules/.bin/rimraf.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf.ps1 b/node_backend/node_modules/.bin/rimraf.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/rimraf.ps1 rename to node_backend/node_modules/.bin/rimraf.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/semver b/node_backend/node_modules/.bin/semver similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/semver rename to node_backend/node_modules/.bin/semver diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/semver.cmd b/node_backend/node_modules/.bin/semver.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/semver.cmd rename to node_backend/node_modules/.bin/semver.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/.bin/semver.ps1 b/node_backend/node_modules/.bin/semver.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/.bin/semver.ps1 rename to node_backend/node_modules/.bin/semver.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/.package-lock.json b/node_backend/node_modules/.package-lock.json similarity index 90% rename from Inscripciones_UAIE/node_backend/node_modules/.package-lock.json rename to node_backend/node_modules/.package-lock.json index e34551ef811061f9091bb5fbb8714fd756ff4bdb..0dac5d8296555775d57491249d2e16faae070018 100644 --- a/Inscripciones_UAIE/node_backend/node_modules/.package-lock.json +++ b/node_backend/node_modules/.package-lock.json @@ -101,6 +101,11 @@ "node": ">=8" } }, + "node_modules/append-field": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", + "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==" + }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", @@ -192,6 +197,22 @@ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", @@ -239,6 +260,47 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", @@ -276,6 +338,11 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", @@ -288,6 +355,20 @@ "node": ">= 0.10" } }, + "node_modules/csv-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.0.0.tgz", + "integrity": "sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "csv-parser": "bin/csv-parser" + }, + "engines": { + "node": ">= 10" + } + }, "node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -728,6 +809,11 @@ "node": ">=8" } }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, "node_modules/jsonwebtoken": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", @@ -908,6 +994,14 @@ "node": "*" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", @@ -1075,6 +1169,34 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, + "node_modules/multer": { + "version": "1.4.5-lts.1", + "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.5-lts.1.tgz", + "integrity": "sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ==", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/multer/node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -1211,6 +1333,11 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -1449,6 +1576,14 @@ "node": ">= 0.8" } }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -1528,6 +1663,11 @@ "node": ">= 0.6" } }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -1590,6 +1730,14 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml b/node_backend/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml rename to node_backend/node_modules/@mapbox/node-pre-gyp/.github/workflows/codeql.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md b/node_backend/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md rename to node_backend/node_modules/@mapbox/node-pre-gyp/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/LICENSE b/node_backend/node_modules/@mapbox/node-pre-gyp/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/LICENSE rename to node_backend/node_modules/@mapbox/node-pre-gyp/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/README.md b/node_backend/node_modules/@mapbox/node-pre-gyp/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/README.md rename to node_backend/node_modules/@mapbox/node-pre-gyp/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp b/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp rename to node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd b/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd rename to node_backend/node_modules/@mapbox/node-pre-gyp/bin/node-pre-gyp.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/contributing.md b/node_backend/node_modules/@mapbox/node-pre-gyp/contributing.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/contributing.md rename to node_backend/node_modules/@mapbox/node-pre-gyp/contributing.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/build.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/build.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/build.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/build.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/clean.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/clean.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/clean.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/clean.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/configure.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/configure.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/configure.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/configure.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/info.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/info.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/info.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/info.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/install.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/install.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/install.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/install.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/main.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/main.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/main.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/main.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/node-pre-gyp.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/package.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/package.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/package.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/package.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/pre-binding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/publish.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/publish.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/publish.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/publish.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/rebuild.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/reinstall.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reveal.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reveal.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/reveal.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/reveal.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/testbinary.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/testpackage.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/unpublish.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/abi_crosswalk.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/handle_gyp_opts.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/napi.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/index.html diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/nw-pre-gyp/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/s3_setup.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js b/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js rename to node_backend/node_modules/@mapbox/node-pre-gyp/lib/util/versioning.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/package.json b/node_backend/node_modules/@mapbox/node-pre-gyp/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mapbox/node-pre-gyp/package.json rename to node_backend/node_modules/@mapbox/node-pre-gyp/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/LICENSE b/node_backend/node_modules/@mongodb-js/saslprep/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/LICENSE rename to node_backend/node_modules/@mongodb-js/saslprep/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs b/node_backend/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs rename to node_backend/node_modules/@mongodb-js/saslprep/dist/.esm-wrapper.mjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/browser.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/browser.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data-browser.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-data.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/code-points-src.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/generate-code-points.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/index.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/index.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/memory-code-points.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/node.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/node.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/node.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts b/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts rename to node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/util.d.ts.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js b/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js rename to node_backend/node_modules/@mongodb-js/saslprep/dist/util.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js.map b/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/dist/util.js.map rename to node_backend/node_modules/@mongodb-js/saslprep/dist/util.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/package.json b/node_backend/node_modules/@mongodb-js/saslprep/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/package.json rename to node_backend/node_modules/@mongodb-js/saslprep/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/readme.md b/node_backend/node_modules/@mongodb-js/saslprep/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@mongodb-js/saslprep/readme.md rename to node_backend/node_modules/@mongodb-js/saslprep/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/LICENSE b/node_backend/node_modules/@types/webidl-conversions/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/LICENSE rename to node_backend/node_modules/@types/webidl-conversions/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/README.md b/node_backend/node_modules/@types/webidl-conversions/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/README.md rename to node_backend/node_modules/@types/webidl-conversions/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/index.d.ts b/node_backend/node_modules/@types/webidl-conversions/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/index.d.ts rename to node_backend/node_modules/@types/webidl-conversions/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/package.json b/node_backend/node_modules/@types/webidl-conversions/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/webidl-conversions/package.json rename to node_backend/node_modules/@types/webidl-conversions/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/LICENSE b/node_backend/node_modules/@types/whatwg-url/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/LICENSE rename to node_backend/node_modules/@types/whatwg-url/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/README.md b/node_backend/node_modules/@types/whatwg-url/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/README.md rename to node_backend/node_modules/@types/whatwg-url/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/index.d.ts b/node_backend/node_modules/@types/whatwg-url/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/index.d.ts rename to node_backend/node_modules/@types/whatwg-url/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URL-impl.d.ts b/node_backend/node_modules/@types/whatwg-url/lib/URL-impl.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URL-impl.d.ts rename to node_backend/node_modules/@types/whatwg-url/lib/URL-impl.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URL.d.ts b/node_backend/node_modules/@types/whatwg-url/lib/URL.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URL.d.ts rename to node_backend/node_modules/@types/whatwg-url/lib/URL.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams-impl.d.ts b/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams-impl.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams-impl.d.ts rename to node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams-impl.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams.d.ts b/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams.d.ts rename to node_backend/node_modules/@types/whatwg-url/lib/URLSearchParams.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/package.json b/node_backend/node_modules/@types/whatwg-url/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/package.json rename to node_backend/node_modules/@types/whatwg-url/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts b/node_backend/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts rename to node_backend/node_modules/@types/whatwg-url/webidl2js-wrapper.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/abbrev/LICENSE b/node_backend/node_modules/abbrev/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/abbrev/LICENSE rename to node_backend/node_modules/abbrev/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/abbrev/README.md b/node_backend/node_modules/abbrev/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/abbrev/README.md rename to node_backend/node_modules/abbrev/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/abbrev/abbrev.js b/node_backend/node_modules/abbrev/abbrev.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/abbrev/abbrev.js rename to node_backend/node_modules/abbrev/abbrev.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/abbrev/package.json b/node_backend/node_modules/abbrev/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/abbrev/package.json rename to node_backend/node_modules/abbrev/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/accepts/HISTORY.md b/node_backend/node_modules/accepts/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/accepts/HISTORY.md rename to node_backend/node_modules/accepts/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/accepts/LICENSE b/node_backend/node_modules/accepts/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/accepts/LICENSE rename to node_backend/node_modules/accepts/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/accepts/README.md b/node_backend/node_modules/accepts/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/accepts/README.md rename to node_backend/node_modules/accepts/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/accepts/index.js b/node_backend/node_modules/accepts/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/accepts/index.js rename to node_backend/node_modules/accepts/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/accepts/package.json b/node_backend/node_modules/accepts/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/accepts/package.json rename to node_backend/node_modules/accepts/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/README.md b/node_backend/node_modules/agent-base/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/README.md rename to node_backend/node_modules/agent-base/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.d.ts b/node_backend/node_modules/agent-base/dist/src/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.d.ts rename to node_backend/node_modules/agent-base/dist/src/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.js b/node_backend/node_modules/agent-base/dist/src/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.js rename to node_backend/node_modules/agent-base/dist/src/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.js.map b/node_backend/node_modules/agent-base/dist/src/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/index.js.map rename to node_backend/node_modules/agent-base/dist/src/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.d.ts b/node_backend/node_modules/agent-base/dist/src/promisify.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.d.ts rename to node_backend/node_modules/agent-base/dist/src/promisify.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.js b/node_backend/node_modules/agent-base/dist/src/promisify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.js rename to node_backend/node_modules/agent-base/dist/src/promisify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.js.map b/node_backend/node_modules/agent-base/dist/src/promisify.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/dist/src/promisify.js.map rename to node_backend/node_modules/agent-base/dist/src/promisify.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/LICENSE b/node_backend/node_modules/agent-base/node_modules/debug/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/LICENSE rename to node_backend/node_modules/agent-base/node_modules/debug/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/README.md b/node_backend/node_modules/agent-base/node_modules/debug/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/README.md rename to node_backend/node_modules/agent-base/node_modules/debug/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/package.json b/node_backend/node_modules/agent-base/node_modules/debug/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/package.json rename to node_backend/node_modules/agent-base/node_modules/debug/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/browser.js b/node_backend/node_modules/agent-base/node_modules/debug/src/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/browser.js rename to node_backend/node_modules/agent-base/node_modules/debug/src/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/common.js b/node_backend/node_modules/agent-base/node_modules/debug/src/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/common.js rename to node_backend/node_modules/agent-base/node_modules/debug/src/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/index.js b/node_backend/node_modules/agent-base/node_modules/debug/src/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/index.js rename to node_backend/node_modules/agent-base/node_modules/debug/src/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/node.js b/node_backend/node_modules/agent-base/node_modules/debug/src/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/debug/src/node.js rename to node_backend/node_modules/agent-base/node_modules/debug/src/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/index.js b/node_backend/node_modules/agent-base/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/index.js rename to node_backend/node_modules/agent-base/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/license.md b/node_backend/node_modules/agent-base/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/license.md rename to node_backend/node_modules/agent-base/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/package.json b/node_backend/node_modules/agent-base/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/package.json rename to node_backend/node_modules/agent-base/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/readme.md b/node_backend/node_modules/agent-base/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/node_modules/ms/readme.md rename to node_backend/node_modules/agent-base/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/package.json b/node_backend/node_modules/agent-base/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/package.json rename to node_backend/node_modules/agent-base/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/src/index.ts b/node_backend/node_modules/agent-base/src/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/src/index.ts rename to node_backend/node_modules/agent-base/src/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/agent-base/src/promisify.ts b/node_backend/node_modules/agent-base/src/promisify.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/agent-base/src/promisify.ts rename to node_backend/node_modules/agent-base/src/promisify.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/ansi-regex/index.d.ts b/node_backend/node_modules/ansi-regex/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ansi-regex/index.d.ts rename to node_backend/node_modules/ansi-regex/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/ansi-regex/index.js b/node_backend/node_modules/ansi-regex/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ansi-regex/index.js rename to node_backend/node_modules/ansi-regex/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ansi-regex/license b/node_backend/node_modules/ansi-regex/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ansi-regex/license rename to node_backend/node_modules/ansi-regex/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/ansi-regex/package.json b/node_backend/node_modules/ansi-regex/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ansi-regex/package.json rename to node_backend/node_modules/ansi-regex/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ansi-regex/readme.md b/node_backend/node_modules/ansi-regex/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ansi-regex/readme.md rename to node_backend/node_modules/ansi-regex/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/.npmignore b/node_backend/node_modules/append-field/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/.npmignore rename to node_backend/node_modules/append-field/.npmignore diff --git a/node_backend/node_modules/append-field/LICENSE b/node_backend/node_modules/append-field/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..14b1f891b40cc88122b238cdfb966124d7268084 --- /dev/null +++ b/node_backend/node_modules/append-field/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2015 Linus Unnebäck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_backend/node_modules/append-field/README.md b/node_backend/node_modules/append-field/README.md new file mode 100644 index 0000000000000000000000000000000000000000..62b901b7e8c1f92f113ad0bc728aed6595ee7a13 --- /dev/null +++ b/node_backend/node_modules/append-field/README.md @@ -0,0 +1,44 @@ +# `append-field` + +A [W3C HTML JSON forms spec](http://www.w3.org/TR/html-json-forms/) compliant +field appender (for lack of a better name). Useful for people implementing +`application/x-www-form-urlencoded` and `multipart/form-data` parsers. + +It works best on objects created with `Object.create(null)`. Otherwise it might +conflict with variables from the prototype (e.g. `hasOwnProperty`). + +## Installation + +```sh +npm install --save append-field +``` + +## Usage + +```javascript +var appendField = require('append-field') +var obj = Object.create(null) + +appendField(obj, 'pets[0][species]', 'Dahut') +appendField(obj, 'pets[0][name]', 'Hypatia') +appendField(obj, 'pets[1][species]', 'Felis Stultus') +appendField(obj, 'pets[1][name]', 'Billie') + +console.log(obj) +``` + +```text +{ pets: + [ { species: 'Dahut', name: 'Hypatia' }, + { species: 'Felis Stultus', name: 'Billie' } ] } +``` + +## API + +### `appendField(store, key, value)` + +Adds the field named `key` with the value `value` to the object `store`. + +## License + +MIT diff --git a/node_backend/node_modules/append-field/index.js b/node_backend/node_modules/append-field/index.js new file mode 100644 index 0000000000000000000000000000000000000000..fc5acc8bc41502a08fa7d537987d05b0c7ef5775 --- /dev/null +++ b/node_backend/node_modules/append-field/index.js @@ -0,0 +1,12 @@ +var parsePath = require('./lib/parse-path') +var setValue = require('./lib/set-value') + +function appendField (store, key, value) { + var steps = parsePath(key) + + steps.reduce(function (context, step) { + return setValue(context, step, context[step.key], value) + }, store) +} + +module.exports = appendField diff --git a/node_backend/node_modules/append-field/lib/parse-path.js b/node_backend/node_modules/append-field/lib/parse-path.js new file mode 100644 index 0000000000000000000000000000000000000000..31d617966f02ca37d98f9caa3ef4779118bbd635 --- /dev/null +++ b/node_backend/node_modules/append-field/lib/parse-path.js @@ -0,0 +1,53 @@ +var reFirstKey = /^[^\[]*/ +var reDigitPath = /^\[(\d+)\]/ +var reNormalPath = /^\[([^\]]+)\]/ + +function parsePath (key) { + function failure () { + return [{ type: 'object', key: key, last: true }] + } + + var firstKey = reFirstKey.exec(key)[0] + if (!firstKey) return failure() + + var len = key.length + var pos = firstKey.length + var tail = { type: 'object', key: firstKey } + var steps = [tail] + + while (pos < len) { + var m + + if (key[pos] === '[' && key[pos + 1] === ']') { + pos += 2 + tail.append = true + if (pos !== len) return failure() + continue + } + + m = reDigitPath.exec(key.substring(pos)) + if (m !== null) { + pos += m[0].length + tail.nextType = 'array' + tail = { type: 'array', key: parseInt(m[1], 10) } + steps.push(tail) + continue + } + + m = reNormalPath.exec(key.substring(pos)) + if (m !== null) { + pos += m[0].length + tail.nextType = 'object' + tail = { type: 'object', key: m[1] } + steps.push(tail) + continue + } + + return failure() + } + + tail.last = true + return steps +} + +module.exports = parsePath diff --git a/node_backend/node_modules/append-field/lib/set-value.js b/node_backend/node_modules/append-field/lib/set-value.js new file mode 100644 index 0000000000000000000000000000000000000000..c15e87377bc84537acdceb74466320644592b72d --- /dev/null +++ b/node_backend/node_modules/append-field/lib/set-value.js @@ -0,0 +1,64 @@ +function valueType (value) { + if (value === undefined) return 'undefined' + if (Array.isArray(value)) return 'array' + if (typeof value === 'object') return 'object' + return 'scalar' +} + +function setLastValue (context, step, currentValue, entryValue) { + switch (valueType(currentValue)) { + case 'undefined': + if (step.append) { + context[step.key] = [entryValue] + } else { + context[step.key] = entryValue + } + break + case 'array': + context[step.key].push(entryValue) + break + case 'object': + return setLastValue(currentValue, { type: 'object', key: '', last: true }, currentValue[''], entryValue) + case 'scalar': + context[step.key] = [context[step.key], entryValue] + break + } + + return context +} + +function setValue (context, step, currentValue, entryValue) { + if (step.last) return setLastValue(context, step, currentValue, entryValue) + + var obj + switch (valueType(currentValue)) { + case 'undefined': + if (step.nextType === 'array') { + context[step.key] = [] + } else { + context[step.key] = Object.create(null) + } + return context[step.key] + case 'object': + return context[step.key] + case 'array': + if (step.nextType === 'array') { + return currentValue + } + + obj = Object.create(null) + context[step.key] = obj + currentValue.forEach(function (item, i) { + if (item !== undefined) obj['' + i] = item + }) + + return obj + case 'scalar': + obj = Object.create(null) + obj[''] = currentValue + context[step.key] = obj + return obj + } +} + +module.exports = setValue diff --git a/node_backend/node_modules/append-field/package.json b/node_backend/node_modules/append-field/package.json new file mode 100644 index 0000000000000000000000000000000000000000..8d6e716433ff4f99e99412f2e63523459dc0f9a8 --- /dev/null +++ b/node_backend/node_modules/append-field/package.json @@ -0,0 +1,19 @@ +{ + "name": "append-field", + "version": "1.0.0", + "license": "MIT", + "author": "Linus Unnebäck ", + "main": "index.js", + "devDependencies": { + "mocha": "^2.2.4", + "standard": "^6.0.5", + "testdata-w3c-json-form": "^0.2.0" + }, + "scripts": { + "test": "standard && mocha" + }, + "repository": { + "type": "git", + "url": "http://github.com/LinusU/node-append-field.git" + } +} diff --git a/node_backend/node_modules/append-field/test/forms.js b/node_backend/node_modules/append-field/test/forms.js new file mode 100644 index 0000000000000000000000000000000000000000..dd6fbc988e8b71f9cc438d5ddf114f8ad704216f --- /dev/null +++ b/node_backend/node_modules/append-field/test/forms.js @@ -0,0 +1,19 @@ +/* eslint-env mocha */ + +var assert = require('assert') +var appendField = require('../') +var testData = require('testdata-w3c-json-form') + +describe('Append Field', function () { + for (var test of testData) { + it('handles ' + test.name, function () { + var store = Object.create(null) + + for (var field of test.fields) { + appendField(store, field.key, field.value) + } + + assert.deepEqual(store, test.expected) + }) + } +}) diff --git a/Inscripciones_UAIE/node_backend/node_modules/aproba/CHANGELOG.md b/node_backend/node_modules/aproba/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/aproba/CHANGELOG.md rename to node_backend/node_modules/aproba/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/aproba/LICENSE b/node_backend/node_modules/aproba/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/aproba/LICENSE rename to node_backend/node_modules/aproba/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/aproba/README.md b/node_backend/node_modules/aproba/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/aproba/README.md rename to node_backend/node_modules/aproba/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/aproba/index.js b/node_backend/node_modules/aproba/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/aproba/index.js rename to node_backend/node_modules/aproba/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/aproba/package.json b/node_backend/node_modules/aproba/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/aproba/package.json rename to node_backend/node_modules/aproba/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/LICENSE.md b/node_backend/node_modules/are-we-there-yet/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/LICENSE.md rename to node_backend/node_modules/are-we-there-yet/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/README.md b/node_backend/node_modules/are-we-there-yet/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/README.md rename to node_backend/node_modules/are-we-there-yet/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/index.js b/node_backend/node_modules/are-we-there-yet/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/index.js rename to node_backend/node_modules/are-we-there-yet/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-base.js b/node_backend/node_modules/are-we-there-yet/lib/tracker-base.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-base.js rename to node_backend/node_modules/are-we-there-yet/lib/tracker-base.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-group.js b/node_backend/node_modules/are-we-there-yet/lib/tracker-group.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-group.js rename to node_backend/node_modules/are-we-there-yet/lib/tracker-group.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-stream.js b/node_backend/node_modules/are-we-there-yet/lib/tracker-stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker-stream.js rename to node_backend/node_modules/are-we-there-yet/lib/tracker-stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker.js b/node_backend/node_modules/are-we-there-yet/lib/tracker.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/lib/tracker.js rename to node_backend/node_modules/are-we-there-yet/lib/tracker.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/package.json b/node_backend/node_modules/are-we-there-yet/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/are-we-there-yet/package.json rename to node_backend/node_modules/are-we-there-yet/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/array-flatten/LICENSE b/node_backend/node_modules/array-flatten/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/array-flatten/LICENSE rename to node_backend/node_modules/array-flatten/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/array-flatten/README.md b/node_backend/node_modules/array-flatten/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/array-flatten/README.md rename to node_backend/node_modules/array-flatten/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/array-flatten/array-flatten.js b/node_backend/node_modules/array-flatten/array-flatten.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/array-flatten/array-flatten.js rename to node_backend/node_modules/array-flatten/array-flatten.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/array-flatten/package.json b/node_backend/node_modules/array-flatten/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/array-flatten/package.json rename to node_backend/node_modules/array-flatten/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/balanced-match/.github/FUNDING.yml b/node_backend/node_modules/balanced-match/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/balanced-match/.github/FUNDING.yml rename to node_backend/node_modules/balanced-match/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/balanced-match/LICENSE.md b/node_backend/node_modules/balanced-match/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/balanced-match/LICENSE.md rename to node_backend/node_modules/balanced-match/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/balanced-match/README.md b/node_backend/node_modules/balanced-match/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/balanced-match/README.md rename to node_backend/node_modules/balanced-match/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/balanced-match/index.js b/node_backend/node_modules/balanced-match/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/balanced-match/index.js rename to node_backend/node_modules/balanced-match/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/balanced-match/package.json b/node_backend/node_modules/balanced-match/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/balanced-match/package.json rename to node_backend/node_modules/balanced-match/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/.editorconfig b/node_backend/node_modules/bcrypt/.editorconfig similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/.editorconfig rename to node_backend/node_modules/bcrypt/.editorconfig diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/.github/workflows/ci.yaml b/node_backend/node_modules/bcrypt/.github/workflows/ci.yaml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/.github/workflows/ci.yaml rename to node_backend/node_modules/bcrypt/.github/workflows/ci.yaml diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/.travis.yml b/node_backend/node_modules/bcrypt/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/.travis.yml rename to node_backend/node_modules/bcrypt/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/CHANGELOG.md b/node_backend/node_modules/bcrypt/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/CHANGELOG.md rename to node_backend/node_modules/bcrypt/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/ISSUE_TEMPLATE.md b/node_backend/node_modules/bcrypt/ISSUE_TEMPLATE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/ISSUE_TEMPLATE.md rename to node_backend/node_modules/bcrypt/ISSUE_TEMPLATE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/LICENSE b/node_backend/node_modules/bcrypt/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/LICENSE rename to node_backend/node_modules/bcrypt/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/Makefile b/node_backend/node_modules/bcrypt/Makefile similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/Makefile rename to node_backend/node_modules/bcrypt/Makefile diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/README.md b/node_backend/node_modules/bcrypt/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/README.md rename to node_backend/node_modules/bcrypt/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/SECURITY.md b/node_backend/node_modules/bcrypt/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/SECURITY.md rename to node_backend/node_modules/bcrypt/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/appveyor.yml b/node_backend/node_modules/bcrypt/appveyor.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/appveyor.yml rename to node_backend/node_modules/bcrypt/appveyor.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/bcrypt.js b/node_backend/node_modules/bcrypt/bcrypt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/bcrypt.js rename to node_backend/node_modules/bcrypt/bcrypt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/binding.gyp b/node_backend/node_modules/bcrypt/binding.gyp similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/binding.gyp rename to node_backend/node_modules/bcrypt/binding.gyp diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/examples/async_compare.js b/node_backend/node_modules/bcrypt/examples/async_compare.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/examples/async_compare.js rename to node_backend/node_modules/bcrypt/examples/async_compare.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/examples/forever_gen_salt.js b/node_backend/node_modules/bcrypt/examples/forever_gen_salt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/examples/forever_gen_salt.js rename to node_backend/node_modules/bcrypt/examples/forever_gen_salt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node b/node_backend/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node rename to node_backend/node_modules/bcrypt/lib/binding/napi-v3/bcrypt_lib.node diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/package.json b/node_backend/node_modules/bcrypt/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/package.json rename to node_backend/node_modules/bcrypt/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/promises.js b/node_backend/node_modules/bcrypt/promises.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/promises.js rename to node_backend/node_modules/bcrypt/promises.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/bcrypt.cc b/node_backend/node_modules/bcrypt/src/bcrypt.cc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/bcrypt.cc rename to node_backend/node_modules/bcrypt/src/bcrypt.cc diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/bcrypt_node.cc b/node_backend/node_modules/bcrypt/src/bcrypt_node.cc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/bcrypt_node.cc rename to node_backend/node_modules/bcrypt/src/bcrypt_node.cc diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/blowfish.cc b/node_backend/node_modules/bcrypt/src/blowfish.cc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/blowfish.cc rename to node_backend/node_modules/bcrypt/src/blowfish.cc diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/node_blf.h b/node_backend/node_modules/bcrypt/src/node_blf.h similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/src/node_blf.h rename to node_backend/node_modules/bcrypt/src/node_blf.h diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test-docker.sh b/node_backend/node_modules/bcrypt/test-docker.sh similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test-docker.sh rename to node_backend/node_modules/bcrypt/test-docker.sh diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/async.test.js b/node_backend/node_modules/bcrypt/test/async.test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/async.test.js rename to node_backend/node_modules/bcrypt/test/async.test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/implementation.test.js b/node_backend/node_modules/bcrypt/test/implementation.test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/implementation.test.js rename to node_backend/node_modules/bcrypt/test/implementation.test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/promise.test.js b/node_backend/node_modules/bcrypt/test/promise.test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/promise.test.js rename to node_backend/node_modules/bcrypt/test/promise.test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/repetitions.test.js b/node_backend/node_modules/bcrypt/test/repetitions.test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/repetitions.test.js rename to node_backend/node_modules/bcrypt/test/repetitions.test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/sync.test.js b/node_backend/node_modules/bcrypt/test/sync.test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcrypt/test/sync.test.js rename to node_backend/node_modules/bcrypt/test/sync.test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.npmignore b/node_backend/node_modules/bcryptjs/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.npmignore rename to node_backend/node_modules/bcryptjs/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.travis.yml b/node_backend/node_modules/bcryptjs/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.travis.yml rename to node_backend/node_modules/bcryptjs/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.vscode/settings.json b/node_backend/node_modules/bcryptjs/.vscode/settings.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/.vscode/settings.json rename to node_backend/node_modules/bcryptjs/.vscode/settings.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/LICENSE b/node_backend/node_modules/bcryptjs/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/LICENSE rename to node_backend/node_modules/bcryptjs/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/README.md b/node_backend/node_modules/bcryptjs/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/README.md rename to node_backend/node_modules/bcryptjs/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/bin/bcrypt b/node_backend/node_modules/bcryptjs/bin/bcrypt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/bin/bcrypt rename to node_backend/node_modules/bcryptjs/bin/bcrypt diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/bower.json b/node_backend/node_modules/bcryptjs/bower.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/bower.json rename to node_backend/node_modules/bcryptjs/bower.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/README.md b/node_backend/node_modules/bcryptjs/dist/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/README.md rename to node_backend/node_modules/bcryptjs/dist/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.js b/node_backend/node_modules/bcryptjs/dist/bcrypt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.js rename to node_backend/node_modules/bcryptjs/dist/bcrypt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js b/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js rename to node_backend/node_modules/bcryptjs/dist/bcrypt.min.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js.gz b/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js.gz similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.js.gz rename to node_backend/node_modules/bcryptjs/dist/bcrypt.min.js.gz diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.map b/node_backend/node_modules/bcryptjs/dist/bcrypt.min.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/dist/bcrypt.min.map rename to node_backend/node_modules/bcryptjs/dist/bcrypt.min.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/externs/bcrypt.js b/node_backend/node_modules/bcryptjs/externs/bcrypt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/externs/bcrypt.js rename to node_backend/node_modules/bcryptjs/externs/bcrypt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/externs/minimal-env.js b/node_backend/node_modules/bcryptjs/externs/minimal-env.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/externs/minimal-env.js rename to node_backend/node_modules/bcryptjs/externs/minimal-env.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/index.js b/node_backend/node_modules/bcryptjs/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/index.js rename to node_backend/node_modules/bcryptjs/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/package.json b/node_backend/node_modules/bcryptjs/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/package.json rename to node_backend/node_modules/bcryptjs/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/scripts/build.js b/node_backend/node_modules/bcryptjs/scripts/build.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/scripts/build.js rename to node_backend/node_modules/bcryptjs/scripts/build.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt.js b/node_backend/node_modules/bcryptjs/src/bcrypt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt.js rename to node_backend/node_modules/bcryptjs/src/bcrypt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/impl.js b/node_backend/node_modules/bcryptjs/src/bcrypt/impl.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/impl.js rename to node_backend/node_modules/bcryptjs/src/bcrypt/impl.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/README.md b/node_backend/node_modules/bcryptjs/src/bcrypt/prng/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/README.md rename to node_backend/node_modules/bcryptjs/src/bcrypt/prng/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/accum.js b/node_backend/node_modules/bcryptjs/src/bcrypt/prng/accum.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/accum.js rename to node_backend/node_modules/bcryptjs/src/bcrypt/prng/accum.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/isaac.js b/node_backend/node_modules/bcryptjs/src/bcrypt/prng/isaac.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/prng/isaac.js rename to node_backend/node_modules/bcryptjs/src/bcrypt/prng/isaac.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/util.js b/node_backend/node_modules/bcryptjs/src/bcrypt/util.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/util.js rename to node_backend/node_modules/bcryptjs/src/bcrypt/util.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/util/base64.js b/node_backend/node_modules/bcryptjs/src/bcrypt/util/base64.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bcrypt/util/base64.js rename to node_backend/node_modules/bcryptjs/src/bcrypt/util/base64.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bower.json b/node_backend/node_modules/bcryptjs/src/bower.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/bower.json rename to node_backend/node_modules/bcryptjs/src/bower.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/wrap.js b/node_backend/node_modules/bcryptjs/src/wrap.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/src/wrap.js rename to node_backend/node_modules/bcryptjs/src/wrap.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/tests/quickbrown.txt b/node_backend/node_modules/bcryptjs/tests/quickbrown.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/tests/quickbrown.txt rename to node_backend/node_modules/bcryptjs/tests/quickbrown.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/bcryptjs/tests/suite.js b/node_backend/node_modules/bcryptjs/tests/suite.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bcryptjs/tests/suite.js rename to node_backend/node_modules/bcryptjs/tests/suite.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/HISTORY.md b/node_backend/node_modules/body-parser/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/HISTORY.md rename to node_backend/node_modules/body-parser/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/LICENSE b/node_backend/node_modules/body-parser/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/LICENSE rename to node_backend/node_modules/body-parser/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/README.md b/node_backend/node_modules/body-parser/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/README.md rename to node_backend/node_modules/body-parser/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/SECURITY.md b/node_backend/node_modules/body-parser/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/SECURITY.md rename to node_backend/node_modules/body-parser/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/index.js b/node_backend/node_modules/body-parser/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/index.js rename to node_backend/node_modules/body-parser/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/read.js b/node_backend/node_modules/body-parser/lib/read.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/read.js rename to node_backend/node_modules/body-parser/lib/read.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/json.js b/node_backend/node_modules/body-parser/lib/types/json.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/json.js rename to node_backend/node_modules/body-parser/lib/types/json.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/raw.js b/node_backend/node_modules/body-parser/lib/types/raw.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/raw.js rename to node_backend/node_modules/body-parser/lib/types/raw.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/text.js b/node_backend/node_modules/body-parser/lib/types/text.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/text.js rename to node_backend/node_modules/body-parser/lib/types/text.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/urlencoded.js b/node_backend/node_modules/body-parser/lib/types/urlencoded.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/lib/types/urlencoded.js rename to node_backend/node_modules/body-parser/lib/types/urlencoded.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/body-parser/package.json b/node_backend/node_modules/body-parser/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/body-parser/package.json rename to node_backend/node_modules/body-parser/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/brace-expansion/LICENSE b/node_backend/node_modules/brace-expansion/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/brace-expansion/LICENSE rename to node_backend/node_modules/brace-expansion/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/brace-expansion/README.md b/node_backend/node_modules/brace-expansion/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/brace-expansion/README.md rename to node_backend/node_modules/brace-expansion/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/brace-expansion/index.js b/node_backend/node_modules/brace-expansion/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/brace-expansion/index.js rename to node_backend/node_modules/brace-expansion/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/brace-expansion/package.json b/node_backend/node_modules/brace-expansion/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/brace-expansion/package.json rename to node_backend/node_modules/brace-expansion/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/LICENSE.md b/node_backend/node_modules/bson/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/LICENSE.md rename to node_backend/node_modules/bson/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/README.md b/node_backend/node_modules/bson/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/README.md rename to node_backend/node_modules/bson/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/bson.d.ts b/node_backend/node_modules/bson/bson.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/bson.d.ts rename to node_backend/node_modules/bson/bson.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/etc/prepare.js b/node_backend/node_modules/bson/etc/prepare.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/etc/prepare.js rename to node_backend/node_modules/bson/etc/prepare.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.bundle.js b/node_backend/node_modules/bson/lib/bson.bundle.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.bundle.js rename to node_backend/node_modules/bson/lib/bson.bundle.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.bundle.js.map b/node_backend/node_modules/bson/lib/bson.bundle.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.bundle.js.map rename to node_backend/node_modules/bson/lib/bson.bundle.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.cjs b/node_backend/node_modules/bson/lib/bson.cjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.cjs rename to node_backend/node_modules/bson/lib/bson.cjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.cjs.map b/node_backend/node_modules/bson/lib/bson.cjs.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.cjs.map rename to node_backend/node_modules/bson/lib/bson.cjs.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.mjs b/node_backend/node_modules/bson/lib/bson.mjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.mjs rename to node_backend/node_modules/bson/lib/bson.mjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.mjs.map b/node_backend/node_modules/bson/lib/bson.mjs.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.mjs.map rename to node_backend/node_modules/bson/lib/bson.mjs.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.rn.cjs b/node_backend/node_modules/bson/lib/bson.rn.cjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.rn.cjs rename to node_backend/node_modules/bson/lib/bson.rn.cjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.rn.cjs.map b/node_backend/node_modules/bson/lib/bson.rn.cjs.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/lib/bson.rn.cjs.map rename to node_backend/node_modules/bson/lib/bson.rn.cjs.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/package.json b/node_backend/node_modules/bson/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/package.json rename to node_backend/node_modules/bson/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/binary.ts b/node_backend/node_modules/bson/src/binary.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/binary.ts rename to node_backend/node_modules/bson/src/binary.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/bson.ts b/node_backend/node_modules/bson/src/bson.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/bson.ts rename to node_backend/node_modules/bson/src/bson.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/bson_value.ts b/node_backend/node_modules/bson/src/bson_value.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/bson_value.ts rename to node_backend/node_modules/bson/src/bson_value.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/code.ts b/node_backend/node_modules/bson/src/code.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/code.ts rename to node_backend/node_modules/bson/src/code.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/constants.ts b/node_backend/node_modules/bson/src/constants.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/constants.ts rename to node_backend/node_modules/bson/src/constants.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/db_ref.ts b/node_backend/node_modules/bson/src/db_ref.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/db_ref.ts rename to node_backend/node_modules/bson/src/db_ref.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/decimal128.ts b/node_backend/node_modules/bson/src/decimal128.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/decimal128.ts rename to node_backend/node_modules/bson/src/decimal128.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/double.ts b/node_backend/node_modules/bson/src/double.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/double.ts rename to node_backend/node_modules/bson/src/double.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/error.ts b/node_backend/node_modules/bson/src/error.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/error.ts rename to node_backend/node_modules/bson/src/error.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/extended_json.ts b/node_backend/node_modules/bson/src/extended_json.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/extended_json.ts rename to node_backend/node_modules/bson/src/extended_json.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/index.ts b/node_backend/node_modules/bson/src/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/index.ts rename to node_backend/node_modules/bson/src/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/int_32.ts b/node_backend/node_modules/bson/src/int_32.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/int_32.ts rename to node_backend/node_modules/bson/src/int_32.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/long.ts b/node_backend/node_modules/bson/src/long.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/long.ts rename to node_backend/node_modules/bson/src/long.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/max_key.ts b/node_backend/node_modules/bson/src/max_key.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/max_key.ts rename to node_backend/node_modules/bson/src/max_key.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/min_key.ts b/node_backend/node_modules/bson/src/min_key.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/min_key.ts rename to node_backend/node_modules/bson/src/min_key.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/objectid.ts b/node_backend/node_modules/bson/src/objectid.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/objectid.ts rename to node_backend/node_modules/bson/src/objectid.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parse_utf8.ts b/node_backend/node_modules/bson/src/parse_utf8.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parse_utf8.ts rename to node_backend/node_modules/bson/src/parse_utf8.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/calculate_size.ts b/node_backend/node_modules/bson/src/parser/calculate_size.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/calculate_size.ts rename to node_backend/node_modules/bson/src/parser/calculate_size.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/deserializer.ts b/node_backend/node_modules/bson/src/parser/deserializer.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/deserializer.ts rename to node_backend/node_modules/bson/src/parser/deserializer.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/on_demand/index.ts b/node_backend/node_modules/bson/src/parser/on_demand/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/on_demand/index.ts rename to node_backend/node_modules/bson/src/parser/on_demand/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/on_demand/parse_to_elements.ts b/node_backend/node_modules/bson/src/parser/on_demand/parse_to_elements.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/on_demand/parse_to_elements.ts rename to node_backend/node_modules/bson/src/parser/on_demand/parse_to_elements.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/serializer.ts b/node_backend/node_modules/bson/src/parser/serializer.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/serializer.ts rename to node_backend/node_modules/bson/src/parser/serializer.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/utils.ts b/node_backend/node_modules/bson/src/parser/utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/parser/utils.ts rename to node_backend/node_modules/bson/src/parser/utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/regexp.ts b/node_backend/node_modules/bson/src/regexp.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/regexp.ts rename to node_backend/node_modules/bson/src/regexp.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/symbol.ts b/node_backend/node_modules/bson/src/symbol.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/symbol.ts rename to node_backend/node_modules/bson/src/symbol.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/timestamp.ts b/node_backend/node_modules/bson/src/timestamp.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/timestamp.ts rename to node_backend/node_modules/bson/src/timestamp.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/byte_utils.ts b/node_backend/node_modules/bson/src/utils/byte_utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/byte_utils.ts rename to node_backend/node_modules/bson/src/utils/byte_utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/latin.ts b/node_backend/node_modules/bson/src/utils/latin.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/latin.ts rename to node_backend/node_modules/bson/src/utils/latin.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/node_byte_utils.ts b/node_backend/node_modules/bson/src/utils/node_byte_utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/node_byte_utils.ts rename to node_backend/node_modules/bson/src/utils/node_byte_utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/number_utils.ts b/node_backend/node_modules/bson/src/utils/number_utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/number_utils.ts rename to node_backend/node_modules/bson/src/utils/number_utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/string_utils.ts b/node_backend/node_modules/bson/src/utils/string_utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/string_utils.ts rename to node_backend/node_modules/bson/src/utils/string_utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/web_byte_utils.ts b/node_backend/node_modules/bson/src/utils/web_byte_utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/src/utils/web_byte_utils.ts rename to node_backend/node_modules/bson/src/utils/web_byte_utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/LICENSE-MIT.txt b/node_backend/node_modules/bson/vendor/base64/LICENSE-MIT.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/LICENSE-MIT.txt rename to node_backend/node_modules/bson/vendor/base64/LICENSE-MIT.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/README.md b/node_backend/node_modules/bson/vendor/base64/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/README.md rename to node_backend/node_modules/bson/vendor/base64/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/base64.js b/node_backend/node_modules/bson/vendor/base64/base64.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/base64.js rename to node_backend/node_modules/bson/vendor/base64/base64.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/package.json b/node_backend/node_modules/bson/vendor/base64/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/base64/package.json rename to node_backend/node_modules/bson/vendor/base64/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/LICENSE.md b/node_backend/node_modules/bson/vendor/text-encoding/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/LICENSE.md rename to node_backend/node_modules/bson/vendor/text-encoding/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/README.md b/node_backend/node_modules/bson/vendor/text-encoding/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/README.md rename to node_backend/node_modules/bson/vendor/text-encoding/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/index.js b/node_backend/node_modules/bson/vendor/text-encoding/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/index.js rename to node_backend/node_modules/bson/vendor/text-encoding/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js b/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js rename to node_backend/node_modules/bson/vendor/text-encoding/lib/encoding-indexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding.js b/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/lib/encoding.js rename to node_backend/node_modules/bson/vendor/text-encoding/lib/encoding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/package.json b/node_backend/node_modules/bson/vendor/text-encoding/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bson/vendor/text-encoding/package.json rename to node_backend/node_modules/bson/vendor/text-encoding/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/.npmignore b/node_backend/node_modules/buffer-equal-constant-time/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/.npmignore rename to node_backend/node_modules/buffer-equal-constant-time/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/.travis.yml b/node_backend/node_modules/buffer-equal-constant-time/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/.travis.yml rename to node_backend/node_modules/buffer-equal-constant-time/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/LICENSE.txt b/node_backend/node_modules/buffer-equal-constant-time/LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/LICENSE.txt rename to node_backend/node_modules/buffer-equal-constant-time/LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/README.md b/node_backend/node_modules/buffer-equal-constant-time/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/README.md rename to node_backend/node_modules/buffer-equal-constant-time/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/index.js b/node_backend/node_modules/buffer-equal-constant-time/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/index.js rename to node_backend/node_modules/buffer-equal-constant-time/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/package.json b/node_backend/node_modules/buffer-equal-constant-time/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/package.json rename to node_backend/node_modules/buffer-equal-constant-time/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/test.js b/node_backend/node_modules/buffer-equal-constant-time/test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/buffer-equal-constant-time/test.js rename to node_backend/node_modules/buffer-equal-constant-time/test.js diff --git a/node_backend/node_modules/buffer-from/LICENSE b/node_backend/node_modules/buffer-from/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..e4bf1d69b1bb0df5acf1278e583264acdc1eefc5 --- /dev/null +++ b/node_backend/node_modules/buffer-from/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2016, 2018 Linus Unnebäck + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_backend/node_modules/buffer-from/index.js b/node_backend/node_modules/buffer-from/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e1a58b5e8a06fd24ce5321aa6b08255dc9d0716d --- /dev/null +++ b/node_backend/node_modules/buffer-from/index.js @@ -0,0 +1,72 @@ +/* eslint-disable node/no-deprecated-api */ + +var toString = Object.prototype.toString + +var isModern = ( + typeof Buffer !== 'undefined' && + typeof Buffer.alloc === 'function' && + typeof Buffer.allocUnsafe === 'function' && + typeof Buffer.from === 'function' +) + +function isArrayBuffer (input) { + return toString.call(input).slice(8, -1) === 'ArrayBuffer' +} + +function fromArrayBuffer (obj, byteOffset, length) { + byteOffset >>>= 0 + + var maxLength = obj.byteLength - byteOffset + + if (maxLength < 0) { + throw new RangeError("'offset' is out of bounds") + } + + if (length === undefined) { + length = maxLength + } else { + length >>>= 0 + + if (length > maxLength) { + throw new RangeError("'length' is out of bounds") + } + } + + return isModern + ? Buffer.from(obj.slice(byteOffset, byteOffset + length)) + : new Buffer(new Uint8Array(obj.slice(byteOffset, byteOffset + length))) +} + +function fromString (string, encoding) { + if (typeof encoding !== 'string' || encoding === '') { + encoding = 'utf8' + } + + if (!Buffer.isEncoding(encoding)) { + throw new TypeError('"encoding" must be a valid string encoding') + } + + return isModern + ? Buffer.from(string, encoding) + : new Buffer(string, encoding) +} + +function bufferFrom (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('"value" argument must not be a number') + } + + if (isArrayBuffer(value)) { + return fromArrayBuffer(value, encodingOrOffset, length) + } + + if (typeof value === 'string') { + return fromString(value, encodingOrOffset) + } + + return isModern + ? Buffer.from(value) + : new Buffer(value) +} + +module.exports = bufferFrom diff --git a/node_backend/node_modules/buffer-from/package.json b/node_backend/node_modules/buffer-from/package.json new file mode 100644 index 0000000000000000000000000000000000000000..6ac5327bf8621ef03a3df8039518a98ba3d1648a --- /dev/null +++ b/node_backend/node_modules/buffer-from/package.json @@ -0,0 +1,19 @@ +{ + "name": "buffer-from", + "version": "1.1.2", + "license": "MIT", + "repository": "LinusU/buffer-from", + "files": [ + "index.js" + ], + "scripts": { + "test": "standard && node test" + }, + "devDependencies": { + "standard": "^12.0.1" + }, + "keywords": [ + "buffer", + "buffer from" + ] +} diff --git a/node_backend/node_modules/buffer-from/readme.md b/node_backend/node_modules/buffer-from/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..9880a558a7c91fefb0e6908318fbd991b6b93dcf --- /dev/null +++ b/node_backend/node_modules/buffer-from/readme.md @@ -0,0 +1,69 @@ +# Buffer From + +A [ponyfill](https://ponyfill.com) for `Buffer.from`, uses native implementation if available. + +## Installation + +```sh +npm install --save buffer-from +``` + +## Usage + +```js +const bufferFrom = require('buffer-from') + +console.log(bufferFrom([1, 2, 3, 4])) +//=> + +const arr = new Uint8Array([1, 2, 3, 4]) +console.log(bufferFrom(arr.buffer, 1, 2)) +//=> + +console.log(bufferFrom('test', 'utf8')) +//=> + +const buf = bufferFrom('test') +console.log(bufferFrom(buf)) +//=> +``` + +## API + +### bufferFrom(array) + +- `array` <Array> + +Allocates a new `Buffer` using an `array` of octets. + +### bufferFrom(arrayBuffer[, byteOffset[, length]]) + +- `arrayBuffer` <ArrayBuffer> The `.buffer` property of a TypedArray or ArrayBuffer +- `byteOffset` <Integer> Where to start copying from `arrayBuffer`. **Default:** `0` +- `length` <Integer> How many bytes to copy from `arrayBuffer`. **Default:** `arrayBuffer.length - byteOffset` + +When passed a reference to the `.buffer` property of a TypedArray instance, the +newly created `Buffer` will share the same allocated memory as the TypedArray. + +The optional `byteOffset` and `length` arguments specify a memory range within +the `arrayBuffer` that will be shared by the `Buffer`. + +### bufferFrom(buffer) + +- `buffer` <Buffer> An existing `Buffer` to copy data from + +Copies the passed `buffer` data onto a new `Buffer` instance. + +### bufferFrom(string[, encoding]) + +- `string` <String> A string to encode. +- `encoding` <String> The encoding of `string`. **Default:** `'utf8'` + +Creates a new `Buffer` containing the given JavaScript string `string`. If +provided, the `encoding` parameter identifies the character encoding of +`string`. + +## See also + +- [buffer-alloc](https://github.com/LinusU/buffer-alloc) A ponyfill for `Buffer.alloc` +- [buffer-alloc-unsafe](https://github.com/LinusU/buffer-alloc-unsafe) A ponyfill for `Buffer.allocUnsafe` diff --git a/node_backend/node_modules/busboy/.eslintrc.js b/node_backend/node_modules/busboy/.eslintrc.js new file mode 100644 index 0000000000000000000000000000000000000000..be9311d02655a22381f13078bfe868bcbd85b3a6 --- /dev/null +++ b/node_backend/node_modules/busboy/.eslintrc.js @@ -0,0 +1,5 @@ +'use strict'; + +module.exports = { + extends: '@mscdex/eslint-config', +}; diff --git a/node_backend/node_modules/busboy/.github/workflows/ci.yml b/node_backend/node_modules/busboy/.github/workflows/ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..799bae04adb62ae5b327afff21a37b8ab841ec2f --- /dev/null +++ b/node_backend/node_modules/busboy/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + pull_request: + push: + branches: [ master ] + +jobs: + tests-linux: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [10.16.0, 10.x, 12.x, 14.x, 16.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install module + run: npm install + - name: Run tests + run: npm test diff --git a/node_backend/node_modules/busboy/.github/workflows/lint.yml b/node_backend/node_modules/busboy/.github/workflows/lint.yml new file mode 100644 index 0000000000000000000000000000000000000000..9f9e1f589a30be583a860f928382b3033c38749d --- /dev/null +++ b/node_backend/node_modules/busboy/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: lint + +on: + pull_request: + push: + branches: [ master ] + +env: + NODE_VERSION: 16.x + +jobs: + lint-js: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ env.NODE_VERSION }} + uses: actions/setup-node@v1 + with: + node-version: ${{ env.NODE_VERSION }} + - name: Install ESLint + ESLint configs/plugins + run: npm install --only=dev + - name: Lint files + run: npm run lint diff --git a/node_backend/node_modules/busboy/LICENSE b/node_backend/node_modules/busboy/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..290762e94f4e2f2b52cc13ae4f2b63ac0269bfd1 --- /dev/null +++ b/node_backend/node_modules/busboy/LICENSE @@ -0,0 +1,19 @@ +Copyright Brian White. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. \ No newline at end of file diff --git a/node_backend/node_modules/busboy/README.md b/node_backend/node_modules/busboy/README.md new file mode 100644 index 0000000000000000000000000000000000000000..654af30455614e47ad22cf53d1235f7c928bf42a --- /dev/null +++ b/node_backend/node_modules/busboy/README.md @@ -0,0 +1,191 @@ +# Description + +A node.js module for parsing incoming HTML form data. + +Changes (breaking or otherwise) in v1.0.0 can be found [here](https://github.com/mscdex/busboy/issues/266). + +# Requirements + +* [node.js](http://nodejs.org/) -- v10.16.0 or newer + + +# Install + + npm install busboy + + +# Examples + +* Parsing (multipart) with default options: + +```js +const http = require('http'); + +const busboy = require('busboy'); + +http.createServer((req, res) => { + if (req.method === 'POST') { + console.log('POST request'); + const bb = busboy({ headers: req.headers }); + bb.on('file', (name, file, info) => { + const { filename, encoding, mimeType } = info; + console.log( + `File [${name}]: filename: %j, encoding: %j, mimeType: %j`, + filename, + encoding, + mimeType + ); + file.on('data', (data) => { + console.log(`File [${name}] got ${data.length} bytes`); + }).on('close', () => { + console.log(`File [${name}] done`); + }); + }); + bb.on('field', (name, val, info) => { + console.log(`Field [${name}]: value: %j`, val); + }); + bb.on('close', () => { + console.log('Done parsing form!'); + res.writeHead(303, { Connection: 'close', Location: '/' }); + res.end(); + }); + req.pipe(bb); + } else if (req.method === 'GET') { + res.writeHead(200, { Connection: 'close' }); + res.end(` + + + +
+
+
+ +
+ + + `); + } +}).listen(8000, () => { + console.log('Listening for requests'); +}); + +// Example output: +// +// Listening for requests +// < ... form submitted ... > +// POST request +// File [filefield]: filename: "logo.jpg", encoding: "binary", mime: "image/jpeg" +// File [filefield] got 11912 bytes +// Field [textfield]: value: "testing! :-)" +// File [filefield] done +// Done parsing form! +``` + +* Save all incoming files to disk: + +```js +const { randomFillSync } = require('crypto'); +const fs = require('fs'); +const http = require('http'); +const os = require('os'); +const path = require('path'); + +const busboy = require('busboy'); + +const random = (() => { + const buf = Buffer.alloc(16); + return () => randomFillSync(buf).toString('hex'); +})(); + +http.createServer((req, res) => { + if (req.method === 'POST') { + const bb = busboy({ headers: req.headers }); + bb.on('file', (name, file, info) => { + const saveTo = path.join(os.tmpdir(), `busboy-upload-${random()}`); + file.pipe(fs.createWriteStream(saveTo)); + }); + bb.on('close', () => { + res.writeHead(200, { 'Connection': 'close' }); + res.end(`That's all folks!`); + }); + req.pipe(bb); + return; + } + res.writeHead(404); + res.end(); +}).listen(8000, () => { + console.log('Listening for requests'); +}); +``` + + +# API + +## Exports + +`busboy` exports a single function: + +**( _function_ )**(< _object_ >config) - Creates and returns a new _Writable_ form parser stream. + +* Valid `config` properties: + + * **headers** - _object_ - These are the HTTP headers of the incoming request, which are used by individual parsers. + + * **highWaterMark** - _integer_ - highWaterMark to use for the parser stream. **Default:** node's _stream.Writable_ default. + + * **fileHwm** - _integer_ - highWaterMark to use for individual file streams. **Default:** node's _stream.Readable_ default. + + * **defCharset** - _string_ - Default character set to use when one isn't defined. **Default:** `'utf8'`. + + * **defParamCharset** - _string_ - For multipart forms, the default character set to use for values of part header parameters (e.g. filename) that are not extended parameters (that contain an explicit charset). **Default:** `'latin1'`. + + * **preservePath** - _boolean_ - If paths in filenames from file parts in a `'multipart/form-data'` request shall be preserved. **Default:** `false`. + + * **limits** - _object_ - Various limits on incoming data. Valid properties are: + + * **fieldNameSize** - _integer_ - Max field name size (in bytes). **Default:** `100`. + + * **fieldSize** - _integer_ - Max field value size (in bytes). **Default:** `1048576` (1MB). + + * **fields** - _integer_ - Max number of non-file fields. **Default:** `Infinity`. + + * **fileSize** - _integer_ - For multipart forms, the max file size (in bytes). **Default:** `Infinity`. + + * **files** - _integer_ - For multipart forms, the max number of file fields. **Default:** `Infinity`. + + * **parts** - _integer_ - For multipart forms, the max number of parts (fields + files). **Default:** `Infinity`. + + * **headerPairs** - _integer_ - For multipart forms, the max number of header key-value pairs to parse. **Default:** `2000` (same as node's http module). + +This function can throw exceptions if there is something wrong with the values in `config`. For example, if the Content-Type in `headers` is missing entirely, is not a supported type, or is missing the boundary for `'multipart/form-data'` requests. + +## (Special) Parser stream events + +* **file**(< _string_ >name, < _Readable_ >stream, < _object_ >info) - Emitted for each new file found. `name` contains the form field name. `stream` is a _Readable_ stream containing the file's data. No transformations/conversions (e.g. base64 to raw binary) are done on the file's data. `info` contains the following properties: + + * `filename` - _string_ - If supplied, this contains the file's filename. **WARNING:** You should almost _never_ use this value as-is (especially if you are using `preservePath: true` in your `config`) as it could contain malicious input. You are better off generating your own (safe) filenames, or at the very least using a hash of the filename. + + * `encoding` - _string_ - The file's `'Content-Transfer-Encoding'` value. + + * `mimeType` - _string_ - The file's `'Content-Type'` value. + + **Note:** If you listen for this event, you should always consume the `stream` whether you care about its contents or not (you can simply do `stream.resume();` if you want to discard/skip the contents), otherwise the `'finish'`/`'close'` event will never fire on the busboy parser stream. + However, if you aren't accepting files, you can either simply not listen for the `'file'` event at all or set `limits.files` to `0`, and any/all files will be automatically skipped (these skipped files will still count towards any configured `limits.files` and `limits.parts` limits though). + + **Note:** If a configured `limits.fileSize` limit was reached for a file, `stream` will both have a boolean property `truncated` set to `true` (best checked at the end of the stream) and emit a `'limit'` event to notify you when this happens. + +* **field**(< _string_ >name, < _string_ >value, < _object_ >info) - Emitted for each new non-file field found. `name` contains the form field name. `value` contains the string value of the field. `info` contains the following properties: + + * `nameTruncated` - _boolean_ - Whether `name` was truncated or not (due to a configured `limits.fieldNameSize` limit) + + * `valueTruncated` - _boolean_ - Whether `value` was truncated or not (due to a configured `limits.fieldSize` limit) + + * `encoding` - _string_ - The field's `'Content-Transfer-Encoding'` value. + + * `mimeType` - _string_ - The field's `'Content-Type'` value. + +* **partsLimit**() - Emitted when the configured `limits.parts` limit has been reached. No more `'file'` or `'field'` events will be emitted. + +* **filesLimit**() - Emitted when the configured `limits.files` limit has been reached. No more `'file'` events will be emitted. + +* **fieldsLimit**() - Emitted when the configured `limits.fields` limit has been reached. No more `'field'` events will be emitted. diff --git a/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-big.js b/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-big.js new file mode 100644 index 0000000000000000000000000000000000000000..ef15729ea65c38a6c470d7abe63211efb0945c22 --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-big.js @@ -0,0 +1,149 @@ +'use strict'; + +function createMultipartBuffers(boundary, sizes) { + const bufs = []; + for (let i = 0; i < sizes.length; ++i) { + const mb = sizes[i] * 1024 * 1024; + bufs.push(Buffer.from([ + `--${boundary}`, + `content-disposition: form-data; name="field${i + 1}"`, + '', + '0'.repeat(mb), + '', + ].join('\r\n'))); + } + bufs.push(Buffer.from([ + `--${boundary}--`, + '', + ].join('\r\n'))); + return bufs; +} + +const boundary = '-----------------------------168072824752491622650073'; +const buffers = createMultipartBuffers(boundary, [ + 10, + 10, + 10, + 20, + 50, +]); +const calls = { + partBegin: 0, + headerField: 0, + headerValue: 0, + headerEnd: 0, + headersEnd: 0, + partData: 0, + partEnd: 0, + end: 0, +}; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }, + }); + parser.on('field', (name, val, info) => { + ++calls.partBegin; + ++calls.partData; + ++calls.partEnd; + }).on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + break; + } + + case 'formidable': { + const { MultipartParser } = require('formidable'); + + const parser = new MultipartParser(); + parser.initWithBoundary(boundary); + parser.on('data', ({ name }) => { + ++calls[name]; + if (name === 'end') + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + + break; + } + + case 'multiparty': { + const { Readable } = require('stream'); + + const { Form } = require('multiparty'); + + const form = new Form({ + maxFieldsSize: Infinity, + maxFields: Infinity, + maxFilesSize: Infinity, + autoFields: false, + autoFiles: false, + }); + + const req = new Readable({ read: () => {} }); + req.headers = { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }; + + function hijack(name, fn) { + const oldFn = form[name]; + form[name] = function() { + fn(); + return oldFn.apply(this, arguments); + }; + } + + hijack('onParseHeaderField', () => { + ++calls.headerField; + }); + hijack('onParseHeaderValue', () => { + ++calls.headerValue; + }); + hijack('onParsePartBegin', () => { + ++calls.partBegin; + }); + hijack('onParsePartData', () => { + ++calls.partData; + }); + hijack('onParsePartEnd', () => { + ++calls.partEnd; + }); + + form.on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }).on('part', (p) => p.resume()); + + console.time(moduleName); + form.parse(req); + for (const buf of buffers) + req.push(buf); + req.push(null); + + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-small.js b/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-small.js new file mode 100644 index 0000000000000000000000000000000000000000..f32d421c735d323b2b0d7ef478b1d612a939b1a5 --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-multipart-fields-100mb-small.js @@ -0,0 +1,143 @@ +'use strict'; + +function createMultipartBuffers(boundary, sizes) { + const bufs = []; + for (let i = 0; i < sizes.length; ++i) { + const mb = sizes[i] * 1024 * 1024; + bufs.push(Buffer.from([ + `--${boundary}`, + `content-disposition: form-data; name="field${i + 1}"`, + '', + '0'.repeat(mb), + '', + ].join('\r\n'))); + } + bufs.push(Buffer.from([ + `--${boundary}--`, + '', + ].join('\r\n'))); + return bufs; +} + +const boundary = '-----------------------------168072824752491622650073'; +const buffers = createMultipartBuffers(boundary, (new Array(100)).fill(1)); +const calls = { + partBegin: 0, + headerField: 0, + headerValue: 0, + headerEnd: 0, + headersEnd: 0, + partData: 0, + partEnd: 0, + end: 0, +}; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }, + }); + parser.on('field', (name, val, info) => { + ++calls.partBegin; + ++calls.partData; + ++calls.partEnd; + }).on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + break; + } + + case 'formidable': { + const { MultipartParser } = require('formidable'); + + const parser = new MultipartParser(); + parser.initWithBoundary(boundary); + parser.on('data', ({ name }) => { + ++calls[name]; + if (name === 'end') + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + + break; + } + + case 'multiparty': { + const { Readable } = require('stream'); + + const { Form } = require('multiparty'); + + const form = new Form({ + maxFieldsSize: Infinity, + maxFields: Infinity, + maxFilesSize: Infinity, + autoFields: false, + autoFiles: false, + }); + + const req = new Readable({ read: () => {} }); + req.headers = { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }; + + function hijack(name, fn) { + const oldFn = form[name]; + form[name] = function() { + fn(); + return oldFn.apply(this, arguments); + }; + } + + hijack('onParseHeaderField', () => { + ++calls.headerField; + }); + hijack('onParseHeaderValue', () => { + ++calls.headerValue; + }); + hijack('onParsePartBegin', () => { + ++calls.partBegin; + }); + hijack('onParsePartData', () => { + ++calls.partData; + }); + hijack('onParsePartEnd', () => { + ++calls.partEnd; + }); + + form.on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }).on('part', (p) => p.resume()); + + console.time(moduleName); + form.parse(req); + for (const buf of buffers) + req.push(buf); + req.push(null); + + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-big.js b/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-big.js new file mode 100644 index 0000000000000000000000000000000000000000..b46bdee02cdded28483eb8bba655e56695abd6fa --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-big.js @@ -0,0 +1,154 @@ +'use strict'; + +function createMultipartBuffers(boundary, sizes) { + const bufs = []; + for (let i = 0; i < sizes.length; ++i) { + const mb = sizes[i] * 1024 * 1024; + bufs.push(Buffer.from([ + `--${boundary}`, + `content-disposition: form-data; name="file${i + 1}"; ` + + `filename="random${i + 1}.bin"`, + 'content-type: application/octet-stream', + '', + '0'.repeat(mb), + '', + ].join('\r\n'))); + } + bufs.push(Buffer.from([ + `--${boundary}--`, + '', + ].join('\r\n'))); + return bufs; +} + +const boundary = '-----------------------------168072824752491622650073'; +const buffers = createMultipartBuffers(boundary, [ + 10, + 10, + 10, + 20, + 50, +]); +const calls = { + partBegin: 0, + headerField: 0, + headerValue: 0, + headerEnd: 0, + headersEnd: 0, + partData: 0, + partEnd: 0, + end: 0, +}; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }, + }); + parser.on('file', (name, stream, info) => { + ++calls.partBegin; + stream.on('data', (chunk) => { + ++calls.partData; + }).on('end', () => { + ++calls.partEnd; + }); + }).on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + break; + } + + case 'formidable': { + const { MultipartParser } = require('formidable'); + + const parser = new MultipartParser(); + parser.initWithBoundary(boundary); + parser.on('data', ({ name }) => { + ++calls[name]; + if (name === 'end') + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + + break; + } + + case 'multiparty': { + const { Readable } = require('stream'); + + const { Form } = require('multiparty'); + + const form = new Form({ + maxFieldsSize: Infinity, + maxFields: Infinity, + maxFilesSize: Infinity, + autoFields: false, + autoFiles: false, + }); + + const req = new Readable({ read: () => {} }); + req.headers = { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }; + + function hijack(name, fn) { + const oldFn = form[name]; + form[name] = function() { + fn(); + return oldFn.apply(this, arguments); + }; + } + + hijack('onParseHeaderField', () => { + ++calls.headerField; + }); + hijack('onParseHeaderValue', () => { + ++calls.headerValue; + }); + hijack('onParsePartBegin', () => { + ++calls.partBegin; + }); + hijack('onParsePartData', () => { + ++calls.partData; + }); + hijack('onParsePartEnd', () => { + ++calls.partEnd; + }); + + form.on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }).on('part', (p) => p.resume()); + + console.time(moduleName); + form.parse(req); + for (const buf of buffers) + req.push(buf); + req.push(null); + + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-small.js b/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-small.js new file mode 100644 index 0000000000000000000000000000000000000000..46b5dffb0c74d8e06000f8ee453ecdb4b2d5a0ec --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-multipart-files-100mb-small.js @@ -0,0 +1,148 @@ +'use strict'; + +function createMultipartBuffers(boundary, sizes) { + const bufs = []; + for (let i = 0; i < sizes.length; ++i) { + const mb = sizes[i] * 1024 * 1024; + bufs.push(Buffer.from([ + `--${boundary}`, + `content-disposition: form-data; name="file${i + 1}"; ` + + `filename="random${i + 1}.bin"`, + 'content-type: application/octet-stream', + '', + '0'.repeat(mb), + '', + ].join('\r\n'))); + } + bufs.push(Buffer.from([ + `--${boundary}--`, + '', + ].join('\r\n'))); + return bufs; +} + +const boundary = '-----------------------------168072824752491622650073'; +const buffers = createMultipartBuffers(boundary, (new Array(100)).fill(1)); +const calls = { + partBegin: 0, + headerField: 0, + headerValue: 0, + headerEnd: 0, + headersEnd: 0, + partData: 0, + partEnd: 0, + end: 0, +}; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }, + }); + parser.on('file', (name, stream, info) => { + ++calls.partBegin; + stream.on('data', (chunk) => { + ++calls.partData; + }).on('end', () => { + ++calls.partEnd; + }); + }).on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + break; + } + + case 'formidable': { + const { MultipartParser } = require('formidable'); + + const parser = new MultipartParser(); + parser.initWithBoundary(boundary); + parser.on('data', ({ name }) => { + ++calls[name]; + if (name === 'end') + console.timeEnd(moduleName); + }); + + console.time(moduleName); + for (const buf of buffers) + parser.write(buf); + + break; + } + + case 'multiparty': { + const { Readable } = require('stream'); + + const { Form } = require('multiparty'); + + const form = new Form({ + maxFieldsSize: Infinity, + maxFields: Infinity, + maxFilesSize: Infinity, + autoFields: false, + autoFiles: false, + }); + + const req = new Readable({ read: () => {} }); + req.headers = { + 'content-type': `multipart/form-data; boundary=${boundary}`, + }; + + function hijack(name, fn) { + const oldFn = form[name]; + form[name] = function() { + fn(); + return oldFn.apply(this, arguments); + }; + } + + hijack('onParseHeaderField', () => { + ++calls.headerField; + }); + hijack('onParseHeaderValue', () => { + ++calls.headerValue; + }); + hijack('onParsePartBegin', () => { + ++calls.partBegin; + }); + hijack('onParsePartData', () => { + ++calls.partData; + }); + hijack('onParsePartEnd', () => { + ++calls.partEnd; + }); + + form.on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }).on('part', (p) => p.resume()); + + console.time(moduleName); + form.parse(req); + for (const buf of buffers) + req.push(buf); + req.push(null); + + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-100pairs-small.js b/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-100pairs-small.js new file mode 100644 index 0000000000000000000000000000000000000000..5c337df2ef951f6a36aabac8894211f06573ce6e --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-100pairs-small.js @@ -0,0 +1,101 @@ +'use strict'; + +const buffers = [ + Buffer.from( + (new Array(100)).fill('').map((_, i) => `key${i}=value${i}`).join('&') + ), +]; +const calls = { + field: 0, + end: 0, +}; + +let n = 3e3; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + console.time(moduleName); + (function next() { + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': 'application/x-www-form-urlencoded; charset=utf-8', + }, + }); + parser.on('field', (name, val, info) => { + ++calls.field; + }).on('close', () => { + ++calls.end; + if (--n === 0) + console.timeEnd(moduleName); + else + process.nextTick(next); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + })(); + break; + } + + case 'formidable': { + const QuerystringParser = + require('formidable/src/parsers/Querystring.js'); + + console.time(moduleName); + (function next() { + const parser = new QuerystringParser(); + parser.on('data', (obj) => { + ++calls.field; + }).on('end', () => { + ++calls.end; + if (--n === 0) + console.timeEnd(moduleName); + else + process.nextTick(next); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + })(); + break; + } + + case 'formidable-streaming': { + const QuerystringParser = + require('formidable/src/parsers/StreamingQuerystring.js'); + + console.time(moduleName); + (function next() { + const parser = new QuerystringParser(); + parser.on('data', (obj) => { + ++calls.field; + }).on('end', () => { + ++calls.end; + if (--n === 0) + console.timeEnd(moduleName); + else + process.nextTick(next); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + })(); + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-900pairs-small-alt.js b/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-900pairs-small-alt.js new file mode 100644 index 0000000000000000000000000000000000000000..1f5645cb8cc43fb299c3577027b2cf39b5d9c286 --- /dev/null +++ b/node_backend/node_modules/busboy/bench/bench-urlencoded-fields-900pairs-small-alt.js @@ -0,0 +1,84 @@ +'use strict'; + +const buffers = [ + Buffer.from( + (new Array(900)).fill('').map((_, i) => `key${i}=value${i}`).join('&') + ), +]; +const calls = { + field: 0, + end: 0, +}; + +const moduleName = process.argv[2]; +switch (moduleName) { + case 'busboy': { + const busboy = require('busboy'); + + console.time(moduleName); + const parser = busboy({ + limits: { + fieldSizeLimit: Infinity, + }, + headers: { + 'content-type': 'application/x-www-form-urlencoded; charset=utf-8', + }, + }); + parser.on('field', (name, val, info) => { + ++calls.field; + }).on('close', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + break; + } + + case 'formidable': { + const QuerystringParser = + require('formidable/src/parsers/Querystring.js'); + + console.time(moduleName); + const parser = new QuerystringParser(); + parser.on('data', (obj) => { + ++calls.field; + }).on('end', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + break; + } + + case 'formidable-streaming': { + const QuerystringParser = + require('formidable/src/parsers/StreamingQuerystring.js'); + + console.time(moduleName); + const parser = new QuerystringParser(); + parser.on('data', (obj) => { + ++calls.field; + }).on('end', () => { + ++calls.end; + console.timeEnd(moduleName); + }); + + for (const buf of buffers) + parser.write(buf); + parser.end(); + break; + } + + default: + if (moduleName === undefined) + console.error('Missing parser module name'); + else + console.error(`Invalid parser module name: ${moduleName}`); + process.exit(1); +} diff --git a/node_backend/node_modules/busboy/lib/index.js b/node_backend/node_modules/busboy/lib/index.js new file mode 100644 index 0000000000000000000000000000000000000000..873272d93cf34c7d3c973a8204a23f479c36655c --- /dev/null +++ b/node_backend/node_modules/busboy/lib/index.js @@ -0,0 +1,57 @@ +'use strict'; + +const { parseContentType } = require('./utils.js'); + +function getInstance(cfg) { + const headers = cfg.headers; + const conType = parseContentType(headers['content-type']); + if (!conType) + throw new Error('Malformed content type'); + + for (const type of TYPES) { + const matched = type.detect(conType); + if (!matched) + continue; + + const instanceCfg = { + limits: cfg.limits, + headers, + conType, + highWaterMark: undefined, + fileHwm: undefined, + defCharset: undefined, + defParamCharset: undefined, + preservePath: false, + }; + if (cfg.highWaterMark) + instanceCfg.highWaterMark = cfg.highWaterMark; + if (cfg.fileHwm) + instanceCfg.fileHwm = cfg.fileHwm; + instanceCfg.defCharset = cfg.defCharset; + instanceCfg.defParamCharset = cfg.defParamCharset; + instanceCfg.preservePath = cfg.preservePath; + return new type(instanceCfg); + } + + throw new Error(`Unsupported content type: ${headers['content-type']}`); +} + +// Note: types are explicitly listed here for easier bundling +// See: https://github.com/mscdex/busboy/issues/121 +const TYPES = [ + require('./types/multipart'), + require('./types/urlencoded'), +].filter(function(typemod) { return typeof typemod.detect === 'function'; }); + +module.exports = (cfg) => { + if (typeof cfg !== 'object' || cfg === null) + cfg = {}; + + if (typeof cfg.headers !== 'object' + || cfg.headers === null + || typeof cfg.headers['content-type'] !== 'string') { + throw new Error('Missing Content-Type'); + } + + return getInstance(cfg); +}; diff --git a/node_backend/node_modules/busboy/lib/types/multipart.js b/node_backend/node_modules/busboy/lib/types/multipart.js new file mode 100644 index 0000000000000000000000000000000000000000..cc0d7bb6638a12cb0572c95d515a10d6ddbb68cb --- /dev/null +++ b/node_backend/node_modules/busboy/lib/types/multipart.js @@ -0,0 +1,653 @@ +'use strict'; + +const { Readable, Writable } = require('stream'); + +const StreamSearch = require('streamsearch'); + +const { + basename, + convertToUTF8, + getDecoder, + parseContentType, + parseDisposition, +} = require('../utils.js'); + +const BUF_CRLF = Buffer.from('\r\n'); +const BUF_CR = Buffer.from('\r'); +const BUF_DASH = Buffer.from('-'); + +function noop() {} + +const MAX_HEADER_PAIRS = 2000; // From node +const MAX_HEADER_SIZE = 16 * 1024; // From node (its default value) + +const HPARSER_NAME = 0; +const HPARSER_PRE_OWS = 1; +const HPARSER_VALUE = 2; +class HeaderParser { + constructor(cb) { + this.header = Object.create(null); + this.pairCount = 0; + this.byteCount = 0; + this.state = HPARSER_NAME; + this.name = ''; + this.value = ''; + this.crlf = 0; + this.cb = cb; + } + + reset() { + this.header = Object.create(null); + this.pairCount = 0; + this.byteCount = 0; + this.state = HPARSER_NAME; + this.name = ''; + this.value = ''; + this.crlf = 0; + } + + push(chunk, pos, end) { + let start = pos; + while (pos < end) { + switch (this.state) { + case HPARSER_NAME: { + let done = false; + for (; pos < end; ++pos) { + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + const code = chunk[pos]; + if (TOKEN[code] !== 1) { + if (code !== 58/* ':' */) + return -1; + this.name += chunk.latin1Slice(start, pos); + if (this.name.length === 0) + return -1; + ++pos; + done = true; + this.state = HPARSER_PRE_OWS; + break; + } + } + if (!done) { + this.name += chunk.latin1Slice(start, pos); + break; + } + // FALLTHROUGH + } + case HPARSER_PRE_OWS: { + // Skip optional whitespace + let done = false; + for (; pos < end; ++pos) { + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + const code = chunk[pos]; + if (code !== 32/* ' ' */ && code !== 9/* '\t' */) { + start = pos; + done = true; + this.state = HPARSER_VALUE; + break; + } + } + if (!done) + break; + // FALLTHROUGH + } + case HPARSER_VALUE: + switch (this.crlf) { + case 0: // Nothing yet + for (; pos < end; ++pos) { + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + const code = chunk[pos]; + if (FIELD_VCHAR[code] !== 1) { + if (code !== 13/* '\r' */) + return -1; + ++this.crlf; + break; + } + } + this.value += chunk.latin1Slice(start, pos++); + break; + case 1: // Received CR + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + if (chunk[pos++] !== 10/* '\n' */) + return -1; + ++this.crlf; + break; + case 2: { // Received CR LF + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + const code = chunk[pos]; + if (code === 32/* ' ' */ || code === 9/* '\t' */) { + // Folded value + start = pos; + this.crlf = 0; + } else { + if (++this.pairCount < MAX_HEADER_PAIRS) { + this.name = this.name.toLowerCase(); + if (this.header[this.name] === undefined) + this.header[this.name] = [this.value]; + else + this.header[this.name].push(this.value); + } + if (code === 13/* '\r' */) { + ++this.crlf; + ++pos; + } else { + // Assume start of next header field name + start = pos; + this.crlf = 0; + this.state = HPARSER_NAME; + this.name = ''; + this.value = ''; + } + } + break; + } + case 3: { // Received CR LF CR + if (this.byteCount === MAX_HEADER_SIZE) + return -1; + ++this.byteCount; + if (chunk[pos++] !== 10/* '\n' */) + return -1; + // End of header + const header = this.header; + this.reset(); + this.cb(header); + return pos; + } + } + break; + } + } + + return pos; + } +} + +class FileStream extends Readable { + constructor(opts, owner) { + super(opts); + this.truncated = false; + this._readcb = null; + this.once('end', () => { + // We need to make sure that we call any outstanding _writecb() that is + // associated with this file so that processing of the rest of the form + // can continue. This may not happen if the file stream ends right after + // backpressure kicks in, so we force it here. + this._read(); + if (--owner._fileEndsLeft === 0 && owner._finalcb) { + const cb = owner._finalcb; + owner._finalcb = null; + // Make sure other 'end' event handlers get a chance to be executed + // before busboy's 'finish' event is emitted + process.nextTick(cb); + } + }); + } + _read(n) { + const cb = this._readcb; + if (cb) { + this._readcb = null; + cb(); + } + } +} + +const ignoreData = { + push: (chunk, pos) => {}, + destroy: () => {}, +}; + +function callAndUnsetCb(self, err) { + const cb = self._writecb; + self._writecb = null; + if (err) + self.destroy(err); + else if (cb) + cb(); +} + +function nullDecoder(val, hint) { + return val; +} + +class Multipart extends Writable { + constructor(cfg) { + const streamOpts = { + autoDestroy: true, + emitClose: true, + highWaterMark: (typeof cfg.highWaterMark === 'number' + ? cfg.highWaterMark + : undefined), + }; + super(streamOpts); + + if (!cfg.conType.params || typeof cfg.conType.params.boundary !== 'string') + throw new Error('Multipart: Boundary not found'); + + const boundary = cfg.conType.params.boundary; + const paramDecoder = (typeof cfg.defParamCharset === 'string' + && cfg.defParamCharset + ? getDecoder(cfg.defParamCharset) + : nullDecoder); + const defCharset = (cfg.defCharset || 'utf8'); + const preservePath = cfg.preservePath; + const fileOpts = { + autoDestroy: true, + emitClose: true, + highWaterMark: (typeof cfg.fileHwm === 'number' + ? cfg.fileHwm + : undefined), + }; + + const limits = cfg.limits; + const fieldSizeLimit = (limits && typeof limits.fieldSize === 'number' + ? limits.fieldSize + : 1 * 1024 * 1024); + const fileSizeLimit = (limits && typeof limits.fileSize === 'number' + ? limits.fileSize + : Infinity); + const filesLimit = (limits && typeof limits.files === 'number' + ? limits.files + : Infinity); + const fieldsLimit = (limits && typeof limits.fields === 'number' + ? limits.fields + : Infinity); + const partsLimit = (limits && typeof limits.parts === 'number' + ? limits.parts + : Infinity); + + let parts = -1; // Account for initial boundary + let fields = 0; + let files = 0; + let skipPart = false; + + this._fileEndsLeft = 0; + this._fileStream = undefined; + this._complete = false; + let fileSize = 0; + + let field; + let fieldSize = 0; + let partCharset; + let partEncoding; + let partType; + let partName; + let partTruncated = false; + + let hitFilesLimit = false; + let hitFieldsLimit = false; + + this._hparser = null; + const hparser = new HeaderParser((header) => { + this._hparser = null; + skipPart = false; + + partType = 'text/plain'; + partCharset = defCharset; + partEncoding = '7bit'; + partName = undefined; + partTruncated = false; + + let filename; + if (!header['content-disposition']) { + skipPart = true; + return; + } + + const disp = parseDisposition(header['content-disposition'][0], + paramDecoder); + if (!disp || disp.type !== 'form-data') { + skipPart = true; + return; + } + + if (disp.params) { + if (disp.params.name) + partName = disp.params.name; + + if (disp.params['filename*']) + filename = disp.params['filename*']; + else if (disp.params.filename) + filename = disp.params.filename; + + if (filename !== undefined && !preservePath) + filename = basename(filename); + } + + if (header['content-type']) { + const conType = parseContentType(header['content-type'][0]); + if (conType) { + partType = `${conType.type}/${conType.subtype}`; + if (conType.params && typeof conType.params.charset === 'string') + partCharset = conType.params.charset.toLowerCase(); + } + } + + if (header['content-transfer-encoding']) + partEncoding = header['content-transfer-encoding'][0].toLowerCase(); + + if (partType === 'application/octet-stream' || filename !== undefined) { + // File + + if (files === filesLimit) { + if (!hitFilesLimit) { + hitFilesLimit = true; + this.emit('filesLimit'); + } + skipPart = true; + return; + } + ++files; + + if (this.listenerCount('file') === 0) { + skipPart = true; + return; + } + + fileSize = 0; + this._fileStream = new FileStream(fileOpts, this); + ++this._fileEndsLeft; + this.emit( + 'file', + partName, + this._fileStream, + { filename, + encoding: partEncoding, + mimeType: partType } + ); + } else { + // Non-file + + if (fields === fieldsLimit) { + if (!hitFieldsLimit) { + hitFieldsLimit = true; + this.emit('fieldsLimit'); + } + skipPart = true; + return; + } + ++fields; + + if (this.listenerCount('field') === 0) { + skipPart = true; + return; + } + + field = []; + fieldSize = 0; + } + }); + + let matchPostBoundary = 0; + const ssCb = (isMatch, data, start, end, isDataSafe) => { +retrydata: + while (data) { + if (this._hparser !== null) { + const ret = this._hparser.push(data, start, end); + if (ret === -1) { + this._hparser = null; + hparser.reset(); + this.emit('error', new Error('Malformed part header')); + break; + } + start = ret; + } + + if (start === end) + break; + + if (matchPostBoundary !== 0) { + if (matchPostBoundary === 1) { + switch (data[start]) { + case 45: // '-' + // Try matching '--' after boundary + matchPostBoundary = 2; + ++start; + break; + case 13: // '\r' + // Try matching CR LF before header + matchPostBoundary = 3; + ++start; + break; + default: + matchPostBoundary = 0; + } + if (start === end) + return; + } + + if (matchPostBoundary === 2) { + matchPostBoundary = 0; + if (data[start] === 45/* '-' */) { + // End of multipart data + this._complete = true; + this._bparser = ignoreData; + return; + } + // We saw something other than '-', so put the dash we consumed + // "back" + const writecb = this._writecb; + this._writecb = noop; + ssCb(false, BUF_DASH, 0, 1, false); + this._writecb = writecb; + } else if (matchPostBoundary === 3) { + matchPostBoundary = 0; + if (data[start] === 10/* '\n' */) { + ++start; + if (parts >= partsLimit) + break; + // Prepare the header parser + this._hparser = hparser; + if (start === end) + break; + // Process the remaining data as a header + continue retrydata; + } else { + // We saw something other than LF, so put the CR we consumed + // "back" + const writecb = this._writecb; + this._writecb = noop; + ssCb(false, BUF_CR, 0, 1, false); + this._writecb = writecb; + } + } + } + + if (!skipPart) { + if (this._fileStream) { + let chunk; + const actualLen = Math.min(end - start, fileSizeLimit - fileSize); + if (!isDataSafe) { + chunk = Buffer.allocUnsafe(actualLen); + data.copy(chunk, 0, start, start + actualLen); + } else { + chunk = data.slice(start, start + actualLen); + } + + fileSize += chunk.length; + if (fileSize === fileSizeLimit) { + if (chunk.length > 0) + this._fileStream.push(chunk); + this._fileStream.emit('limit'); + this._fileStream.truncated = true; + skipPart = true; + } else if (!this._fileStream.push(chunk)) { + if (this._writecb) + this._fileStream._readcb = this._writecb; + this._writecb = null; + } + } else if (field !== undefined) { + let chunk; + const actualLen = Math.min( + end - start, + fieldSizeLimit - fieldSize + ); + if (!isDataSafe) { + chunk = Buffer.allocUnsafe(actualLen); + data.copy(chunk, 0, start, start + actualLen); + } else { + chunk = data.slice(start, start + actualLen); + } + + fieldSize += actualLen; + field.push(chunk); + if (fieldSize === fieldSizeLimit) { + skipPart = true; + partTruncated = true; + } + } + } + + break; + } + + if (isMatch) { + matchPostBoundary = 1; + + if (this._fileStream) { + // End the active file stream if the previous part was a file + this._fileStream.push(null); + this._fileStream = null; + } else if (field !== undefined) { + let data; + switch (field.length) { + case 0: + data = ''; + break; + case 1: + data = convertToUTF8(field[0], partCharset, 0); + break; + default: + data = convertToUTF8( + Buffer.concat(field, fieldSize), + partCharset, + 0 + ); + } + field = undefined; + fieldSize = 0; + this.emit( + 'field', + partName, + data, + { nameTruncated: false, + valueTruncated: partTruncated, + encoding: partEncoding, + mimeType: partType } + ); + } + + if (++parts === partsLimit) + this.emit('partsLimit'); + } + }; + this._bparser = new StreamSearch(`\r\n--${boundary}`, ssCb); + + this._writecb = null; + this._finalcb = null; + + // Just in case there is no preamble + this.write(BUF_CRLF); + } + + static detect(conType) { + return (conType.type === 'multipart' && conType.subtype === 'form-data'); + } + + _write(chunk, enc, cb) { + this._writecb = cb; + this._bparser.push(chunk, 0); + if (this._writecb) + callAndUnsetCb(this); + } + + _destroy(err, cb) { + this._hparser = null; + this._bparser = ignoreData; + if (!err) + err = checkEndState(this); + const fileStream = this._fileStream; + if (fileStream) { + this._fileStream = null; + fileStream.destroy(err); + } + cb(err); + } + + _final(cb) { + this._bparser.destroy(); + if (!this._complete) + return cb(new Error('Unexpected end of form')); + if (this._fileEndsLeft) + this._finalcb = finalcb.bind(null, this, cb); + else + finalcb(this, cb); + } +} + +function finalcb(self, cb, err) { + if (err) + return cb(err); + err = checkEndState(self); + cb(err); +} + +function checkEndState(self) { + if (self._hparser) + return new Error('Malformed part header'); + const fileStream = self._fileStream; + if (fileStream) { + self._fileStream = null; + fileStream.destroy(new Error('Unexpected end of file')); + } + if (!self._complete) + return new Error('Unexpected end of form'); +} + +const TOKEN = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +]; + +const FIELD_VCHAR = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +]; + +module.exports = Multipart; diff --git a/node_backend/node_modules/busboy/lib/types/urlencoded.js b/node_backend/node_modules/busboy/lib/types/urlencoded.js new file mode 100644 index 0000000000000000000000000000000000000000..5c463a25899a72ab94b17f0a29b937e0c0c3ee97 --- /dev/null +++ b/node_backend/node_modules/busboy/lib/types/urlencoded.js @@ -0,0 +1,350 @@ +'use strict'; + +const { Writable } = require('stream'); + +const { getDecoder } = require('../utils.js'); + +class URLEncoded extends Writable { + constructor(cfg) { + const streamOpts = { + autoDestroy: true, + emitClose: true, + highWaterMark: (typeof cfg.highWaterMark === 'number' + ? cfg.highWaterMark + : undefined), + }; + super(streamOpts); + + let charset = (cfg.defCharset || 'utf8'); + if (cfg.conType.params && typeof cfg.conType.params.charset === 'string') + charset = cfg.conType.params.charset; + + this.charset = charset; + + const limits = cfg.limits; + this.fieldSizeLimit = (limits && typeof limits.fieldSize === 'number' + ? limits.fieldSize + : 1 * 1024 * 1024); + this.fieldsLimit = (limits && typeof limits.fields === 'number' + ? limits.fields + : Infinity); + this.fieldNameSizeLimit = ( + limits && typeof limits.fieldNameSize === 'number' + ? limits.fieldNameSize + : 100 + ); + + this._inKey = true; + this._keyTrunc = false; + this._valTrunc = false; + this._bytesKey = 0; + this._bytesVal = 0; + this._fields = 0; + this._key = ''; + this._val = ''; + this._byte = -2; + this._lastPos = 0; + this._encode = 0; + this._decoder = getDecoder(charset); + } + + static detect(conType) { + return (conType.type === 'application' + && conType.subtype === 'x-www-form-urlencoded'); + } + + _write(chunk, enc, cb) { + if (this._fields >= this.fieldsLimit) + return cb(); + + let i = 0; + const len = chunk.length; + this._lastPos = 0; + + // Check if we last ended mid-percent-encoded byte + if (this._byte !== -2) { + i = readPctEnc(this, chunk, i, len); + if (i === -1) + return cb(new Error('Malformed urlencoded form')); + if (i >= len) + return cb(); + if (this._inKey) + ++this._bytesKey; + else + ++this._bytesVal; + } + +main: + while (i < len) { + if (this._inKey) { + // Parsing key + + i = skipKeyBytes(this, chunk, i, len); + + while (i < len) { + switch (chunk[i]) { + case 61: // '=' + if (this._lastPos < i) + this._key += chunk.latin1Slice(this._lastPos, i); + this._lastPos = ++i; + this._key = this._decoder(this._key, this._encode); + this._encode = 0; + this._inKey = false; + continue main; + case 38: // '&' + if (this._lastPos < i) + this._key += chunk.latin1Slice(this._lastPos, i); + this._lastPos = ++i; + this._key = this._decoder(this._key, this._encode); + this._encode = 0; + if (this._bytesKey > 0) { + this.emit( + 'field', + this._key, + '', + { nameTruncated: this._keyTrunc, + valueTruncated: false, + encoding: this.charset, + mimeType: 'text/plain' } + ); + } + this._key = ''; + this._val = ''; + this._keyTrunc = false; + this._valTrunc = false; + this._bytesKey = 0; + this._bytesVal = 0; + if (++this._fields >= this.fieldsLimit) { + this.emit('fieldsLimit'); + return cb(); + } + continue; + case 43: // '+' + if (this._lastPos < i) + this._key += chunk.latin1Slice(this._lastPos, i); + this._key += ' '; + this._lastPos = i + 1; + break; + case 37: // '%' + if (this._encode === 0) + this._encode = 1; + if (this._lastPos < i) + this._key += chunk.latin1Slice(this._lastPos, i); + this._lastPos = i + 1; + this._byte = -1; + i = readPctEnc(this, chunk, i + 1, len); + if (i === -1) + return cb(new Error('Malformed urlencoded form')); + if (i >= len) + return cb(); + ++this._bytesKey; + i = skipKeyBytes(this, chunk, i, len); + continue; + } + ++i; + ++this._bytesKey; + i = skipKeyBytes(this, chunk, i, len); + } + if (this._lastPos < i) + this._key += chunk.latin1Slice(this._lastPos, i); + } else { + // Parsing value + + i = skipValBytes(this, chunk, i, len); + + while (i < len) { + switch (chunk[i]) { + case 38: // '&' + if (this._lastPos < i) + this._val += chunk.latin1Slice(this._lastPos, i); + this._lastPos = ++i; + this._inKey = true; + this._val = this._decoder(this._val, this._encode); + this._encode = 0; + if (this._bytesKey > 0 || this._bytesVal > 0) { + this.emit( + 'field', + this._key, + this._val, + { nameTruncated: this._keyTrunc, + valueTruncated: this._valTrunc, + encoding: this.charset, + mimeType: 'text/plain' } + ); + } + this._key = ''; + this._val = ''; + this._keyTrunc = false; + this._valTrunc = false; + this._bytesKey = 0; + this._bytesVal = 0; + if (++this._fields >= this.fieldsLimit) { + this.emit('fieldsLimit'); + return cb(); + } + continue main; + case 43: // '+' + if (this._lastPos < i) + this._val += chunk.latin1Slice(this._lastPos, i); + this._val += ' '; + this._lastPos = i + 1; + break; + case 37: // '%' + if (this._encode === 0) + this._encode = 1; + if (this._lastPos < i) + this._val += chunk.latin1Slice(this._lastPos, i); + this._lastPos = i + 1; + this._byte = -1; + i = readPctEnc(this, chunk, i + 1, len); + if (i === -1) + return cb(new Error('Malformed urlencoded form')); + if (i >= len) + return cb(); + ++this._bytesVal; + i = skipValBytes(this, chunk, i, len); + continue; + } + ++i; + ++this._bytesVal; + i = skipValBytes(this, chunk, i, len); + } + if (this._lastPos < i) + this._val += chunk.latin1Slice(this._lastPos, i); + } + } + + cb(); + } + + _final(cb) { + if (this._byte !== -2) + return cb(new Error('Malformed urlencoded form')); + if (!this._inKey || this._bytesKey > 0 || this._bytesVal > 0) { + if (this._inKey) + this._key = this._decoder(this._key, this._encode); + else + this._val = this._decoder(this._val, this._encode); + this.emit( + 'field', + this._key, + this._val, + { nameTruncated: this._keyTrunc, + valueTruncated: this._valTrunc, + encoding: this.charset, + mimeType: 'text/plain' } + ); + } + cb(); + } +} + +function readPctEnc(self, chunk, pos, len) { + if (pos >= len) + return len; + + if (self._byte === -1) { + // We saw a '%' but no hex characters yet + const hexUpper = HEX_VALUES[chunk[pos++]]; + if (hexUpper === -1) + return -1; + + if (hexUpper >= 8) + self._encode = 2; // Indicate high bits detected + + if (pos < len) { + // Both hex characters are in this chunk + const hexLower = HEX_VALUES[chunk[pos++]]; + if (hexLower === -1) + return -1; + + if (self._inKey) + self._key += String.fromCharCode((hexUpper << 4) + hexLower); + else + self._val += String.fromCharCode((hexUpper << 4) + hexLower); + + self._byte = -2; + self._lastPos = pos; + } else { + // Only one hex character was available in this chunk + self._byte = hexUpper; + } + } else { + // We saw only one hex character so far + const hexLower = HEX_VALUES[chunk[pos++]]; + if (hexLower === -1) + return -1; + + if (self._inKey) + self._key += String.fromCharCode((self._byte << 4) + hexLower); + else + self._val += String.fromCharCode((self._byte << 4) + hexLower); + + self._byte = -2; + self._lastPos = pos; + } + + return pos; +} + +function skipKeyBytes(self, chunk, pos, len) { + // Skip bytes if we've truncated + if (self._bytesKey > self.fieldNameSizeLimit) { + if (!self._keyTrunc) { + if (self._lastPos < pos) + self._key += chunk.latin1Slice(self._lastPos, pos - 1); + } + self._keyTrunc = true; + for (; pos < len; ++pos) { + const code = chunk[pos]; + if (code === 61/* '=' */ || code === 38/* '&' */) + break; + ++self._bytesKey; + } + self._lastPos = pos; + } + + return pos; +} + +function skipValBytes(self, chunk, pos, len) { + // Skip bytes if we've truncated + if (self._bytesVal > self.fieldSizeLimit) { + if (!self._valTrunc) { + if (self._lastPos < pos) + self._val += chunk.latin1Slice(self._lastPos, pos - 1); + } + self._valTrunc = true; + for (; pos < len; ++pos) { + if (chunk[pos] === 38/* '&' */) + break; + ++self._bytesVal; + } + self._lastPos = pos; + } + + return pos; +} + +/* eslint-disable no-multi-spaces */ +const HEX_VALUES = [ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, + -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, +]; +/* eslint-enable no-multi-spaces */ + +module.exports = URLEncoded; diff --git a/node_backend/node_modules/busboy/lib/utils.js b/node_backend/node_modules/busboy/lib/utils.js new file mode 100644 index 0000000000000000000000000000000000000000..8274f6c3aef47ad929b2e2a4772c23fd6f0644d8 --- /dev/null +++ b/node_backend/node_modules/busboy/lib/utils.js @@ -0,0 +1,596 @@ +'use strict'; + +function parseContentType(str) { + if (str.length === 0) + return; + + const params = Object.create(null); + let i = 0; + + // Parse type + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + if (code !== 47/* '/' */ || i === 0) + return; + break; + } + } + // Check for type without subtype + if (i === str.length) + return; + + const type = str.slice(0, i).toLowerCase(); + + // Parse subtype + const subtypeStart = ++i; + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + // Make sure we have a subtype + if (i === subtypeStart) + return; + + if (parseContentTypeParams(str, i, params) === undefined) + return; + break; + } + } + // Make sure we have a subtype + if (i === subtypeStart) + return; + + const subtype = str.slice(subtypeStart, i).toLowerCase(); + + return { type, subtype, params }; +} + +function parseContentTypeParams(str, i, params) { + while (i < str.length) { + // Consume whitespace + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code !== 32/* ' ' */ && code !== 9/* '\t' */) + break; + } + + // Ended on whitespace + if (i === str.length) + break; + + // Check for malformed parameter + if (str.charCodeAt(i++) !== 59/* ';' */) + return; + + // Consume whitespace + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code !== 32/* ' ' */ && code !== 9/* '\t' */) + break; + } + + // Ended on whitespace (malformed) + if (i === str.length) + return; + + let name; + const nameStart = i; + // Parse parameter name + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + if (code !== 61/* '=' */) + return; + break; + } + } + + // No value (malformed) + if (i === str.length) + return; + + name = str.slice(nameStart, i); + ++i; // Skip over '=' + + // No value (malformed) + if (i === str.length) + return; + + let value = ''; + let valueStart; + if (str.charCodeAt(i) === 34/* '"' */) { + valueStart = ++i; + let escaping = false; + // Parse quoted value + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code === 92/* '\\' */) { + if (escaping) { + valueStart = i; + escaping = false; + } else { + value += str.slice(valueStart, i); + escaping = true; + } + continue; + } + if (code === 34/* '"' */) { + if (escaping) { + valueStart = i; + escaping = false; + continue; + } + value += str.slice(valueStart, i); + break; + } + if (escaping) { + valueStart = i - 1; + escaping = false; + } + // Invalid unescaped quoted character (malformed) + if (QDTEXT[code] !== 1) + return; + } + + // No end quote (malformed) + if (i === str.length) + return; + + ++i; // Skip over double quote + } else { + valueStart = i; + // Parse unquoted value + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + // No value (malformed) + if (i === valueStart) + return; + break; + } + } + value = str.slice(valueStart, i); + } + + name = name.toLowerCase(); + if (params[name] === undefined) + params[name] = value; + } + + return params; +} + +function parseDisposition(str, defDecoder) { + if (str.length === 0) + return; + + const params = Object.create(null); + let i = 0; + + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + if (parseDispositionParams(str, i, params, defDecoder) === undefined) + return; + break; + } + } + + const type = str.slice(0, i).toLowerCase(); + + return { type, params }; +} + +function parseDispositionParams(str, i, params, defDecoder) { + while (i < str.length) { + // Consume whitespace + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code !== 32/* ' ' */ && code !== 9/* '\t' */) + break; + } + + // Ended on whitespace + if (i === str.length) + break; + + // Check for malformed parameter + if (str.charCodeAt(i++) !== 59/* ';' */) + return; + + // Consume whitespace + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code !== 32/* ' ' */ && code !== 9/* '\t' */) + break; + } + + // Ended on whitespace (malformed) + if (i === str.length) + return; + + let name; + const nameStart = i; + // Parse parameter name + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + if (code === 61/* '=' */) + break; + return; + } + } + + // No value (malformed) + if (i === str.length) + return; + + let value = ''; + let valueStart; + let charset; + //~ let lang; + name = str.slice(nameStart, i); + if (name.charCodeAt(name.length - 1) === 42/* '*' */) { + // Extended value + + const charsetStart = ++i; + // Parse charset name + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (CHARSET[code] !== 1) { + if (code !== 39/* '\'' */) + return; + break; + } + } + + // Incomplete charset (malformed) + if (i === str.length) + return; + + charset = str.slice(charsetStart, i); + ++i; // Skip over the '\'' + + //~ const langStart = ++i; + // Parse language name + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code === 39/* '\'' */) + break; + } + + // Incomplete language (malformed) + if (i === str.length) + return; + + //~ lang = str.slice(langStart, i); + ++i; // Skip over the '\'' + + // No value (malformed) + if (i === str.length) + return; + + valueStart = i; + + let encode = 0; + // Parse value + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (EXTENDED_VALUE[code] !== 1) { + if (code === 37/* '%' */) { + let hexUpper; + let hexLower; + if (i + 2 < str.length + && (hexUpper = HEX_VALUES[str.charCodeAt(i + 1)]) !== -1 + && (hexLower = HEX_VALUES[str.charCodeAt(i + 2)]) !== -1) { + const byteVal = (hexUpper << 4) + hexLower; + value += str.slice(valueStart, i); + value += String.fromCharCode(byteVal); + i += 2; + valueStart = i + 1; + if (byteVal >= 128) + encode = 2; + else if (encode === 0) + encode = 1; + continue; + } + // '%' disallowed in non-percent encoded contexts (malformed) + return; + } + break; + } + } + + value += str.slice(valueStart, i); + value = convertToUTF8(value, charset, encode); + if (value === undefined) + return; + } else { + // Non-extended value + + ++i; // Skip over '=' + + // No value (malformed) + if (i === str.length) + return; + + if (str.charCodeAt(i) === 34/* '"' */) { + valueStart = ++i; + let escaping = false; + // Parse quoted value + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (code === 92/* '\\' */) { + if (escaping) { + valueStart = i; + escaping = false; + } else { + value += str.slice(valueStart, i); + escaping = true; + } + continue; + } + if (code === 34/* '"' */) { + if (escaping) { + valueStart = i; + escaping = false; + continue; + } + value += str.slice(valueStart, i); + break; + } + if (escaping) { + valueStart = i - 1; + escaping = false; + } + // Invalid unescaped quoted character (malformed) + if (QDTEXT[code] !== 1) + return; + } + + // No end quote (malformed) + if (i === str.length) + return; + + ++i; // Skip over double quote + } else { + valueStart = i; + // Parse unquoted value + for (; i < str.length; ++i) { + const code = str.charCodeAt(i); + if (TOKEN[code] !== 1) { + // No value (malformed) + if (i === valueStart) + return; + break; + } + } + value = str.slice(valueStart, i); + } + + value = defDecoder(value, 2); + if (value === undefined) + return; + } + + name = name.toLowerCase(); + if (params[name] === undefined) + params[name] = value; + } + + return params; +} + +function getDecoder(charset) { + let lc; + while (true) { + switch (charset) { + case 'utf-8': + case 'utf8': + return decoders.utf8; + case 'latin1': + case 'ascii': // TODO: Make these a separate, strict decoder? + case 'us-ascii': + case 'iso-8859-1': + case 'iso8859-1': + case 'iso88591': + case 'iso_8859-1': + case 'windows-1252': + case 'iso_8859-1:1987': + case 'cp1252': + case 'x-cp1252': + return decoders.latin1; + case 'utf16le': + case 'utf-16le': + case 'ucs2': + case 'ucs-2': + return decoders.utf16le; + case 'base64': + return decoders.base64; + default: + if (lc === undefined) { + lc = true; + charset = charset.toLowerCase(); + continue; + } + return decoders.other.bind(charset); + } + } +} + +const decoders = { + utf8: (data, hint) => { + if (data.length === 0) + return ''; + if (typeof data === 'string') { + // If `data` never had any percent-encoded bytes or never had any that + // were outside of the ASCII range, then we can safely just return the + // input since UTF-8 is ASCII compatible + if (hint < 2) + return data; + + data = Buffer.from(data, 'latin1'); + } + return data.utf8Slice(0, data.length); + }, + + latin1: (data, hint) => { + if (data.length === 0) + return ''; + if (typeof data === 'string') + return data; + return data.latin1Slice(0, data.length); + }, + + utf16le: (data, hint) => { + if (data.length === 0) + return ''; + if (typeof data === 'string') + data = Buffer.from(data, 'latin1'); + return data.ucs2Slice(0, data.length); + }, + + base64: (data, hint) => { + if (data.length === 0) + return ''; + if (typeof data === 'string') + data = Buffer.from(data, 'latin1'); + return data.base64Slice(0, data.length); + }, + + other: (data, hint) => { + if (data.length === 0) + return ''; + if (typeof data === 'string') + data = Buffer.from(data, 'latin1'); + try { + const decoder = new TextDecoder(this); + return decoder.decode(data); + } catch {} + }, +}; + +function convertToUTF8(data, charset, hint) { + const decode = getDecoder(charset); + if (decode) + return decode(data, hint); +} + +function basename(path) { + if (typeof path !== 'string') + return ''; + for (let i = path.length - 1; i >= 0; --i) { + switch (path.charCodeAt(i)) { + case 0x2F: // '/' + case 0x5C: // '\' + path = path.slice(i + 1); + return (path === '..' || path === '.' ? '' : path); + } + } + return (path === '..' || path === '.' ? '' : path); +} + +const TOKEN = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +]; + +const QDTEXT = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +]; + +const CHARSET = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +]; + +const EXTENDED_VALUE = [ + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 1, 0, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 0, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, + 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, + 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, +]; + +/* eslint-disable no-multi-spaces */ +const HEX_VALUES = [ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1, + -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, +]; +/* eslint-enable no-multi-spaces */ + +module.exports = { + basename, + convertToUTF8, + getDecoder, + parseContentType, + parseDisposition, +}; diff --git a/node_backend/node_modules/busboy/package.json b/node_backend/node_modules/busboy/package.json new file mode 100644 index 0000000000000000000000000000000000000000..ac2577fe2c5873d1f171955eecce4caa5578fdbd --- /dev/null +++ b/node_backend/node_modules/busboy/package.json @@ -0,0 +1,22 @@ +{ "name": "busboy", + "version": "1.6.0", + "author": "Brian White ", + "description": "A streaming parser for HTML form data for node.js", + "main": "./lib/index.js", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "devDependencies": { + "@mscdex/eslint-config": "^1.1.0", + "eslint": "^7.32.0" + }, + "scripts": { + "test": "node test/test.js", + "lint": "eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib test bench", + "lint:fix": "npm run lint -- --fix" + }, + "engines": { "node": ">=10.16.0" }, + "keywords": [ "uploads", "forms", "multipart", "form-data" ], + "licenses": [ { "type": "MIT", "url": "http://github.com/mscdex/busboy/raw/master/LICENSE" } ], + "repository": { "type": "git", "url": "http://github.com/mscdex/busboy.git" } +} diff --git a/node_backend/node_modules/busboy/test/common.js b/node_backend/node_modules/busboy/test/common.js new file mode 100644 index 0000000000000000000000000000000000000000..fb82ad81b1b9ef0e07164e6bfecd8391264ef2c2 --- /dev/null +++ b/node_backend/node_modules/busboy/test/common.js @@ -0,0 +1,109 @@ +'use strict'; + +const assert = require('assert'); +const { inspect } = require('util'); + +const mustCallChecks = []; + +function noop() {} + +function runCallChecks(exitCode) { + if (exitCode !== 0) return; + + const failed = mustCallChecks.filter((context) => { + if ('minimum' in context) { + context.messageSegment = `at least ${context.minimum}`; + return context.actual < context.minimum; + } + context.messageSegment = `exactly ${context.exact}`; + return context.actual !== context.exact; + }); + + failed.forEach((context) => { + console.error('Mismatched %s function calls. Expected %s, actual %d.', + context.name, + context.messageSegment, + context.actual); + console.error(context.stack.split('\n').slice(2).join('\n')); + }); + + if (failed.length) + process.exit(1); +} + +function mustCall(fn, exact) { + return _mustCallInner(fn, exact, 'exact'); +} + +function mustCallAtLeast(fn, minimum) { + return _mustCallInner(fn, minimum, 'minimum'); +} + +function _mustCallInner(fn, criteria = 1, field) { + if (process._exiting) + throw new Error('Cannot use common.mustCall*() in process exit handler'); + + if (typeof fn === 'number') { + criteria = fn; + fn = noop; + } else if (fn === undefined) { + fn = noop; + } + + if (typeof criteria !== 'number') + throw new TypeError(`Invalid ${field} value: ${criteria}`); + + const context = { + [field]: criteria, + actual: 0, + stack: inspect(new Error()), + name: fn.name || '' + }; + + // Add the exit listener only once to avoid listener leak warnings + if (mustCallChecks.length === 0) + process.on('exit', runCallChecks); + + mustCallChecks.push(context); + + function wrapped(...args) { + ++context.actual; + return fn.call(this, ...args); + } + // TODO: remove origFn? + wrapped.origFn = fn; + + return wrapped; +} + +function getCallSite(top) { + const originalStackFormatter = Error.prepareStackTrace; + Error.prepareStackTrace = (err, stack) => + `${stack[0].getFileName()}:${stack[0].getLineNumber()}`; + const err = new Error(); + Error.captureStackTrace(err, top); + // With the V8 Error API, the stack is not formatted until it is accessed + // eslint-disable-next-line no-unused-expressions + err.stack; + Error.prepareStackTrace = originalStackFormatter; + return err.stack; +} + +function mustNotCall(msg) { + const callSite = getCallSite(mustNotCall); + return function mustNotCall(...args) { + args = args.map(inspect).join(', '); + const argsInfo = (args.length > 0 + ? `\ncalled with arguments: ${args}` + : ''); + assert.fail( + `${msg || 'function should not have been called'} at ${callSite}` + + argsInfo); + }; +} + +module.exports = { + mustCall, + mustCallAtLeast, + mustNotCall, +}; diff --git a/node_backend/node_modules/busboy/test/test-types-multipart-charsets.js b/node_backend/node_modules/busboy/test/test-types-multipart-charsets.js new file mode 100644 index 0000000000000000000000000000000000000000..ed9c38aeb6c1f3f85c9eb0efa071349504dbfde6 --- /dev/null +++ b/node_backend/node_modules/busboy/test/test-types-multipart-charsets.js @@ -0,0 +1,94 @@ +'use strict'; + +const assert = require('assert'); +const { inspect } = require('util'); + +const { mustCall } = require(`${__dirname}/common.js`); + +const busboy = require('..'); + +const input = Buffer.from([ + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="テスト.dat"', + 'Content-Type: application/octet-stream', + '', + 'A'.repeat(1023), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' +].join('\r\n')); +const boundary = '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k'; +const expected = [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('A'.repeat(1023)), + info: { + filename: 'テスト.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, +]; +const bb = busboy({ + defParamCharset: 'utf8', + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + } +}); +const results = []; + +bb.on('field', (name, val, info) => { + results.push({ type: 'field', name, val, info }); +}); + +bb.on('file', (name, stream, info) => { + const data = []; + let nb = 0; + const file = { + type: 'file', + name, + data: null, + info, + limited: false, + }; + results.push(file); + stream.on('data', (d) => { + data.push(d); + nb += d.length; + }).on('limit', () => { + file.limited = true; + }).on('close', () => { + file.data = Buffer.concat(data, nb); + assert.strictEqual(stream.truncated, file.limited); + }).once('error', (err) => { + file.err = err.message; + }); +}); + +bb.on('error', (err) => { + results.push({ error: err.message }); +}); + +bb.on('partsLimit', () => { + results.push('partsLimit'); +}); + +bb.on('filesLimit', () => { + results.push('filesLimit'); +}); + +bb.on('fieldsLimit', () => { + results.push('fieldsLimit'); +}); + +bb.on('close', mustCall(() => { + assert.deepStrictEqual( + results, + expected, + 'Results mismatch.\n' + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(expected)}` + ); +})); + +bb.end(input); diff --git a/node_backend/node_modules/busboy/test/test-types-multipart-stream-pause.js b/node_backend/node_modules/busboy/test/test-types-multipart-stream-pause.js new file mode 100644 index 0000000000000000000000000000000000000000..df7268a4b17f73af6e1087785e45a8fec2445703 --- /dev/null +++ b/node_backend/node_modules/busboy/test/test-types-multipart-stream-pause.js @@ -0,0 +1,102 @@ +'use strict'; + +const assert = require('assert'); +const { randomFillSync } = require('crypto'); +const { inspect } = require('util'); + +const busboy = require('..'); + +const { mustCall } = require('./common.js'); + +const BOUNDARY = 'u2KxIV5yF1y+xUspOQCCZopaVgeV6Jxihv35XQJmuTx8X3sh'; + +function formDataSection(key, value) { + return Buffer.from( + `\r\n--${BOUNDARY}` + + `\r\nContent-Disposition: form-data; name="${key}"` + + `\r\n\r\n${value}` + ); +} + +function formDataFile(key, filename, contentType) { + const buf = Buffer.allocUnsafe(100000); + return Buffer.concat([ + Buffer.from(`\r\n--${BOUNDARY}\r\n`), + Buffer.from(`Content-Disposition: form-data; name="${key}"` + + `; filename="${filename}"\r\n`), + Buffer.from(`Content-Type: ${contentType}\r\n\r\n`), + randomFillSync(buf) + ]); +} + +const reqChunks = [ + Buffer.concat([ + formDataFile('file', 'file.bin', 'application/octet-stream'), + formDataSection('foo', 'foo value'), + ]), + formDataSection('bar', 'bar value'), + Buffer.from(`\r\n--${BOUNDARY}--\r\n`) +]; +const bb = busboy({ + headers: { + 'content-type': `multipart/form-data; boundary=${BOUNDARY}` + } +}); +const expected = [ + { type: 'file', + name: 'file', + info: { + filename: 'file.bin', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + }, + { type: 'field', + name: 'foo', + val: 'foo value', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'field', + name: 'bar', + val: 'bar value', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, +]; +const results = []; + +bb.on('field', (name, val, info) => { + results.push({ type: 'field', name, val, info }); +}); + +bb.on('file', (name, stream, info) => { + results.push({ type: 'file', name, info }); + // Simulate a pipe where the destination is pausing (perhaps due to waiting + // for file system write to finish) + setTimeout(() => { + stream.resume(); + }, 10); +}); + +bb.on('close', mustCall(() => { + assert.deepStrictEqual( + results, + expected, + 'Results mismatch.\n' + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(expected)}` + ); +})); + +for (const chunk of reqChunks) + bb.write(chunk); +bb.end(); diff --git a/node_backend/node_modules/busboy/test/test-types-multipart.js b/node_backend/node_modules/busboy/test/test-types-multipart.js new file mode 100644 index 0000000000000000000000000000000000000000..9755642ad9060cbcdb2e2e97c1d3b484815d355d --- /dev/null +++ b/node_backend/node_modules/busboy/test/test-types-multipart.js @@ -0,0 +1,1053 @@ +'use strict'; + +const assert = require('assert'); +const { inspect } = require('util'); + +const busboy = require('..'); + +const active = new Map(); + +const tests = [ + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'super alpha file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_1"', + '', + 'super beta file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'A'.repeat(1023), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="1k_b.dat"', + 'Content-Type: application/octet-stream', + '', + 'B'.repeat(1023), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'super alpha file', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'field', + name: 'file_name_1', + val: 'super beta file', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('A'.repeat(1023)), + info: { + filename: '1k_a.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_1', + data: Buffer.from('B'.repeat(1023)), + info: { + filename: '1k_b.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + ], + what: 'Fields and files' + }, + { source: [ + ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: form-data; name="cont"', + '', + 'some random content', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: form-data; name="pass"', + '', + 'some random pass', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: form-data; name=bit', + '', + '2', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--' + ].join('\r\n') + ], + boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY', + expected: [ + { type: 'field', + name: 'cont', + val: 'some random content', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'field', + name: 'pass', + val: 'some random pass', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'field', + name: 'bit', + val: '2', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + ], + what: 'Fields only' + }, + { source: [ + '' + ], + boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY', + expected: [ + { error: 'Unexpected end of form' }, + ], + what: 'No fields and no files' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'super alpha file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + fileSize: 13, + fieldSize: 5 + }, + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'super', + info: { + nameTruncated: false, + valueTruncated: true, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('ABCDEFGHIJKLM'), + info: { + filename: '1k_a.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: true, + }, + ], + what: 'Fields and files (limits)' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'super alpha file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + files: 0 + }, + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'super alpha file', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + 'filesLimit', + ], + what: 'Fields and files (limits: 0 files)' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'super alpha file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_1"', + '', + 'super beta file', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'A'.repeat(1023), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="1k_b.dat"', + 'Content-Type: application/octet-stream', + '', + 'B'.repeat(1023), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'super alpha file', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + { type: 'field', + name: 'file_name_1', + val: 'super beta file', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + ], + events: ['field'], + what: 'Fields and (ignored) files' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="/tmp/1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="C:\\files\\1k_b.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_2"; filename="relative/1k_c.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: '1k_a.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_1', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: '1k_b.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_2', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: '1k_c.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + ], + what: 'Files with filenames containing paths' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="/absolute/1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="C:\\absolute\\1k_b.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_2"; filename="relative/1k_c.dat"', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + preservePath: true, + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: '/absolute/1k_a.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_1', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: 'C:\\absolute\\1k_b.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_2', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: 'relative/1k_c.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + ], + what: 'Paths to be preserved through the preservePath option' + }, + { source: [ + ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: form-data; name="cont"', + 'Content-Type: ', + '', + 'some random content', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: ', + '', + 'some random pass', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--' + ].join('\r\n') + ], + boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY', + expected: [ + { type: 'field', + name: 'cont', + val: 'some random content', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + ], + what: 'Empty content-type and empty content-disposition' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="file"; filename*=utf-8\'\'n%C3%A4me.txt', + 'Content-Type: application/octet-stream', + '', + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--' + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'file', + data: Buffer.from('ABCDEFGHIJKLMNOPQRSTUVWXYZ'), + info: { + filename: 'näme.txt', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + }, + ], + what: 'Unicode filenames' + }, + { source: [ + ['--asdasdasdasd\r\n', + 'Content-Type: text/plain\r\n', + 'Content-Disposition: form-data; name="foo"\r\n', + '\r\n', + 'asd\r\n', + '--asdasdasdasd--' + ].join(':)') + ], + boundary: 'asdasdasdasd', + expected: [ + { error: 'Malformed part header' }, + { error: 'Unexpected end of form' }, + ], + what: 'Stopped mid-header' + }, + { source: [ + ['------WebKitFormBoundaryTB2MiQ36fnSJlrhY', + 'Content-Disposition: form-data; name="cont"', + 'Content-Type: application/json', + '', + '{}', + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--', + ].join('\r\n') + ], + boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY', + expected: [ + { type: 'field', + name: 'cont', + val: '{}', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'application/json', + }, + }, + ], + what: 'content-type for fields' + }, + { source: [ + '------WebKitFormBoundaryTB2MiQ36fnSJlrhY--', + ], + boundary: '----WebKitFormBoundaryTB2MiQ36fnSJlrhY', + expected: [], + what: 'empty form' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name=upload_file_0; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + 'Content-Transfer-Encoding: binary', + '', + '', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.alloc(0), + info: { + filename: '1k_a.dat', + encoding: 'binary', + mimeType: 'application/octet-stream', + }, + limited: false, + err: 'Unexpected end of form', + }, + { error: 'Unexpected end of form' }, + ], + what: 'Stopped mid-file #1' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name=upload_file_0; filename="1k_a.dat"', + 'Content-Type: application/octet-stream', + '', + 'a', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('a'), + info: { + filename: '1k_a.dat', + encoding: '7bit', + mimeType: 'application/octet-stream', + }, + limited: false, + err: 'Unexpected end of form', + }, + { error: 'Unexpected end of form' }, + ], + what: 'Stopped mid-file #2' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: text/plain; charset=utf8', + '', + 'a', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('a'), + info: { + filename: 'notes.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + what: 'Text file with charset' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: ', + ' text/plain; charset=utf8', + '', + 'a', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('a'), + info: { + filename: 'notes.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + what: 'Folded header value' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Type: text/plain; charset=utf8', + '', + 'a', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [], + what: 'No Content-Disposition' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'a'.repeat(64 * 1024), + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: ', + ' text/plain; charset=utf8', + '', + 'bc', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + fieldSize: Infinity, + }, + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('bc'), + info: { + filename: 'notes.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + events: [ 'file' ], + what: 'Skip field parts if no listener' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'a', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: ', + ' text/plain; charset=utf8', + '', + 'bc', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + parts: 1, + }, + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'a', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + 'partsLimit', + ], + what: 'Parts limit' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_0"', + '', + 'a', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; name="file_name_1"', + '', + 'b', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + fields: 1, + }, + expected: [ + { type: 'field', + name: 'file_name_0', + val: 'a', + info: { + nameTruncated: false, + valueTruncated: false, + encoding: '7bit', + mimeType: 'text/plain', + }, + }, + 'fieldsLimit', + ], + what: 'Fields limit' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: text/plain; charset=utf8', + '', + 'ab', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="notes2.txt"', + 'Content-Type: text/plain; charset=utf8', + '', + 'cd', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + limits: { + files: 1, + }, + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('ab'), + info: { + filename: 'notes.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + 'filesLimit', + ], + what: 'Files limit' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + `name="upload_file_0"; filename="${'a'.repeat(64 * 1024)}.txt"`, + 'Content-Type: text/plain; charset=utf8', + '', + 'ab', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_1"; filename="notes2.txt"', + 'Content-Type: text/plain; charset=utf8', + '', + 'cd', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { error: 'Malformed part header' }, + { type: 'file', + name: 'upload_file_1', + data: Buffer.from('cd'), + info: { + filename: 'notes2.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + what: 'Oversized part header' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + 'name="upload_file_0"; filename="notes.txt"', + 'Content-Type: text/plain; charset=utf8', + '', + 'a'.repeat(31) + '\r', + ].join('\r\n'), + 'b'.repeat(40), + '\r\n-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + fileHwm: 32, + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('a'.repeat(31) + '\r' + 'b'.repeat(40)), + info: { + filename: 'notes.txt', + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + what: 'Lookbehind data should not stall file streams' + }, + { source: [ + ['-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + `name="upload_file_0"; filename="${'a'.repeat(8 * 1024)}.txt"`, + 'Content-Type: text/plain; charset=utf8', + '', + 'ab', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + `name="upload_file_1"; filename="${'b'.repeat(8 * 1024)}.txt"`, + 'Content-Type: text/plain; charset=utf8', + '', + 'cd', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + 'Content-Disposition: form-data; ' + + `name="upload_file_2"; filename="${'c'.repeat(8 * 1024)}.txt"`, + 'Content-Type: text/plain; charset=utf8', + '', + 'ef', + '-----------------------------paZqsnEHRufoShdX6fh0lUhXBP4k--', + ].join('\r\n') + ], + boundary: '---------------------------paZqsnEHRufoShdX6fh0lUhXBP4k', + expected: [ + { type: 'file', + name: 'upload_file_0', + data: Buffer.from('ab'), + info: { + filename: `${'a'.repeat(8 * 1024)}.txt`, + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_1', + data: Buffer.from('cd'), + info: { + filename: `${'b'.repeat(8 * 1024)}.txt`, + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + { type: 'file', + name: 'upload_file_2', + data: Buffer.from('ef'), + info: { + filename: `${'c'.repeat(8 * 1024)}.txt`, + encoding: '7bit', + mimeType: 'text/plain', + }, + limited: false, + }, + ], + what: 'Header size limit should be per part' + }, + { source: [ + '\r\n--d1bf46b3-aa33-4061-b28d-6c5ced8b08ee\r\n', + 'Content-Type: application/gzip\r\n' + + 'Content-Encoding: gzip\r\n' + + 'Content-Disposition: form-data; name=batch-1; filename=batch-1' + + '\r\n\r\n', + '\r\n--d1bf46b3-aa33-4061-b28d-6c5ced8b08ee--', + ], + boundary: 'd1bf46b3-aa33-4061-b28d-6c5ced8b08ee', + expected: [ + { type: 'file', + name: 'batch-1', + data: Buffer.alloc(0), + info: { + filename: 'batch-1', + encoding: '7bit', + mimeType: 'application/gzip', + }, + limited: false, + }, + ], + what: 'Empty part' + }, +]; + +for (const test of tests) { + active.set(test, 1); + + const { what, boundary, events, limits, preservePath, fileHwm } = test; + const bb = busboy({ + fileHwm, + limits, + preservePath, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + } + }); + const results = []; + + if (events === undefined || events.includes('field')) { + bb.on('field', (name, val, info) => { + results.push({ type: 'field', name, val, info }); + }); + } + + if (events === undefined || events.includes('file')) { + bb.on('file', (name, stream, info) => { + const data = []; + let nb = 0; + const file = { + type: 'file', + name, + data: null, + info, + limited: false, + }; + results.push(file); + stream.on('data', (d) => { + data.push(d); + nb += d.length; + }).on('limit', () => { + file.limited = true; + }).on('close', () => { + file.data = Buffer.concat(data, nb); + assert.strictEqual(stream.truncated, file.limited); + }).once('error', (err) => { + file.err = err.message; + }); + }); + } + + bb.on('error', (err) => { + results.push({ error: err.message }); + }); + + bb.on('partsLimit', () => { + results.push('partsLimit'); + }); + + bb.on('filesLimit', () => { + results.push('filesLimit'); + }); + + bb.on('fieldsLimit', () => { + results.push('fieldsLimit'); + }); + + bb.on('close', () => { + active.delete(test); + + assert.deepStrictEqual( + results, + test.expected, + `[${what}] Results mismatch.\n` + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(test.expected)}` + ); + }); + + for (const src of test.source) { + const buf = (typeof src === 'string' ? Buffer.from(src, 'utf8') : src); + bb.write(buf); + } + bb.end(); +} + +// Byte-by-byte versions +for (let test of tests) { + test = { ...test }; + test.what += ' (byte-by-byte)'; + active.set(test, 1); + + const { what, boundary, events, limits, preservePath, fileHwm } = test; + const bb = busboy({ + fileHwm, + limits, + preservePath, + headers: { + 'content-type': `multipart/form-data; boundary=${boundary}`, + } + }); + const results = []; + + if (events === undefined || events.includes('field')) { + bb.on('field', (name, val, info) => { + results.push({ type: 'field', name, val, info }); + }); + } + + if (events === undefined || events.includes('file')) { + bb.on('file', (name, stream, info) => { + const data = []; + let nb = 0; + const file = { + type: 'file', + name, + data: null, + info, + limited: false, + }; + results.push(file); + stream.on('data', (d) => { + data.push(d); + nb += d.length; + }).on('limit', () => { + file.limited = true; + }).on('close', () => { + file.data = Buffer.concat(data, nb); + assert.strictEqual(stream.truncated, file.limited); + }).once('error', (err) => { + file.err = err.message; + }); + }); + } + + bb.on('error', (err) => { + results.push({ error: err.message }); + }); + + bb.on('partsLimit', () => { + results.push('partsLimit'); + }); + + bb.on('filesLimit', () => { + results.push('filesLimit'); + }); + + bb.on('fieldsLimit', () => { + results.push('fieldsLimit'); + }); + + bb.on('close', () => { + active.delete(test); + + assert.deepStrictEqual( + results, + test.expected, + `[${what}] Results mismatch.\n` + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(test.expected)}` + ); + }); + + for (const src of test.source) { + const buf = (typeof src === 'string' ? Buffer.from(src, 'utf8') : src); + for (let i = 0; i < buf.length; ++i) + bb.write(buf.slice(i, i + 1)); + } + bb.end(); +} + +{ + let exception = false; + process.once('uncaughtException', (ex) => { + exception = true; + throw ex; + }); + process.on('exit', () => { + if (exception || active.size === 0) + return; + process.exitCode = 1; + console.error('=========================='); + console.error(`${active.size} test(s) did not finish:`); + console.error('=========================='); + console.error(Array.from(active.keys()).map((v) => v.what).join('\n')); + }); +} diff --git a/node_backend/node_modules/busboy/test/test-types-urlencoded.js b/node_backend/node_modules/busboy/test/test-types-urlencoded.js new file mode 100644 index 0000000000000000000000000000000000000000..c35962b973f29a69951ed7eae08c0abe6dfbb7da --- /dev/null +++ b/node_backend/node_modules/busboy/test/test-types-urlencoded.js @@ -0,0 +1,488 @@ +'use strict'; + +const assert = require('assert'); +const { transcode } = require('buffer'); +const { inspect } = require('util'); + +const busboy = require('..'); + +const active = new Map(); + +const tests = [ + { source: ['foo'], + expected: [ + ['foo', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Unassigned value' + }, + { source: ['foo=bar'], + expected: [ + ['foo', + 'bar', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned value' + }, + { source: ['foo&bar=baz'], + expected: [ + ['foo', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['bar', + 'baz', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Unassigned and assigned value' + }, + { source: ['foo=bar&baz'], + expected: [ + ['foo', + 'bar', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['baz', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned and unassigned value' + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['foo', + 'bar', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['baz', + 'bla', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Two assigned values' + }, + { source: ['foo&bar'], + expected: [ + ['foo', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['bar', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Two unassigned values' + }, + { source: ['foo&bar&'], + expected: [ + ['foo', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['bar', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Two unassigned values and ampersand' + }, + { source: ['foo+1=bar+baz%2Bquux'], + expected: [ + ['foo 1', + 'bar baz+quux', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned key and value with (plus) space' + }, + { source: ['foo=bar%20baz%21'], + expected: [ + ['foo', + 'bar baz!', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned value with encoded bytes' + }, + { source: ['foo%20bar=baz%20bla%21'], + expected: [ + ['foo bar', + 'baz bla!', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned value with encoded bytes #2' + }, + { source: ['foo=bar%20baz%21&num=1000'], + expected: [ + ['foo', + 'bar baz!', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['num', + '1000', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Two assigned values, one with encoded bytes' + }, + { source: [ + Array.from(transcode(Buffer.from('foo'), 'utf8', 'utf16le')).map( + (n) => `%${n.toString(16).padStart(2, '0')}` + ).join(''), + '=', + Array.from(transcode(Buffer.from('😀!'), 'utf8', 'utf16le')).map( + (n) => `%${n.toString(16).padStart(2, '0')}` + ).join(''), + ], + expected: [ + ['foo', + '😀!', + { nameTruncated: false, + valueTruncated: false, + encoding: 'UTF-16LE', + mimeType: 'text/plain' }, + ], + ], + charset: 'UTF-16LE', + what: 'Encoded value with multi-byte charset' + }, + { source: [ + 'foo=<', + Array.from(transcode(Buffer.from('©:^þ'), 'utf8', 'latin1')).map( + (n) => `%${n.toString(16).padStart(2, '0')}` + ).join(''), + ], + expected: [ + ['foo', + '<©:^þ', + { nameTruncated: false, + valueTruncated: false, + encoding: 'ISO-8859-1', + mimeType: 'text/plain' }, + ], + ], + charset: 'ISO-8859-1', + what: 'Encoded value with single-byte, ASCII-compatible, non-UTF8 charset' + }, + { source: ['foo=bar&baz=bla'], + expected: [], + what: 'Limits: zero fields', + limits: { fields: 0 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['foo', + 'bar', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: one field', + limits: { fields: 1 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['foo', + 'bar', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['baz', + 'bla', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: field part lengths match limits', + limits: { fieldNameSize: 3, fieldSize: 3 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['fo', + 'bar', + { nameTruncated: true, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['ba', + 'bla', + { nameTruncated: true, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: truncated field name', + limits: { fieldNameSize: 2 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['foo', + 'ba', + { nameTruncated: false, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['baz', + 'bl', + { nameTruncated: false, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: truncated field value', + limits: { fieldSize: 2 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['fo', + 'ba', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['ba', + 'bl', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: truncated field name and value', + limits: { fieldNameSize: 2, fieldSize: 2 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['fo', + '', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['ba', + '', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: truncated field name and zero value limit', + limits: { fieldNameSize: 2, fieldSize: 0 } + }, + { source: ['foo=bar&baz=bla'], + expected: [ + ['', + '', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ['', + '', + { nameTruncated: true, + valueTruncated: true, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Limits: truncated zero field name and zero value limit', + limits: { fieldNameSize: 0, fieldSize: 0 } + }, + { source: ['&'], + expected: [], + what: 'Ampersand' + }, + { source: ['&&&&&'], + expected: [], + what: 'Many ampersands' + }, + { source: ['='], + expected: [ + ['', + '', + { nameTruncated: false, + valueTruncated: false, + encoding: 'utf-8', + mimeType: 'text/plain' }, + ], + ], + what: 'Assigned value, empty name and value' + }, + { source: [''], + expected: [], + what: 'Nothing' + }, +]; + +for (const test of tests) { + active.set(test, 1); + + const { what } = test; + const charset = test.charset || 'utf-8'; + const bb = busboy({ + limits: test.limits, + headers: { + 'content-type': `application/x-www-form-urlencoded; charset=${charset}`, + }, + }); + const results = []; + + bb.on('field', (key, val, info) => { + results.push([key, val, info]); + }); + + bb.on('file', () => { + throw new Error(`[${what}] Unexpected file`); + }); + + bb.on('close', () => { + active.delete(test); + + assert.deepStrictEqual( + results, + test.expected, + `[${what}] Results mismatch.\n` + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(test.expected)}` + ); + }); + + for (const src of test.source) { + const buf = (typeof src === 'string' ? Buffer.from(src, 'utf8') : src); + bb.write(buf); + } + bb.end(); +} + +// Byte-by-byte versions +for (let test of tests) { + test = { ...test }; + test.what += ' (byte-by-byte)'; + active.set(test, 1); + + const { what } = test; + const charset = test.charset || 'utf-8'; + const bb = busboy({ + limits: test.limits, + headers: { + 'content-type': `application/x-www-form-urlencoded; charset="${charset}"`, + }, + }); + const results = []; + + bb.on('field', (key, val, info) => { + results.push([key, val, info]); + }); + + bb.on('file', () => { + throw new Error(`[${what}] Unexpected file`); + }); + + bb.on('close', () => { + active.delete(test); + + assert.deepStrictEqual( + results, + test.expected, + `[${what}] Results mismatch.\n` + + `Parsed: ${inspect(results)}\n` + + `Expected: ${inspect(test.expected)}` + ); + }); + + for (const src of test.source) { + const buf = (typeof src === 'string' ? Buffer.from(src, 'utf8') : src); + for (let i = 0; i < buf.length; ++i) + bb.write(buf.slice(i, i + 1)); + } + bb.end(); +} + +{ + let exception = false; + process.once('uncaughtException', (ex) => { + exception = true; + throw ex; + }); + process.on('exit', () => { + if (exception || active.size === 0) + return; + process.exitCode = 1; + console.error('=========================='); + console.error(`${active.size} test(s) did not finish:`); + console.error('=========================='); + console.error(Array.from(active.keys()).map((v) => v.what).join('\n')); + }); +} diff --git a/node_backend/node_modules/busboy/test/test.js b/node_backend/node_modules/busboy/test/test.js new file mode 100644 index 0000000000000000000000000000000000000000..d0380f29de7842d0f5451b79c93c77067b421324 --- /dev/null +++ b/node_backend/node_modules/busboy/test/test.js @@ -0,0 +1,20 @@ +'use strict'; + +const { spawnSync } = require('child_process'); +const { readdirSync } = require('fs'); +const { join } = require('path'); + +const files = readdirSync(__dirname).sort(); +for (const filename of files) { + if (filename.startsWith('test-')) { + const path = join(__dirname, filename); + console.log(`> Running ${filename} ...`); + const result = spawnSync(`${process.argv0} ${path}`, { + shell: true, + stdio: 'inherit', + windowsHide: true + }); + if (result.status !== 0) + process.exitCode = 1; + } +} diff --git a/Inscripciones_UAIE/node_backend/node_modules/bytes/History.md b/node_backend/node_modules/bytes/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bytes/History.md rename to node_backend/node_modules/bytes/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bytes/LICENSE b/node_backend/node_modules/bytes/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bytes/LICENSE rename to node_backend/node_modules/bytes/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/bytes/Readme.md b/node_backend/node_modules/bytes/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bytes/Readme.md rename to node_backend/node_modules/bytes/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/bytes/index.js b/node_backend/node_modules/bytes/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bytes/index.js rename to node_backend/node_modules/bytes/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/bytes/package.json b/node_backend/node_modules/bytes/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/bytes/package.json rename to node_backend/node_modules/bytes/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/.eslintignore b/node_backend/node_modules/call-bind/.eslintignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/.eslintignore rename to node_backend/node_modules/call-bind/.eslintignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/.eslintrc b/node_backend/node_modules/call-bind/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/.eslintrc rename to node_backend/node_modules/call-bind/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/.github/FUNDING.yml b/node_backend/node_modules/call-bind/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/.github/FUNDING.yml rename to node_backend/node_modules/call-bind/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/.nycrc b/node_backend/node_modules/call-bind/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/.nycrc rename to node_backend/node_modules/call-bind/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/CHANGELOG.md b/node_backend/node_modules/call-bind/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/CHANGELOG.md rename to node_backend/node_modules/call-bind/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/LICENSE b/node_backend/node_modules/call-bind/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/LICENSE rename to node_backend/node_modules/call-bind/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/README.md b/node_backend/node_modules/call-bind/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/README.md rename to node_backend/node_modules/call-bind/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/callBound.js b/node_backend/node_modules/call-bind/callBound.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/callBound.js rename to node_backend/node_modules/call-bind/callBound.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/index.js b/node_backend/node_modules/call-bind/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/index.js rename to node_backend/node_modules/call-bind/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/package.json b/node_backend/node_modules/call-bind/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/package.json rename to node_backend/node_modules/call-bind/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/test/callBound.js b/node_backend/node_modules/call-bind/test/callBound.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/test/callBound.js rename to node_backend/node_modules/call-bind/test/callBound.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/call-bind/test/index.js b/node_backend/node_modules/call-bind/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/call-bind/test/index.js rename to node_backend/node_modules/call-bind/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/chownr/LICENSE b/node_backend/node_modules/chownr/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/chownr/LICENSE rename to node_backend/node_modules/chownr/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/chownr/README.md b/node_backend/node_modules/chownr/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/chownr/README.md rename to node_backend/node_modules/chownr/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/chownr/chownr.js b/node_backend/node_modules/chownr/chownr.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/chownr/chownr.js rename to node_backend/node_modules/chownr/chownr.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/chownr/package.json b/node_backend/node_modules/chownr/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/chownr/package.json rename to node_backend/node_modules/chownr/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/LICENSE b/node_backend/node_modules/color-support/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/LICENSE rename to node_backend/node_modules/color-support/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/README.md b/node_backend/node_modules/color-support/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/README.md rename to node_backend/node_modules/color-support/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/bin.js b/node_backend/node_modules/color-support/bin.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/bin.js rename to node_backend/node_modules/color-support/bin.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/browser.js b/node_backend/node_modules/color-support/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/browser.js rename to node_backend/node_modules/color-support/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/index.js b/node_backend/node_modules/color-support/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/index.js rename to node_backend/node_modules/color-support/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/color-support/package.json b/node_backend/node_modules/color-support/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/color-support/package.json rename to node_backend/node_modules/color-support/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/.travis.yml b/node_backend/node_modules/concat-map/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/.travis.yml rename to node_backend/node_modules/concat-map/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/LICENSE b/node_backend/node_modules/concat-map/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/LICENSE rename to node_backend/node_modules/concat-map/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/README.markdown b/node_backend/node_modules/concat-map/README.markdown similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/README.markdown rename to node_backend/node_modules/concat-map/README.markdown diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/example/map.js b/node_backend/node_modules/concat-map/example/map.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/example/map.js rename to node_backend/node_modules/concat-map/example/map.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/index.js b/node_backend/node_modules/concat-map/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/index.js rename to node_backend/node_modules/concat-map/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/package.json b/node_backend/node_modules/concat-map/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/package.json rename to node_backend/node_modules/concat-map/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/concat-map/test/map.js b/node_backend/node_modules/concat-map/test/map.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/concat-map/test/map.js rename to node_backend/node_modules/concat-map/test/map.js diff --git a/node_backend/node_modules/concat-stream/LICENSE b/node_backend/node_modules/concat-stream/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..99c130e1de342703106a2032f2d8f8329fea1af4 --- /dev/null +++ b/node_backend/node_modules/concat-stream/LICENSE @@ -0,0 +1,24 @@ +The MIT License + +Copyright (c) 2013 Max Ogden + +Permission is hereby granted, free of charge, +to any person obtaining a copy of this software and +associated documentation files (the "Software"), to +deal in the Software without restriction, including +without limitation the rights to use, copy, modify, +merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom +the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice +shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. +IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR +ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, +TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE +SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/index.js b/node_backend/node_modules/concat-stream/index.js new file mode 100644 index 0000000000000000000000000000000000000000..dd672a761b2f8212455353b05385b85573424567 --- /dev/null +++ b/node_backend/node_modules/concat-stream/index.js @@ -0,0 +1,144 @@ +var Writable = require('readable-stream').Writable +var inherits = require('inherits') +var bufferFrom = require('buffer-from') + +if (typeof Uint8Array === 'undefined') { + var U8 = require('typedarray').Uint8Array +} else { + var U8 = Uint8Array +} + +function ConcatStream(opts, cb) { + if (!(this instanceof ConcatStream)) return new ConcatStream(opts, cb) + + if (typeof opts === 'function') { + cb = opts + opts = {} + } + if (!opts) opts = {} + + var encoding = opts.encoding + var shouldInferEncoding = false + + if (!encoding) { + shouldInferEncoding = true + } else { + encoding = String(encoding).toLowerCase() + if (encoding === 'u8' || encoding === 'uint8') { + encoding = 'uint8array' + } + } + + Writable.call(this, { objectMode: true }) + + this.encoding = encoding + this.shouldInferEncoding = shouldInferEncoding + + if (cb) this.on('finish', function () { cb(this.getBody()) }) + this.body = [] +} + +module.exports = ConcatStream +inherits(ConcatStream, Writable) + +ConcatStream.prototype._write = function(chunk, enc, next) { + this.body.push(chunk) + next() +} + +ConcatStream.prototype.inferEncoding = function (buff) { + var firstBuffer = buff === undefined ? this.body[0] : buff; + if (Buffer.isBuffer(firstBuffer)) return 'buffer' + if (typeof Uint8Array !== 'undefined' && firstBuffer instanceof Uint8Array) return 'uint8array' + if (Array.isArray(firstBuffer)) return 'array' + if (typeof firstBuffer === 'string') return 'string' + if (Object.prototype.toString.call(firstBuffer) === "[object Object]") return 'object' + return 'buffer' +} + +ConcatStream.prototype.getBody = function () { + if (!this.encoding && this.body.length === 0) return [] + if (this.shouldInferEncoding) this.encoding = this.inferEncoding() + if (this.encoding === 'array') return arrayConcat(this.body) + if (this.encoding === 'string') return stringConcat(this.body) + if (this.encoding === 'buffer') return bufferConcat(this.body) + if (this.encoding === 'uint8array') return u8Concat(this.body) + return this.body +} + +var isArray = Array.isArray || function (arr) { + return Object.prototype.toString.call(arr) == '[object Array]' +} + +function isArrayish (arr) { + return /Array\]$/.test(Object.prototype.toString.call(arr)) +} + +function isBufferish (p) { + return typeof p === 'string' || isArrayish(p) || (p && typeof p.subarray === 'function') +} + +function stringConcat (parts) { + var strings = [] + var needsToString = false + for (var i = 0; i < parts.length; i++) { + var p = parts[i] + if (typeof p === 'string') { + strings.push(p) + } else if (Buffer.isBuffer(p)) { + strings.push(p) + } else if (isBufferish(p)) { + strings.push(bufferFrom(p)) + } else { + strings.push(bufferFrom(String(p))) + } + } + if (Buffer.isBuffer(parts[0])) { + strings = Buffer.concat(strings) + strings = strings.toString('utf8') + } else { + strings = strings.join('') + } + return strings +} + +function bufferConcat (parts) { + var bufs = [] + for (var i = 0; i < parts.length; i++) { + var p = parts[i] + if (Buffer.isBuffer(p)) { + bufs.push(p) + } else if (isBufferish(p)) { + bufs.push(bufferFrom(p)) + } else { + bufs.push(bufferFrom(String(p))) + } + } + return Buffer.concat(bufs) +} + +function arrayConcat (parts) { + var res = [] + for (var i = 0; i < parts.length; i++) { + res.push.apply(res, parts[i]) + } + return res +} + +function u8Concat (parts) { + var len = 0 + for (var i = 0; i < parts.length; i++) { + if (typeof parts[i] === 'string') { + parts[i] = bufferFrom(parts[i]) + } + len += parts[i].length + } + var u8 = new U8(len) + for (var i = 0, offset = 0; i < parts.length; i++) { + var part = parts[i] + for (var j = 0; j < part.length; j++) { + u8[offset++] = part[j] + } + } + return u8 +} diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/.travis.yml b/node_backend/node_modules/concat-stream/node_modules/readable-stream/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..f62cdac0686da613ecdbf214fb2b43a828cb6ce9 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/.travis.yml @@ -0,0 +1,34 @@ +sudo: false +language: node_js +before_install: + - (test $NPM_LEGACY && npm install -g npm@2 && npm install -g npm@3) || true +notifications: + email: false +matrix: + fast_finish: true + include: + - node_js: '0.8' + env: NPM_LEGACY=true + - node_js: '0.10' + env: NPM_LEGACY=true + - node_js: '0.11' + env: NPM_LEGACY=true + - node_js: '0.12' + env: NPM_LEGACY=true + - node_js: 1 + env: NPM_LEGACY=true + - node_js: 2 + env: NPM_LEGACY=true + - node_js: 3 + env: NPM_LEGACY=true + - node_js: 4 + - node_js: 5 + - node_js: 6 + - node_js: 7 + - node_js: 8 + - node_js: 9 +script: "npm run test" +env: + global: + - secure: rE2Vvo7vnjabYNULNyLFxOyt98BoJexDqsiOnfiD6kLYYsiQGfr/sbZkPMOFm9qfQG7pjqx+zZWZjGSswhTt+626C0t/njXqug7Yps4c3dFblzGfreQHp7wNX5TFsvrxd6dAowVasMp61sJcRnB2w8cUzoe3RAYUDHyiHktwqMc= + - secure: g9YINaKAdMatsJ28G9jCGbSaguXCyxSTy+pBO6Ch0Cf57ZLOTka3HqDj8p3nV28LUIHZ3ut5WO43CeYKwt4AUtLpBS3a0dndHdY6D83uY6b2qh5hXlrcbeQTq2cvw2y95F7hm4D1kwrgZ7ViqaKggRcEupAL69YbJnxeUDKWEdI= diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/CONTRIBUTING.md b/node_backend/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/CONTRIBUTING.md rename to node_backend/node_modules/concat-stream/node_modules/readable-stream/CONTRIBUTING.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/GOVERNANCE.md b/node_backend/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/GOVERNANCE.md rename to node_backend/node_modules/concat-stream/node_modules/readable-stream/GOVERNANCE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/LICENSE b/node_backend/node_modules/concat-stream/node_modules/readable-stream/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/LICENSE rename to node_backend/node_modules/concat-stream/node_modules/readable-stream/LICENSE diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/README.md b/node_backend/node_modules/concat-stream/node_modules/readable-stream/README.md new file mode 100644 index 0000000000000000000000000000000000000000..f1c5a9314f17aa36e8b5adaa6bf66786448aa6b0 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/README.md @@ -0,0 +1,58 @@ +# readable-stream + +***Node-core v8.17.0 streams for userland*** [![Build Status](https://travis-ci.org/nodejs/readable-stream.svg?branch=master)](https://travis-ci.org/nodejs/readable-stream) + + +[![NPM](https://nodei.co/npm/readable-stream.png?downloads=true&downloadRank=true)](https://nodei.co/npm/readable-stream/) +[![NPM](https://nodei.co/npm-dl/readable-stream.png?&months=6&height=3)](https://nodei.co/npm/readable-stream/) + + +[![Sauce Test Status](https://saucelabs.com/browser-matrix/readable-stream.svg)](https://saucelabs.com/u/readable-stream) + +```bash +npm install --save readable-stream +``` + +***Node-core streams for userland*** + +This package is a mirror of the Streams2 and Streams3 implementations in +Node-core. + +Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v8.17.0/docs/api/stream.html). + +If you want to guarantee a stable streams base, regardless of what version of +Node you, or the users of your libraries are using, use **readable-stream** *only* and avoid the *"stream"* module in Node-core, for background see [this blogpost](http://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html). + +As of version 2.0.0 **readable-stream** uses semantic versioning. + +# Streams Working Group + +`readable-stream` is maintained by the Streams Working Group, which +oversees the development and maintenance of the Streams API within +Node.js. The responsibilities of the Streams Working Group include: + +* Addressing stream issues on the Node.js issue tracker. +* Authoring and editing stream documentation within the Node.js project. +* Reviewing changes to stream subclasses within the Node.js project. +* Redirecting changes to streams from the Node.js project to this + project. +* Assisting in the implementation of stream providers within Node.js. +* Recommending versions of `readable-stream` to be included in Node.js. +* Messaging about the future of streams to give the community advance + notice of changes. + + +## Team Members + +* **Chris Dickinson** ([@chrisdickinson](https://github.com/chrisdickinson)) <christopher.s.dickinson@gmail.com> + - Release GPG key: 9554F04D7259F04124DE6B476D5A82AC7E37093B +* **Calvin Metcalf** ([@calvinmetcalf](https://github.com/calvinmetcalf)) <calvin.metcalf@gmail.com> + - Release GPG key: F3EF5F62A87FC27A22E643F714CE4FF5015AA242 +* **Rod Vagg** ([@rvagg](https://github.com/rvagg)) <rod@vagg.org> + - Release GPG key: DD8F2338BAE7501E3DD5AC78C273792F7D83545D +* **Sam Newman** ([@sonewman](https://github.com/sonewman)) <newmansam@outlook.com> +* **Mathias Buus** ([@mafintosh](https://github.com/mafintosh)) <mathiasbuus@gmail.com> +* **Domenic Denicola** ([@domenic](https://github.com/domenic)) <d@domenic.me> +* **Matteo Collina** ([@mcollina](https://github.com/mcollina)) <matteo.collina@gmail.com> + - Release GPG key: 3ABC01543F22DD2239285CDD818674489FBC127E +* **Irina Shestak** ([@lrlna](https://github.com/lrlna)) <shestak.irina@gmail.com> diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md b/node_backend/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md new file mode 100644 index 0000000000000000000000000000000000000000..83275f192e4077d32942525aaf510fa449a7c417 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md @@ -0,0 +1,60 @@ +# streams WG Meeting 2015-01-30 + +## Links + +* **Google Hangouts Video**: http://www.youtube.com/watch?v=I9nDOSGfwZg +* **GitHub Issue**: https://github.com/iojs/readable-stream/issues/106 +* **Original Minutes Google Doc**: https://docs.google.com/document/d/17aTgLnjMXIrfjgNaTUnHQO7m3xgzHR2VXBTmi03Qii4/ + +## Agenda + +Extracted from https://github.com/iojs/readable-stream/labels/wg-agenda prior to meeting. + +* adopt a charter [#105](https://github.com/iojs/readable-stream/issues/105) +* release and versioning strategy [#101](https://github.com/iojs/readable-stream/issues/101) +* simpler stream creation [#102](https://github.com/iojs/readable-stream/issues/102) +* proposal: deprecate implicit flowing of streams [#99](https://github.com/iojs/readable-stream/issues/99) + +## Minutes + +### adopt a charter + +* group: +1's all around + +### What versioning scheme should be adopted? +* group: +1’s 3.0.0 +* domenic+group: pulling in patches from other sources where appropriate +* mikeal: version independently, suggesting versions for io.js +* mikeal+domenic: work with TC to notify in advance of changes +simpler stream creation + +### streamline creation of streams +* sam: streamline creation of streams +* domenic: nice simple solution posted + but, we lose the opportunity to change the model + may not be backwards incompatible (double check keys) + + **action item:** domenic will check + +### remove implicit flowing of streams on(‘data’) +* add isFlowing / isPaused +* mikeal: worrying that we’re documenting polyfill methods – confuses users +* domenic: more reflective API is probably good, with warning labels for users +* new section for mad scientists (reflective stream access) +* calvin: name the “third state” +* mikeal: maybe borrow the name from whatwg? +* domenic: we’re missing the “third state” +* consensus: kind of difficult to name the third state +* mikeal: figure out differences in states / compat +* mathias: always flow on data – eliminates third state + * explore what it breaks + +**action items:** +* ask isaac for ability to list packages by what public io.js APIs they use (esp. Stream) +* ask rod/build for infrastructure +* **chris**: explore the “flow on data” approach +* add isPaused/isFlowing +* add new docs section +* move isPaused to that section + + diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex-browser.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex-browser.js new file mode 100644 index 0000000000000000000000000000000000000000..f8b2db83dbe733d7720264a9840202e29ebeffbd --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex-browser.js @@ -0,0 +1 @@ +module.exports = require('./lib/_stream_duplex.js'); diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex.js new file mode 100644 index 0000000000000000000000000000000000000000..46924cbfdf53871b574d3f6f5b4bc6064b824aaa --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/duplex.js @@ -0,0 +1 @@ +module.exports = require('./readable').Duplex diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js new file mode 100644 index 0000000000000000000000000000000000000000..57003c32d256c0a1fe20dadd279abef2d463074f --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_duplex.js @@ -0,0 +1,131 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a duplex stream is just a stream that is both readable and writable. +// Since JS doesn't have multiple prototypal inheritance, this class +// prototypally inherits from Readable, and then parasitically from +// Writable. + +'use strict'; + +/**/ + +var pna = require('process-nextick-args'); +/**/ + +/**/ +var objectKeys = Object.keys || function (obj) { + var keys = []; + for (var key in obj) { + keys.push(key); + }return keys; +}; +/**/ + +module.exports = Duplex; + +/**/ +var util = Object.create(require('core-util-is')); +util.inherits = require('inherits'); +/**/ + +var Readable = require('./_stream_readable'); +var Writable = require('./_stream_writable'); + +util.inherits(Duplex, Readable); + +{ + // avoid scope creep, the keys array can then be collected + var keys = objectKeys(Writable.prototype); + for (var v = 0; v < keys.length; v++) { + var method = keys[v]; + if (!Duplex.prototype[method]) Duplex.prototype[method] = Writable.prototype[method]; + } +} + +function Duplex(options) { + if (!(this instanceof Duplex)) return new Duplex(options); + + Readable.call(this, options); + Writable.call(this, options); + + if (options && options.readable === false) this.readable = false; + + if (options && options.writable === false) this.writable = false; + + this.allowHalfOpen = true; + if (options && options.allowHalfOpen === false) this.allowHalfOpen = false; + + this.once('end', onend); +} + +Object.defineProperty(Duplex.prototype, 'writableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function () { + return this._writableState.highWaterMark; + } +}); + +// the no-half-open enforcer +function onend() { + // if we allow half-open state, or if the writable side ended, + // then we're ok. + if (this.allowHalfOpen || this._writableState.ended) return; + + // no more data can be written. + // But allow more writes to happen in this tick. + pna.nextTick(onEndNT, this); +} + +function onEndNT(self) { + self.end(); +} + +Object.defineProperty(Duplex.prototype, 'destroyed', { + get: function () { + if (this._readableState === undefined || this._writableState === undefined) { + return false; + } + return this._readableState.destroyed && this._writableState.destroyed; + }, + set: function (value) { + // we ignore the value if the stream + // has not been initialized yet + if (this._readableState === undefined || this._writableState === undefined) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._readableState.destroyed = value; + this._writableState.destroyed = value; + } +}); + +Duplex.prototype._destroy = function (err, cb) { + this.push(null); + this.end(); + + pna.nextTick(cb, err); +}; \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js new file mode 100644 index 0000000000000000000000000000000000000000..612edb4d8b443fabc4ddac619da420bad62fc5b0 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_passthrough.js @@ -0,0 +1,47 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a passthrough stream. +// basically just the most minimal sort of Transform stream. +// Every written chunk gets output as-is. + +'use strict'; + +module.exports = PassThrough; + +var Transform = require('./_stream_transform'); + +/**/ +var util = Object.create(require('core-util-is')); +util.inherits = require('inherits'); +/**/ + +util.inherits(PassThrough, Transform); + +function PassThrough(options) { + if (!(this instanceof PassThrough)) return new PassThrough(options); + + Transform.call(this, options); +} + +PassThrough.prototype._transform = function (chunk, encoding, cb) { + cb(null, chunk); +}; \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js new file mode 100644 index 0000000000000000000000000000000000000000..3af95cb2dbf1e9fa93d261b030b0b090df507ff7 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_readable.js @@ -0,0 +1,1019 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +/**/ + +var pna = require('process-nextick-args'); +/**/ + +module.exports = Readable; + +/**/ +var isArray = require('isarray'); +/**/ + +/**/ +var Duplex; +/**/ + +Readable.ReadableState = ReadableState; + +/**/ +var EE = require('events').EventEmitter; + +var EElistenerCount = function (emitter, type) { + return emitter.listeners(type).length; +}; +/**/ + +/**/ +var Stream = require('./internal/streams/stream'); +/**/ + +/**/ + +var Buffer = require('safe-buffer').Buffer; +var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; +function _uint8ArrayToBuffer(chunk) { + return Buffer.from(chunk); +} +function _isUint8Array(obj) { + return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; +} + +/**/ + +/**/ +var util = Object.create(require('core-util-is')); +util.inherits = require('inherits'); +/**/ + +/**/ +var debugUtil = require('util'); +var debug = void 0; +if (debugUtil && debugUtil.debuglog) { + debug = debugUtil.debuglog('stream'); +} else { + debug = function () {}; +} +/**/ + +var BufferList = require('./internal/streams/BufferList'); +var destroyImpl = require('./internal/streams/destroy'); +var StringDecoder; + +util.inherits(Readable, Stream); + +var kProxyEvents = ['error', 'close', 'destroy', 'pause', 'resume']; + +function prependListener(emitter, event, fn) { + // Sadly this is not cacheable as some libraries bundle their own + // event emitter implementation with them. + if (typeof emitter.prependListener === 'function') return emitter.prependListener(event, fn); + + // This is a hack to make sure that our error handler is attached before any + // userland ones. NEVER DO THIS. This is here only because this code needs + // to continue to work with older versions of Node.js that do not include + // the prependListener() method. The goal is to eventually remove this hack. + if (!emitter._events || !emitter._events[event]) emitter.on(event, fn);else if (isArray(emitter._events[event])) emitter._events[event].unshift(fn);else emitter._events[event] = [fn, emitter._events[event]]; +} + +function ReadableState(options, stream) { + Duplex = Duplex || require('./_stream_duplex'); + + options = options || {}; + + // Duplex streams are both readable and writable, but share + // the same options object. + // However, some cases require setting options to different + // values for the readable and the writable sides of the duplex stream. + // These options can be provided separately as readableXXX and writableXXX. + var isDuplex = stream instanceof Duplex; + + // object stream flag. Used to make read(n) ignore n and to + // make all the buffer merging and length checks go away + this.objectMode = !!options.objectMode; + + if (isDuplex) this.objectMode = this.objectMode || !!options.readableObjectMode; + + // the point at which it stops calling _read() to fill the buffer + // Note: 0 is a valid value, means "don't call _read preemptively ever" + var hwm = options.highWaterMark; + var readableHwm = options.readableHighWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + + if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (readableHwm || readableHwm === 0)) this.highWaterMark = readableHwm;else this.highWaterMark = defaultHwm; + + // cast to ints. + this.highWaterMark = Math.floor(this.highWaterMark); + + // A linked list is used to store data chunks instead of an array because the + // linked list can remove elements from the beginning faster than + // array.shift() + this.buffer = new BufferList(); + this.length = 0; + this.pipes = null; + this.pipesCount = 0; + this.flowing = null; + this.ended = false; + this.endEmitted = false; + this.reading = false; + + // a flag to be able to tell if the event 'readable'/'data' is emitted + // immediately, or on a later tick. We set this to true at first, because + // any actions that shouldn't happen until "later" should generally also + // not happen before the first read call. + this.sync = true; + + // whenever we return null, then we set a flag to say + // that we're awaiting a 'readable' event emission. + this.needReadable = false; + this.emittedReadable = false; + this.readableListening = false; + this.resumeScheduled = false; + + // has it been destroyed + this.destroyed = false; + + // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; + + // the number of writers that are awaiting a drain event in .pipe()s + this.awaitDrain = 0; + + // if true, a maybeReadMore has been scheduled + this.readingMore = false; + + this.decoder = null; + this.encoding = null; + if (options.encoding) { + if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; + this.decoder = new StringDecoder(options.encoding); + this.encoding = options.encoding; + } +} + +function Readable(options) { + Duplex = Duplex || require('./_stream_duplex'); + + if (!(this instanceof Readable)) return new Readable(options); + + this._readableState = new ReadableState(options, this); + + // legacy + this.readable = true; + + if (options) { + if (typeof options.read === 'function') this._read = options.read; + + if (typeof options.destroy === 'function') this._destroy = options.destroy; + } + + Stream.call(this); +} + +Object.defineProperty(Readable.prototype, 'destroyed', { + get: function () { + if (this._readableState === undefined) { + return false; + } + return this._readableState.destroyed; + }, + set: function (value) { + // we ignore the value if the stream + // has not been initialized yet + if (!this._readableState) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._readableState.destroyed = value; + } +}); + +Readable.prototype.destroy = destroyImpl.destroy; +Readable.prototype._undestroy = destroyImpl.undestroy; +Readable.prototype._destroy = function (err, cb) { + this.push(null); + cb(err); +}; + +// Manually shove something into the read() buffer. +// This returns true if the highWaterMark has not been hit yet, +// similar to how Writable.write() returns true if you should +// write() some more. +Readable.prototype.push = function (chunk, encoding) { + var state = this._readableState; + var skipChunkCheck; + + if (!state.objectMode) { + if (typeof chunk === 'string') { + encoding = encoding || state.defaultEncoding; + if (encoding !== state.encoding) { + chunk = Buffer.from(chunk, encoding); + encoding = ''; + } + skipChunkCheck = true; + } + } else { + skipChunkCheck = true; + } + + return readableAddChunk(this, chunk, encoding, false, skipChunkCheck); +}; + +// Unshift should *always* be something directly out of read() +Readable.prototype.unshift = function (chunk) { + return readableAddChunk(this, chunk, null, true, false); +}; + +function readableAddChunk(stream, chunk, encoding, addToFront, skipChunkCheck) { + var state = stream._readableState; + if (chunk === null) { + state.reading = false; + onEofChunk(stream, state); + } else { + var er; + if (!skipChunkCheck) er = chunkInvalid(state, chunk); + if (er) { + stream.emit('error', er); + } else if (state.objectMode || chunk && chunk.length > 0) { + if (typeof chunk !== 'string' && !state.objectMode && Object.getPrototypeOf(chunk) !== Buffer.prototype) { + chunk = _uint8ArrayToBuffer(chunk); + } + + if (addToFront) { + if (state.endEmitted) stream.emit('error', new Error('stream.unshift() after end event'));else addChunk(stream, state, chunk, true); + } else if (state.ended) { + stream.emit('error', new Error('stream.push() after EOF')); + } else { + state.reading = false; + if (state.decoder && !encoding) { + chunk = state.decoder.write(chunk); + if (state.objectMode || chunk.length !== 0) addChunk(stream, state, chunk, false);else maybeReadMore(stream, state); + } else { + addChunk(stream, state, chunk, false); + } + } + } else if (!addToFront) { + state.reading = false; + } + } + + return needMoreData(state); +} + +function addChunk(stream, state, chunk, addToFront) { + if (state.flowing && state.length === 0 && !state.sync) { + stream.emit('data', chunk); + stream.read(0); + } else { + // update the buffer info. + state.length += state.objectMode ? 1 : chunk.length; + if (addToFront) state.buffer.unshift(chunk);else state.buffer.push(chunk); + + if (state.needReadable) emitReadable(stream); + } + maybeReadMore(stream, state); +} + +function chunkInvalid(state, chunk) { + var er; + if (!_isUint8Array(chunk) && typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } + return er; +} + +// if it's past the high water mark, we can push in some more. +// Also, if we have no data yet, we can stand some +// more bytes. This is to work around cases where hwm=0, +// such as the repl. Also, if the push() triggered a +// readable event, and the user called read(largeNumber) such that +// needReadable was set, then we ought to push more, so that another +// 'readable' event will be triggered. +function needMoreData(state) { + return !state.ended && (state.needReadable || state.length < state.highWaterMark || state.length === 0); +} + +Readable.prototype.isPaused = function () { + return this._readableState.flowing === false; +}; + +// backwards compatibility. +Readable.prototype.setEncoding = function (enc) { + if (!StringDecoder) StringDecoder = require('string_decoder/').StringDecoder; + this._readableState.decoder = new StringDecoder(enc); + this._readableState.encoding = enc; + return this; +}; + +// Don't raise the hwm > 8MB +var MAX_HWM = 0x800000; +function computeNewHighWaterMark(n) { + if (n >= MAX_HWM) { + n = MAX_HWM; + } else { + // Get the next highest power of 2 to prevent increasing hwm excessively in + // tiny amounts + n--; + n |= n >>> 1; + n |= n >>> 2; + n |= n >>> 4; + n |= n >>> 8; + n |= n >>> 16; + n++; + } + return n; +} + +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function howMuchToRead(n, state) { + if (n <= 0 || state.length === 0 && state.ended) return 0; + if (state.objectMode) return 1; + if (n !== n) { + // Only flow one buffer at a time + if (state.flowing && state.length) return state.buffer.head.data.length;else return state.length; + } + // If we're asking for more than the current hwm, then raise the hwm. + if (n > state.highWaterMark) state.highWaterMark = computeNewHighWaterMark(n); + if (n <= state.length) return n; + // Don't have enough + if (!state.ended) { + state.needReadable = true; + return 0; + } + return state.length; +} + +// you can override either this method, or the async _read(n) below. +Readable.prototype.read = function (n) { + debug('read', n); + n = parseInt(n, 10); + var state = this._readableState; + var nOrig = n; + + if (n !== 0) state.emittedReadable = false; + + // if we're doing read(0) to trigger a readable event, but we + // already have a bunch of data in the buffer, then just trigger + // the 'readable' event and move on. + if (n === 0 && state.needReadable && (state.length >= state.highWaterMark || state.ended)) { + debug('read: emitReadable', state.length, state.ended); + if (state.length === 0 && state.ended) endReadable(this);else emitReadable(this); + return null; + } + + n = howMuchToRead(n, state); + + // if we've ended, and we're now clear, then finish it up. + if (n === 0 && state.ended) { + if (state.length === 0) endReadable(this); + return null; + } + + // All the actual chunk generation logic needs to be + // *below* the call to _read. The reason is that in certain + // synthetic stream cases, such as passthrough streams, _read + // may be a completely synchronous operation which may change + // the state of the read buffer, providing enough data when + // before there was *not* enough. + // + // So, the steps are: + // 1. Figure out what the state of things will be after we do + // a read from the buffer. + // + // 2. If that resulting state will trigger a _read, then call _read. + // Note that this may be asynchronous, or synchronous. Yes, it is + // deeply ugly to write APIs this way, but that still doesn't mean + // that the Readable class should behave improperly, as streams are + // designed to be sync/async agnostic. + // Take note if the _read call is sync or async (ie, if the read call + // has returned yet), so that we know whether or not it's safe to emit + // 'readable' etc. + // + // 3. Actually pull the requested chunks out of the buffer and return. + + // if we need a readable event, then we need to do some reading. + var doRead = state.needReadable; + debug('need readable', doRead); + + // if we currently have less than the highWaterMark, then also read some + if (state.length === 0 || state.length - n < state.highWaterMark) { + doRead = true; + debug('length less than watermark', doRead); + } + + // however, if we've ended, then there's no point, and if we're already + // reading, then it's unnecessary. + if (state.ended || state.reading) { + doRead = false; + debug('reading or ended', doRead); + } else if (doRead) { + debug('do read'); + state.reading = true; + state.sync = true; + // if the length is currently zero, then we *need* a readable event. + if (state.length === 0) state.needReadable = true; + // call internal read method + this._read(state.highWaterMark); + state.sync = false; + // If _read pushed data synchronously, then `reading` will be false, + // and we need to re-evaluate how much data we can return to the user. + if (!state.reading) n = howMuchToRead(nOrig, state); + } + + var ret; + if (n > 0) ret = fromList(n, state);else ret = null; + + if (ret === null) { + state.needReadable = true; + n = 0; + } else { + state.length -= n; + } + + if (state.length === 0) { + // If we have nothing in the buffer, then we want to know + // as soon as we *do* get something into the buffer. + if (!state.ended) state.needReadable = true; + + // If we tried to read() past the EOF, then emit end on the next tick. + if (nOrig !== n && state.ended) endReadable(this); + } + + if (ret !== null) this.emit('data', ret); + + return ret; +}; + +function onEofChunk(stream, state) { + if (state.ended) return; + if (state.decoder) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) { + state.buffer.push(chunk); + state.length += state.objectMode ? 1 : chunk.length; + } + } + state.ended = true; + + // emit 'readable' now to make sure it gets picked up. + emitReadable(stream); +} + +// Don't emit readable right away in sync mode, because this can trigger +// another read() call => stack overflow. This way, it might trigger +// a nextTick recursion warning, but that's not so bad. +function emitReadable(stream) { + var state = stream._readableState; + state.needReadable = false; + if (!state.emittedReadable) { + debug('emitReadable', state.flowing); + state.emittedReadable = true; + if (state.sync) pna.nextTick(emitReadable_, stream);else emitReadable_(stream); + } +} + +function emitReadable_(stream) { + debug('emit readable'); + stream.emit('readable'); + flow(stream); +} + +// at this point, the user has presumably seen the 'readable' event, +// and called read() to consume some data. that may have triggered +// in turn another _read(n) call, in which case reading = true if +// it's in progress. +// However, if we're not ended, or reading, and the length < hwm, +// then go ahead and try to read some more preemptively. +function maybeReadMore(stream, state) { + if (!state.readingMore) { + state.readingMore = true; + pna.nextTick(maybeReadMore_, stream, state); + } +} + +function maybeReadMore_(stream, state) { + var len = state.length; + while (!state.reading && !state.flowing && !state.ended && state.length < state.highWaterMark) { + debug('maybeReadMore read 0'); + stream.read(0); + if (len === state.length) + // didn't get any data, stop spinning. + break;else len = state.length; + } + state.readingMore = false; +} + +// abstract method. to be overridden in specific implementation classes. +// call cb(er, data) where data is <= n in length. +// for virtual (non-string, non-buffer) streams, "length" is somewhat +// arbitrary, and perhaps not very meaningful. +Readable.prototype._read = function (n) { + this.emit('error', new Error('_read() is not implemented')); +}; + +Readable.prototype.pipe = function (dest, pipeOpts) { + var src = this; + var state = this._readableState; + + switch (state.pipesCount) { + case 0: + state.pipes = dest; + break; + case 1: + state.pipes = [state.pipes, dest]; + break; + default: + state.pipes.push(dest); + break; + } + state.pipesCount += 1; + debug('pipe count=%d opts=%j', state.pipesCount, pipeOpts); + + var doEnd = (!pipeOpts || pipeOpts.end !== false) && dest !== process.stdout && dest !== process.stderr; + + var endFn = doEnd ? onend : unpipe; + if (state.endEmitted) pna.nextTick(endFn);else src.once('end', endFn); + + dest.on('unpipe', onunpipe); + function onunpipe(readable, unpipeInfo) { + debug('onunpipe'); + if (readable === src) { + if (unpipeInfo && unpipeInfo.hasUnpiped === false) { + unpipeInfo.hasUnpiped = true; + cleanup(); + } + } + } + + function onend() { + debug('onend'); + dest.end(); + } + + // when the dest drains, it reduces the awaitDrain counter + // on the source. This would be more elegant with a .once() + // handler in flow(), but adding and removing repeatedly is + // too slow. + var ondrain = pipeOnDrain(src); + dest.on('drain', ondrain); + + var cleanedUp = false; + function cleanup() { + debug('cleanup'); + // cleanup event handlers once the pipe is broken + dest.removeListener('close', onclose); + dest.removeListener('finish', onfinish); + dest.removeListener('drain', ondrain); + dest.removeListener('error', onerror); + dest.removeListener('unpipe', onunpipe); + src.removeListener('end', onend); + src.removeListener('end', unpipe); + src.removeListener('data', ondata); + + cleanedUp = true; + + // if the reader is waiting for a drain event from this + // specific writer, then it would cause it to never start + // flowing again. + // So, if this is awaiting a drain, then we just call it now. + // If we don't know, then assume that we are waiting for one. + if (state.awaitDrain && (!dest._writableState || dest._writableState.needDrain)) ondrain(); + } + + // If the user pushes more data while we're writing to dest then we'll end up + // in ondata again. However, we only want to increase awaitDrain once because + // dest will only emit one 'drain' event for the multiple writes. + // => Introduce a guard on increasing awaitDrain. + var increasedAwaitDrain = false; + src.on('data', ondata); + function ondata(chunk) { + debug('ondata'); + increasedAwaitDrain = false; + var ret = dest.write(chunk); + if (false === ret && !increasedAwaitDrain) { + // If the user unpiped during `dest.write()`, it is possible + // to get stuck in a permanently paused state if that write + // also returned false. + // => Check whether `dest` is still a piping destination. + if ((state.pipesCount === 1 && state.pipes === dest || state.pipesCount > 1 && indexOf(state.pipes, dest) !== -1) && !cleanedUp) { + debug('false write response, pause', state.awaitDrain); + state.awaitDrain++; + increasedAwaitDrain = true; + } + src.pause(); + } + } + + // if the dest has an error, then stop piping into it. + // however, don't suppress the throwing behavior for this. + function onerror(er) { + debug('onerror', er); + unpipe(); + dest.removeListener('error', onerror); + if (EElistenerCount(dest, 'error') === 0) dest.emit('error', er); + } + + // Make sure our error handler is attached before userland ones. + prependListener(dest, 'error', onerror); + + // Both close and finish should trigger unpipe, but only once. + function onclose() { + dest.removeListener('finish', onfinish); + unpipe(); + } + dest.once('close', onclose); + function onfinish() { + debug('onfinish'); + dest.removeListener('close', onclose); + unpipe(); + } + dest.once('finish', onfinish); + + function unpipe() { + debug('unpipe'); + src.unpipe(dest); + } + + // tell the dest that it's being piped to + dest.emit('pipe', src); + + // start the flow if it hasn't been started already. + if (!state.flowing) { + debug('pipe resume'); + src.resume(); + } + + return dest; +}; + +function pipeOnDrain(src) { + return function () { + var state = src._readableState; + debug('pipeOnDrain', state.awaitDrain); + if (state.awaitDrain) state.awaitDrain--; + if (state.awaitDrain === 0 && EElistenerCount(src, 'data')) { + state.flowing = true; + flow(src); + } + }; +} + +Readable.prototype.unpipe = function (dest) { + var state = this._readableState; + var unpipeInfo = { hasUnpiped: false }; + + // if we're not piping anywhere, then do nothing. + if (state.pipesCount === 0) return this; + + // just one destination. most common case. + if (state.pipesCount === 1) { + // passed in one, but it's not the right one. + if (dest && dest !== state.pipes) return this; + + if (!dest) dest = state.pipes; + + // got a match. + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + if (dest) dest.emit('unpipe', this, unpipeInfo); + return this; + } + + // slow case. multiple pipe destinations. + + if (!dest) { + // remove all. + var dests = state.pipes; + var len = state.pipesCount; + state.pipes = null; + state.pipesCount = 0; + state.flowing = false; + + for (var i = 0; i < len; i++) { + dests[i].emit('unpipe', this, { hasUnpiped: false }); + }return this; + } + + // try to find the right one. + var index = indexOf(state.pipes, dest); + if (index === -1) return this; + + state.pipes.splice(index, 1); + state.pipesCount -= 1; + if (state.pipesCount === 1) state.pipes = state.pipes[0]; + + dest.emit('unpipe', this, unpipeInfo); + + return this; +}; + +// set up data events if they are asked for +// Ensure readable listeners eventually get something +Readable.prototype.on = function (ev, fn) { + var res = Stream.prototype.on.call(this, ev, fn); + + if (ev === 'data') { + // Start flowing on next tick if stream isn't explicitly paused + if (this._readableState.flowing !== false) this.resume(); + } else if (ev === 'readable') { + var state = this._readableState; + if (!state.endEmitted && !state.readableListening) { + state.readableListening = state.needReadable = true; + state.emittedReadable = false; + if (!state.reading) { + pna.nextTick(nReadingNextTick, this); + } else if (state.length) { + emitReadable(this); + } + } + } + + return res; +}; +Readable.prototype.addListener = Readable.prototype.on; + +function nReadingNextTick(self) { + debug('readable nexttick read 0'); + self.read(0); +} + +// pause() and resume() are remnants of the legacy readable stream API +// If the user uses them, then switch into old mode. +Readable.prototype.resume = function () { + var state = this._readableState; + if (!state.flowing) { + debug('resume'); + state.flowing = true; + resume(this, state); + } + return this; +}; + +function resume(stream, state) { + if (!state.resumeScheduled) { + state.resumeScheduled = true; + pna.nextTick(resume_, stream, state); + } +} + +function resume_(stream, state) { + if (!state.reading) { + debug('resume read 0'); + stream.read(0); + } + + state.resumeScheduled = false; + state.awaitDrain = 0; + stream.emit('resume'); + flow(stream); + if (state.flowing && !state.reading) stream.read(0); +} + +Readable.prototype.pause = function () { + debug('call pause flowing=%j', this._readableState.flowing); + if (false !== this._readableState.flowing) { + debug('pause'); + this._readableState.flowing = false; + this.emit('pause'); + } + return this; +}; + +function flow(stream) { + var state = stream._readableState; + debug('flow', state.flowing); + while (state.flowing && stream.read() !== null) {} +} + +// wrap an old-style stream as the async data source. +// This is *not* part of the readable stream interface. +// It is an ugly unfortunate mess of history. +Readable.prototype.wrap = function (stream) { + var _this = this; + + var state = this._readableState; + var paused = false; + + stream.on('end', function () { + debug('wrapped end'); + if (state.decoder && !state.ended) { + var chunk = state.decoder.end(); + if (chunk && chunk.length) _this.push(chunk); + } + + _this.push(null); + }); + + stream.on('data', function (chunk) { + debug('wrapped data'); + if (state.decoder) chunk = state.decoder.write(chunk); + + // don't skip over falsy values in objectMode + if (state.objectMode && (chunk === null || chunk === undefined)) return;else if (!state.objectMode && (!chunk || !chunk.length)) return; + + var ret = _this.push(chunk); + if (!ret) { + paused = true; + stream.pause(); + } + }); + + // proxy all the other methods. + // important when wrapping filters and duplexes. + for (var i in stream) { + if (this[i] === undefined && typeof stream[i] === 'function') { + this[i] = function (method) { + return function () { + return stream[method].apply(stream, arguments); + }; + }(i); + } + } + + // proxy certain important events. + for (var n = 0; n < kProxyEvents.length; n++) { + stream.on(kProxyEvents[n], this.emit.bind(this, kProxyEvents[n])); + } + + // when we try to consume some more bytes, simply unpause the + // underlying stream. + this._read = function (n) { + debug('wrapped _read', n); + if (paused) { + paused = false; + stream.resume(); + } + }; + + return this; +}; + +Object.defineProperty(Readable.prototype, 'readableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function () { + return this._readableState.highWaterMark; + } +}); + +// exposed for testing purposes only. +Readable._fromList = fromList; + +// Pluck off n bytes from an array of buffers. +// Length is the combined lengths of all the buffers in the list. +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function fromList(n, state) { + // nothing buffered + if (state.length === 0) return null; + + var ret; + if (state.objectMode) ret = state.buffer.shift();else if (!n || n >= state.length) { + // read it all, truncate the list + if (state.decoder) ret = state.buffer.join('');else if (state.buffer.length === 1) ret = state.buffer.head.data;else ret = state.buffer.concat(state.length); + state.buffer.clear(); + } else { + // read part of list + ret = fromListPartial(n, state.buffer, state.decoder); + } + + return ret; +} + +// Extracts only enough buffered data to satisfy the amount requested. +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function fromListPartial(n, list, hasStrings) { + var ret; + if (n < list.head.data.length) { + // slice is the same for buffers and strings + ret = list.head.data.slice(0, n); + list.head.data = list.head.data.slice(n); + } else if (n === list.head.data.length) { + // first chunk is a perfect match + ret = list.shift(); + } else { + // result spans more than one buffer + ret = hasStrings ? copyFromBufferString(n, list) : copyFromBuffer(n, list); + } + return ret; +} + +// Copies a specified amount of characters from the list of buffered data +// chunks. +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function copyFromBufferString(n, list) { + var p = list.head; + var c = 1; + var ret = p.data; + n -= ret.length; + while (p = p.next) { + var str = p.data; + var nb = n > str.length ? str.length : n; + if (nb === str.length) ret += str;else ret += str.slice(0, n); + n -= nb; + if (n === 0) { + if (nb === str.length) { + ++c; + if (p.next) list.head = p.next;else list.head = list.tail = null; + } else { + list.head = p; + p.data = str.slice(nb); + } + break; + } + ++c; + } + list.length -= c; + return ret; +} + +// Copies a specified amount of bytes from the list of buffered data chunks. +// This function is designed to be inlinable, so please take care when making +// changes to the function body. +function copyFromBuffer(n, list) { + var ret = Buffer.allocUnsafe(n); + var p = list.head; + var c = 1; + p.data.copy(ret); + n -= p.data.length; + while (p = p.next) { + var buf = p.data; + var nb = n > buf.length ? buf.length : n; + buf.copy(ret, ret.length - n, 0, nb); + n -= nb; + if (n === 0) { + if (nb === buf.length) { + ++c; + if (p.next) list.head = p.next;else list.head = list.tail = null; + } else { + list.head = p; + p.data = buf.slice(nb); + } + break; + } + ++c; + } + list.length -= c; + return ret; +} + +function endReadable(stream) { + var state = stream._readableState; + + // If we get here before consuming all the bytes, then that is a + // bug in node. Should never happen. + if (state.length > 0) throw new Error('"endReadable()" called on non-empty stream'); + + if (!state.endEmitted) { + state.ended = true; + pna.nextTick(endReadableNT, state, stream); + } +} + +function endReadableNT(state, stream) { + // Check that we didn't get one last unshift. + if (!state.endEmitted && state.length === 0) { + state.endEmitted = true; + stream.readable = false; + stream.emit('end'); + } +} + +function indexOf(xs, x) { + for (var i = 0, l = xs.length; i < l; i++) { + if (xs[i] === x) return i; + } + return -1; +} \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js new file mode 100644 index 0000000000000000000000000000000000000000..fcfc105af8e9a124bea4b82011f6cb7d6d2a7158 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_transform.js @@ -0,0 +1,214 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// a transform stream is a readable/writable stream where you do +// something with the data. Sometimes it's called a "filter", +// but that's not a great name for it, since that implies a thing where +// some bits pass through, and others are simply ignored. (That would +// be a valid example of a transform, of course.) +// +// While the output is causally related to the input, it's not a +// necessarily symmetric or synchronous transformation. For example, +// a zlib stream might take multiple plain-text writes(), and then +// emit a single compressed chunk some time in the future. +// +// Here's how this works: +// +// The Transform stream has all the aspects of the readable and writable +// stream classes. When you write(chunk), that calls _write(chunk,cb) +// internally, and returns false if there's a lot of pending writes +// buffered up. When you call read(), that calls _read(n) until +// there's enough pending readable data buffered up. +// +// In a transform stream, the written data is placed in a buffer. When +// _read(n) is called, it transforms the queued up data, calling the +// buffered _write cb's as it consumes chunks. If consuming a single +// written chunk would result in multiple output chunks, then the first +// outputted bit calls the readcb, and subsequent chunks just go into +// the read buffer, and will cause it to emit 'readable' if necessary. +// +// This way, back-pressure is actually determined by the reading side, +// since _read has to be called to start processing a new chunk. However, +// a pathological inflate type of transform can cause excessive buffering +// here. For example, imagine a stream where every byte of input is +// interpreted as an integer from 0-255, and then results in that many +// bytes of output. Writing the 4 bytes {ff,ff,ff,ff} would result in +// 1kb of data being output. In this case, you could write a very small +// amount of input, and end up with a very large amount of output. In +// such a pathological inflating mechanism, there'd be no way to tell +// the system to stop doing the transform. A single 4MB write could +// cause the system to run out of memory. +// +// However, even in such a pathological case, only a single written chunk +// would be consumed, and then the rest would wait (un-transformed) until +// the results of the previous transformed chunk were consumed. + +'use strict'; + +module.exports = Transform; + +var Duplex = require('./_stream_duplex'); + +/**/ +var util = Object.create(require('core-util-is')); +util.inherits = require('inherits'); +/**/ + +util.inherits(Transform, Duplex); + +function afterTransform(er, data) { + var ts = this._transformState; + ts.transforming = false; + + var cb = ts.writecb; + + if (!cb) { + return this.emit('error', new Error('write callback called multiple times')); + } + + ts.writechunk = null; + ts.writecb = null; + + if (data != null) // single equals check for both `null` and `undefined` + this.push(data); + + cb(er); + + var rs = this._readableState; + rs.reading = false; + if (rs.needReadable || rs.length < rs.highWaterMark) { + this._read(rs.highWaterMark); + } +} + +function Transform(options) { + if (!(this instanceof Transform)) return new Transform(options); + + Duplex.call(this, options); + + this._transformState = { + afterTransform: afterTransform.bind(this), + needTransform: false, + transforming: false, + writecb: null, + writechunk: null, + writeencoding: null + }; + + // start out asking for a readable event once data is transformed. + this._readableState.needReadable = true; + + // we have implemented the _read method, and done the other things + // that Readable wants before the first _read call, so unset the + // sync guard flag. + this._readableState.sync = false; + + if (options) { + if (typeof options.transform === 'function') this._transform = options.transform; + + if (typeof options.flush === 'function') this._flush = options.flush; + } + + // When the writable side finishes, then flush out anything remaining. + this.on('prefinish', prefinish); +} + +function prefinish() { + var _this = this; + + if (typeof this._flush === 'function') { + this._flush(function (er, data) { + done(_this, er, data); + }); + } else { + done(this, null, null); + } +} + +Transform.prototype.push = function (chunk, encoding) { + this._transformState.needTransform = false; + return Duplex.prototype.push.call(this, chunk, encoding); +}; + +// This is the part where you do stuff! +// override this function in implementation classes. +// 'chunk' is an input chunk. +// +// Call `push(newChunk)` to pass along transformed output +// to the readable side. You may call 'push' zero or more times. +// +// Call `cb(err)` when you are done with this chunk. If you pass +// an error, then that'll put the hurt on the whole operation. If you +// never call cb(), then you'll never get another chunk. +Transform.prototype._transform = function (chunk, encoding, cb) { + throw new Error('_transform() is not implemented'); +}; + +Transform.prototype._write = function (chunk, encoding, cb) { + var ts = this._transformState; + ts.writecb = cb; + ts.writechunk = chunk; + ts.writeencoding = encoding; + if (!ts.transforming) { + var rs = this._readableState; + if (ts.needTransform || rs.needReadable || rs.length < rs.highWaterMark) this._read(rs.highWaterMark); + } +}; + +// Doesn't matter what the args are here. +// _transform does all the work. +// That we got here means that the readable side wants more data. +Transform.prototype._read = function (n) { + var ts = this._transformState; + + if (ts.writechunk !== null && ts.writecb && !ts.transforming) { + ts.transforming = true; + this._transform(ts.writechunk, ts.writeencoding, ts.afterTransform); + } else { + // mark that we need a transform, so that any data that comes in + // will get processed, now that we've asked for it. + ts.needTransform = true; + } +}; + +Transform.prototype._destroy = function (err, cb) { + var _this2 = this; + + Duplex.prototype._destroy.call(this, err, function (err2) { + cb(err2); + _this2.emit('close'); + }); +}; + +function done(stream, er, data) { + if (er) return stream.emit('error', er); + + if (data != null) // single equals check for both `null` and `undefined` + stream.push(data); + + // if there's nothing in the write buffer, then that means + // that nothing more will ever be provided + if (stream._writableState.length) throw new Error('Calling transform done when ws.length != 0'); + + if (stream._transformState.transforming) throw new Error('Calling transform done when still transforming'); + + return stream.push(null); +} \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js new file mode 100644 index 0000000000000000000000000000000000000000..e1e897ff3b098a263aa105d5704dbadce42d5862 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/_stream_writable.js @@ -0,0 +1,685 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// A bit simpler than readable streams. +// Implement an async ._write(chunk, encoding, cb), and it'll handle all +// the drain event emission and buffering. + +'use strict'; + +/**/ + +var pna = require('process-nextick-args'); +/**/ + +module.exports = Writable; + +/* */ +function WriteReq(chunk, encoding, cb) { + this.chunk = chunk; + this.encoding = encoding; + this.callback = cb; + this.next = null; +} + +// It seems a linked list but it is not +// there will be only 2 of these for each stream +function CorkedRequest(state) { + var _this = this; + + this.next = null; + this.entry = null; + this.finish = function () { + onCorkedFinish(_this, state); + }; +} +/* */ + +/**/ +var asyncWrite = !process.browser && ['v0.10', 'v0.9.'].indexOf(process.version.slice(0, 5)) > -1 ? setImmediate : pna.nextTick; +/**/ + +/**/ +var Duplex; +/**/ + +Writable.WritableState = WritableState; + +/**/ +var util = Object.create(require('core-util-is')); +util.inherits = require('inherits'); +/**/ + +/**/ +var internalUtil = { + deprecate: require('util-deprecate') +}; +/**/ + +/**/ +var Stream = require('./internal/streams/stream'); +/**/ + +/**/ + +var Buffer = require('safe-buffer').Buffer; +var OurUint8Array = (typeof global !== 'undefined' ? global : typeof window !== 'undefined' ? window : typeof self !== 'undefined' ? self : {}).Uint8Array || function () {}; +function _uint8ArrayToBuffer(chunk) { + return Buffer.from(chunk); +} +function _isUint8Array(obj) { + return Buffer.isBuffer(obj) || obj instanceof OurUint8Array; +} + +/**/ + +var destroyImpl = require('./internal/streams/destroy'); + +util.inherits(Writable, Stream); + +function nop() {} + +function WritableState(options, stream) { + Duplex = Duplex || require('./_stream_duplex'); + + options = options || {}; + + // Duplex streams are both readable and writable, but share + // the same options object. + // However, some cases require setting options to different + // values for the readable and the writable sides of the duplex stream. + // These options can be provided separately as readableXXX and writableXXX. + var isDuplex = stream instanceof Duplex; + + // object stream flag to indicate whether or not this stream + // contains buffers or objects. + this.objectMode = !!options.objectMode; + + if (isDuplex) this.objectMode = this.objectMode || !!options.writableObjectMode; + + // the point at which write() starts returning false + // Note: 0 is a valid value, means that we always return false if + // the entire buffer is not flushed immediately on write() + var hwm = options.highWaterMark; + var writableHwm = options.writableHighWaterMark; + var defaultHwm = this.objectMode ? 16 : 16 * 1024; + + if (hwm || hwm === 0) this.highWaterMark = hwm;else if (isDuplex && (writableHwm || writableHwm === 0)) this.highWaterMark = writableHwm;else this.highWaterMark = defaultHwm; + + // cast to ints. + this.highWaterMark = Math.floor(this.highWaterMark); + + // if _final has been called + this.finalCalled = false; + + // drain event flag. + this.needDrain = false; + // at the start of calling end() + this.ending = false; + // when end() has been called, and returned + this.ended = false; + // when 'finish' is emitted + this.finished = false; + + // has it been destroyed + this.destroyed = false; + + // should we decode strings into buffers before passing to _write? + // this is here so that some node-core streams can optimize string + // handling at a lower level. + var noDecode = options.decodeStrings === false; + this.decodeStrings = !noDecode; + + // Crypto is kind of old and crusty. Historically, its default string + // encoding is 'binary' so we have to make this configurable. + // Everything else in the universe uses 'utf8', though. + this.defaultEncoding = options.defaultEncoding || 'utf8'; + + // not an actual buffer we keep track of, but a measurement + // of how much we're waiting to get pushed to some underlying + // socket or file. + this.length = 0; + + // a flag to see when we're in the middle of a write. + this.writing = false; + + // when true all writes will be buffered until .uncork() call + this.corked = 0; + + // a flag to be able to tell if the onwrite cb is called immediately, + // or on a later tick. We set this to true at first, because any + // actions that shouldn't happen until "later" should generally also + // not happen before the first write call. + this.sync = true; + + // a flag to know if we're processing previously buffered items, which + // may call the _write() callback in the same tick, so that we don't + // end up in an overlapped onwrite situation. + this.bufferProcessing = false; + + // the callback that's passed to _write(chunk,cb) + this.onwrite = function (er) { + onwrite(stream, er); + }; + + // the callback that the user supplies to write(chunk,encoding,cb) + this.writecb = null; + + // the amount that is being written when _write is called. + this.writelen = 0; + + this.bufferedRequest = null; + this.lastBufferedRequest = null; + + // number of pending user-supplied write callbacks + // this must be 0 before 'finish' can be emitted + this.pendingcb = 0; + + // emit prefinish if the only thing we're waiting for is _write cbs + // This is relevant for synchronous Transform streams + this.prefinished = false; + + // True if the error was already emitted and should not be thrown again + this.errorEmitted = false; + + // count buffered requests + this.bufferedRequestCount = 0; + + // allocate the first CorkedRequest, there is always + // one allocated and free to use, and we maintain at most two + this.corkedRequestsFree = new CorkedRequest(this); +} + +WritableState.prototype.getBuffer = function getBuffer() { + var current = this.bufferedRequest; + var out = []; + while (current) { + out.push(current); + current = current.next; + } + return out; +}; + +(function () { + try { + Object.defineProperty(WritableState.prototype, 'buffer', { + get: internalUtil.deprecate(function () { + return this.getBuffer(); + }, '_writableState.buffer is deprecated. Use _writableState.getBuffer ' + 'instead.', 'DEP0003') + }); + } catch (_) {} +})(); + +// Test _writableState for inheritance to account for Duplex streams, +// whose prototype chain only points to Readable. +var realHasInstance; +if (typeof Symbol === 'function' && Symbol.hasInstance && typeof Function.prototype[Symbol.hasInstance] === 'function') { + realHasInstance = Function.prototype[Symbol.hasInstance]; + Object.defineProperty(Writable, Symbol.hasInstance, { + value: function (object) { + if (realHasInstance.call(this, object)) return true; + if (this !== Writable) return false; + + return object && object._writableState instanceof WritableState; + } + }); +} else { + realHasInstance = function (object) { + return object instanceof this; + }; +} + +function Writable(options) { + Duplex = Duplex || require('./_stream_duplex'); + + // Writable ctor is applied to Duplexes, too. + // `realHasInstance` is necessary because using plain `instanceof` + // would return false, as no `_writableState` property is attached. + + // Trying to use the custom `instanceof` for Writable here will also break the + // Node.js LazyTransform implementation, which has a non-trivial getter for + // `_writableState` that would lead to infinite recursion. + if (!realHasInstance.call(Writable, this) && !(this instanceof Duplex)) { + return new Writable(options); + } + + this._writableState = new WritableState(options, this); + + // legacy. + this.writable = true; + + if (options) { + if (typeof options.write === 'function') this._write = options.write; + + if (typeof options.writev === 'function') this._writev = options.writev; + + if (typeof options.destroy === 'function') this._destroy = options.destroy; + + if (typeof options.final === 'function') this._final = options.final; + } + + Stream.call(this); +} + +// Otherwise people can pipe Writable streams, which is just wrong. +Writable.prototype.pipe = function () { + this.emit('error', new Error('Cannot pipe, not readable')); +}; + +function writeAfterEnd(stream, cb) { + var er = new Error('write after end'); + // TODO: defer error events consistently everywhere, not just the cb + stream.emit('error', er); + pna.nextTick(cb, er); +} + +// Checks that a user-supplied chunk is valid, especially for the particular +// mode the stream is in. Currently this means that `null` is never accepted +// and undefined/non-string values are only allowed in object mode. +function validChunk(stream, state, chunk, cb) { + var valid = true; + var er = false; + + if (chunk === null) { + er = new TypeError('May not write null values to stream'); + } else if (typeof chunk !== 'string' && chunk !== undefined && !state.objectMode) { + er = new TypeError('Invalid non-string/buffer chunk'); + } + if (er) { + stream.emit('error', er); + pna.nextTick(cb, er); + valid = false; + } + return valid; +} + +Writable.prototype.write = function (chunk, encoding, cb) { + var state = this._writableState; + var ret = false; + var isBuf = !state.objectMode && _isUint8Array(chunk); + + if (isBuf && !Buffer.isBuffer(chunk)) { + chunk = _uint8ArrayToBuffer(chunk); + } + + if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + + if (isBuf) encoding = 'buffer';else if (!encoding) encoding = state.defaultEncoding; + + if (typeof cb !== 'function') cb = nop; + + if (state.ended) writeAfterEnd(this, cb);else if (isBuf || validChunk(this, state, chunk, cb)) { + state.pendingcb++; + ret = writeOrBuffer(this, state, isBuf, chunk, encoding, cb); + } + + return ret; +}; + +Writable.prototype.cork = function () { + var state = this._writableState; + + state.corked++; +}; + +Writable.prototype.uncork = function () { + var state = this._writableState; + + if (state.corked) { + state.corked--; + + if (!state.writing && !state.corked && !state.bufferProcessing && state.bufferedRequest) clearBuffer(this, state); + } +}; + +Writable.prototype.setDefaultEncoding = function setDefaultEncoding(encoding) { + // node::ParseEncoding() requires lower case. + if (typeof encoding === 'string') encoding = encoding.toLowerCase(); + if (!(['hex', 'utf8', 'utf-8', 'ascii', 'binary', 'base64', 'ucs2', 'ucs-2', 'utf16le', 'utf-16le', 'raw'].indexOf((encoding + '').toLowerCase()) > -1)) throw new TypeError('Unknown encoding: ' + encoding); + this._writableState.defaultEncoding = encoding; + return this; +}; + +function decodeChunk(state, chunk, encoding) { + if (!state.objectMode && state.decodeStrings !== false && typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + return chunk; +} + +Object.defineProperty(Writable.prototype, 'writableHighWaterMark', { + // making it explicit this property is not enumerable + // because otherwise some prototype manipulation in + // userland will fail + enumerable: false, + get: function () { + return this._writableState.highWaterMark; + } +}); + +// if we're already writing something, then just put this +// in the queue, and wait our turn. Otherwise, call _write +// If we return false, then we need a drain event, so set that flag. +function writeOrBuffer(stream, state, isBuf, chunk, encoding, cb) { + if (!isBuf) { + var newChunk = decodeChunk(state, chunk, encoding); + if (chunk !== newChunk) { + isBuf = true; + encoding = 'buffer'; + chunk = newChunk; + } + } + var len = state.objectMode ? 1 : chunk.length; + + state.length += len; + + var ret = state.length < state.highWaterMark; + // we must ensure that previous needDrain will not be reset to false. + if (!ret) state.needDrain = true; + + if (state.writing || state.corked) { + var last = state.lastBufferedRequest; + state.lastBufferedRequest = { + chunk: chunk, + encoding: encoding, + isBuf: isBuf, + callback: cb, + next: null + }; + if (last) { + last.next = state.lastBufferedRequest; + } else { + state.bufferedRequest = state.lastBufferedRequest; + } + state.bufferedRequestCount += 1; + } else { + doWrite(stream, state, false, len, chunk, encoding, cb); + } + + return ret; +} + +function doWrite(stream, state, writev, len, chunk, encoding, cb) { + state.writelen = len; + state.writecb = cb; + state.writing = true; + state.sync = true; + if (writev) stream._writev(chunk, state.onwrite);else stream._write(chunk, encoding, state.onwrite); + state.sync = false; +} + +function onwriteError(stream, state, sync, er, cb) { + --state.pendingcb; + + if (sync) { + // defer the callback if we are being called synchronously + // to avoid piling up things on the stack + pna.nextTick(cb, er); + // this can emit finish, and it will always happen + // after error + pna.nextTick(finishMaybe, stream, state); + stream._writableState.errorEmitted = true; + stream.emit('error', er); + } else { + // the caller expect this to happen before if + // it is async + cb(er); + stream._writableState.errorEmitted = true; + stream.emit('error', er); + // this can emit finish, but finish must + // always follow error + finishMaybe(stream, state); + } +} + +function onwriteStateUpdate(state) { + state.writing = false; + state.writecb = null; + state.length -= state.writelen; + state.writelen = 0; +} + +function onwrite(stream, er) { + var state = stream._writableState; + var sync = state.sync; + var cb = state.writecb; + + onwriteStateUpdate(state); + + if (er) onwriteError(stream, state, sync, er, cb);else { + // Check if we're actually ready to finish, but don't emit yet + var finished = needFinish(state); + + if (!finished && !state.corked && !state.bufferProcessing && state.bufferedRequest) { + clearBuffer(stream, state); + } + + if (sync) { + /**/ + asyncWrite(afterWrite, stream, state, finished, cb); + /**/ + } else { + afterWrite(stream, state, finished, cb); + } + } +} + +function afterWrite(stream, state, finished, cb) { + if (!finished) onwriteDrain(stream, state); + state.pendingcb--; + cb(); + finishMaybe(stream, state); +} + +// Must force callback to be called on nextTick, so that we don't +// emit 'drain' before the write() consumer gets the 'false' return +// value, and has a chance to attach a 'drain' listener. +function onwriteDrain(stream, state) { + if (state.length === 0 && state.needDrain) { + state.needDrain = false; + stream.emit('drain'); + } +} + +// if there's something in the buffer waiting, then process it +function clearBuffer(stream, state) { + state.bufferProcessing = true; + var entry = state.bufferedRequest; + + if (stream._writev && entry && entry.next) { + // Fast case, write everything using _writev() + var l = state.bufferedRequestCount; + var buffer = new Array(l); + var holder = state.corkedRequestsFree; + holder.entry = entry; + + var count = 0; + var allBuffers = true; + while (entry) { + buffer[count] = entry; + if (!entry.isBuf) allBuffers = false; + entry = entry.next; + count += 1; + } + buffer.allBuffers = allBuffers; + + doWrite(stream, state, true, state.length, buffer, '', holder.finish); + + // doWrite is almost always async, defer these to save a bit of time + // as the hot path ends with doWrite + state.pendingcb++; + state.lastBufferedRequest = null; + if (holder.next) { + state.corkedRequestsFree = holder.next; + holder.next = null; + } else { + state.corkedRequestsFree = new CorkedRequest(state); + } + state.bufferedRequestCount = 0; + } else { + // Slow case, write chunks one-by-one + while (entry) { + var chunk = entry.chunk; + var encoding = entry.encoding; + var cb = entry.callback; + var len = state.objectMode ? 1 : chunk.length; + + doWrite(stream, state, false, len, chunk, encoding, cb); + entry = entry.next; + state.bufferedRequestCount--; + // if we didn't call the onwrite immediately, then + // it means that we need to wait until it does. + // also, that means that the chunk and cb are currently + // being processed, so move the buffer counter past them. + if (state.writing) { + break; + } + } + + if (entry === null) state.lastBufferedRequest = null; + } + + state.bufferedRequest = entry; + state.bufferProcessing = false; +} + +Writable.prototype._write = function (chunk, encoding, cb) { + cb(new Error('_write() is not implemented')); +}; + +Writable.prototype._writev = null; + +Writable.prototype.end = function (chunk, encoding, cb) { + var state = this._writableState; + + if (typeof chunk === 'function') { + cb = chunk; + chunk = null; + encoding = null; + } else if (typeof encoding === 'function') { + cb = encoding; + encoding = null; + } + + if (chunk !== null && chunk !== undefined) this.write(chunk, encoding); + + // .end() fully uncorks + if (state.corked) { + state.corked = 1; + this.uncork(); + } + + // ignore unnecessary end() calls. + if (!state.ending) endWritable(this, state, cb); +}; + +function needFinish(state) { + return state.ending && state.length === 0 && state.bufferedRequest === null && !state.finished && !state.writing; +} +function callFinal(stream, state) { + stream._final(function (err) { + state.pendingcb--; + if (err) { + stream.emit('error', err); + } + state.prefinished = true; + stream.emit('prefinish'); + finishMaybe(stream, state); + }); +} +function prefinish(stream, state) { + if (!state.prefinished && !state.finalCalled) { + if (typeof stream._final === 'function') { + state.pendingcb++; + state.finalCalled = true; + pna.nextTick(callFinal, stream, state); + } else { + state.prefinished = true; + stream.emit('prefinish'); + } + } +} + +function finishMaybe(stream, state) { + var need = needFinish(state); + if (need) { + prefinish(stream, state); + if (state.pendingcb === 0) { + state.finished = true; + stream.emit('finish'); + } + } + return need; +} + +function endWritable(stream, state, cb) { + state.ending = true; + finishMaybe(stream, state); + if (cb) { + if (state.finished) pna.nextTick(cb);else stream.once('finish', cb); + } + state.ended = true; + stream.writable = false; +} + +function onCorkedFinish(corkReq, state, err) { + var entry = corkReq.entry; + corkReq.entry = null; + while (entry) { + var cb = entry.callback; + state.pendingcb--; + cb(err); + entry = entry.next; + } + + // reuse the free corkReq. + state.corkedRequestsFree.next = corkReq; +} + +Object.defineProperty(Writable.prototype, 'destroyed', { + get: function () { + if (this._writableState === undefined) { + return false; + } + return this._writableState.destroyed; + }, + set: function (value) { + // we ignore the value if the stream + // has not been initialized yet + if (!this._writableState) { + return; + } + + // backward compatibility, the user is explicitly + // managing destroyed + this._writableState.destroyed = value; + } +}); + +Writable.prototype.destroy = destroyImpl.destroy; +Writable.prototype._undestroy = destroyImpl.undestroy; +Writable.prototype._destroy = function (err, cb) { + this.end(); + cb(err); +}; \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js new file mode 100644 index 0000000000000000000000000000000000000000..5e080976c3932d544595c14704a7943a9fd9f282 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/BufferList.js @@ -0,0 +1,78 @@ +'use strict'; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var Buffer = require('safe-buffer').Buffer; +var util = require('util'); + +function copyBuffer(src, target, offset) { + src.copy(target, offset); +} + +module.exports = function () { + function BufferList() { + _classCallCheck(this, BufferList); + + this.head = null; + this.tail = null; + this.length = 0; + } + + BufferList.prototype.push = function push(v) { + var entry = { data: v, next: null }; + if (this.length > 0) this.tail.next = entry;else this.head = entry; + this.tail = entry; + ++this.length; + }; + + BufferList.prototype.unshift = function unshift(v) { + var entry = { data: v, next: this.head }; + if (this.length === 0) this.tail = entry; + this.head = entry; + ++this.length; + }; + + BufferList.prototype.shift = function shift() { + if (this.length === 0) return; + var ret = this.head.data; + if (this.length === 1) this.head = this.tail = null;else this.head = this.head.next; + --this.length; + return ret; + }; + + BufferList.prototype.clear = function clear() { + this.head = this.tail = null; + this.length = 0; + }; + + BufferList.prototype.join = function join(s) { + if (this.length === 0) return ''; + var p = this.head; + var ret = '' + p.data; + while (p = p.next) { + ret += s + p.data; + }return ret; + }; + + BufferList.prototype.concat = function concat(n) { + if (this.length === 0) return Buffer.alloc(0); + var ret = Buffer.allocUnsafe(n >>> 0); + var p = this.head; + var i = 0; + while (p) { + copyBuffer(p.data, ret, i); + i += p.data.length; + p = p.next; + } + return ret; + }; + + return BufferList; +}(); + +if (util && util.inspect && util.inspect.custom) { + module.exports.prototype[util.inspect.custom] = function () { + var obj = util.inspect({ length: this.length }); + return this.constructor.name + ' ' + obj; + }; +} \ No newline at end of file diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js new file mode 100644 index 0000000000000000000000000000000000000000..85a821407fce47a9c8f9521ca92538d67d0857ad --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/destroy.js @@ -0,0 +1,84 @@ +'use strict'; + +/**/ + +var pna = require('process-nextick-args'); +/**/ + +// undocumented cb() API, needed for core, not for public API +function destroy(err, cb) { + var _this = this; + + var readableDestroyed = this._readableState && this._readableState.destroyed; + var writableDestroyed = this._writableState && this._writableState.destroyed; + + if (readableDestroyed || writableDestroyed) { + if (cb) { + cb(err); + } else if (err) { + if (!this._writableState) { + pna.nextTick(emitErrorNT, this, err); + } else if (!this._writableState.errorEmitted) { + this._writableState.errorEmitted = true; + pna.nextTick(emitErrorNT, this, err); + } + } + + return this; + } + + // we set destroyed to true before firing error callbacks in order + // to make it re-entrance safe in case destroy() is called within callbacks + + if (this._readableState) { + this._readableState.destroyed = true; + } + + // if this is a duplex stream mark the writable part as destroyed as well + if (this._writableState) { + this._writableState.destroyed = true; + } + + this._destroy(err || null, function (err) { + if (!cb && err) { + if (!_this._writableState) { + pna.nextTick(emitErrorNT, _this, err); + } else if (!_this._writableState.errorEmitted) { + _this._writableState.errorEmitted = true; + pna.nextTick(emitErrorNT, _this, err); + } + } else if (cb) { + cb(err); + } + }); + + return this; +} + +function undestroy() { + if (this._readableState) { + this._readableState.destroyed = false; + this._readableState.reading = false; + this._readableState.ended = false; + this._readableState.endEmitted = false; + } + + if (this._writableState) { + this._writableState.destroyed = false; + this._writableState.ended = false; + this._writableState.ending = false; + this._writableState.finalCalled = false; + this._writableState.prefinished = false; + this._writableState.finished = false; + this._writableState.errorEmitted = false; + } +} + +function emitErrorNT(self, err) { + self.emit('error', err); +} + +module.exports = { + destroy: destroy, + undestroy: undestroy +}; \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/stream-browser.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/stream-browser.js rename to node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream-browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/stream.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/stream.js rename to node_backend/node_modules/concat-stream/node_modules/readable-stream/lib/internal/streams/stream.js diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/package.json b/node_backend/node_modules/concat-stream/node_modules/readable-stream/package.json new file mode 100644 index 0000000000000000000000000000000000000000..514c178e92045e082de6358f427d981f5b74d3d9 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/package.json @@ -0,0 +1,52 @@ +{ + "name": "readable-stream", + "version": "2.3.8", + "description": "Streams3, a user-land copy of the stream library from Node.js", + "main": "readable.js", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + }, + "devDependencies": { + "assert": "^1.4.0", + "babel-polyfill": "^6.9.1", + "buffer": "^4.9.0", + "lolex": "^2.3.2", + "nyc": "^6.4.0", + "tap": "^0.7.0", + "tape": "^4.8.0" + }, + "scripts": { + "test": "tap test/parallel/*.js test/ours/*.js && node test/verify-dependencies.js", + "ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js", + "cover": "nyc npm test", + "report": "nyc report --reporter=lcov" + }, + "repository": { + "type": "git", + "url": "git://github.com/nodejs/readable-stream" + }, + "keywords": [ + "readable", + "stream", + "pipe" + ], + "browser": { + "util": false, + "./readable.js": "./readable-browser.js", + "./writable.js": "./writable-browser.js", + "./duplex.js": "./duplex-browser.js", + "./lib/internal/streams/stream.js": "./lib/internal/streams/stream-browser.js" + }, + "nyc": { + "include": [ + "lib/**.js" + ] + }, + "license": "MIT" +} diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/passthrough.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/passthrough.js new file mode 100644 index 0000000000000000000000000000000000000000..ffd791d7ff275a58d537ea89153175a23edee5fb --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/passthrough.js @@ -0,0 +1 @@ +module.exports = require('./readable').PassThrough diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js new file mode 100644 index 0000000000000000000000000000000000000000..e50372592ee6c63a7fc43cb912dd9639e3fa7eb1 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable-browser.js @@ -0,0 +1,7 @@ +exports = module.exports = require('./lib/_stream_readable.js'); +exports.Stream = exports; +exports.Readable = exports; +exports.Writable = require('./lib/_stream_writable.js'); +exports.Duplex = require('./lib/_stream_duplex.js'); +exports.Transform = require('./lib/_stream_transform.js'); +exports.PassThrough = require('./lib/_stream_passthrough.js'); diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable.js new file mode 100644 index 0000000000000000000000000000000000000000..ec89ec53306497adae0014c4a8aba6d51d1aff6c --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/readable.js @@ -0,0 +1,19 @@ +var Stream = require('stream'); +if (process.env.READABLE_STREAM === 'disable' && Stream) { + module.exports = Stream; + exports = module.exports = Stream.Readable; + exports.Readable = Stream.Readable; + exports.Writable = Stream.Writable; + exports.Duplex = Stream.Duplex; + exports.Transform = Stream.Transform; + exports.PassThrough = Stream.PassThrough; + exports.Stream = Stream; +} else { + exports = module.exports = require('./lib/_stream_readable.js'); + exports.Stream = Stream || exports; + exports.Readable = exports; + exports.Writable = require('./lib/_stream_writable.js'); + exports.Duplex = require('./lib/_stream_duplex.js'); + exports.Transform = require('./lib/_stream_transform.js'); + exports.PassThrough = require('./lib/_stream_passthrough.js'); +} diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/transform.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/transform.js new file mode 100644 index 0000000000000000000000000000000000000000..b1baba26da03dc8bbc5d9da33cd55f3f88c99115 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/transform.js @@ -0,0 +1 @@ +module.exports = require('./readable').Transform diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable-browser.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable-browser.js new file mode 100644 index 0000000000000000000000000000000000000000..ebdde6a85dcb19bfdbfc2ec2e34b13a54c0e5bf0 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable-browser.js @@ -0,0 +1 @@ +module.exports = require('./lib/_stream_writable.js'); diff --git a/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable.js b/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable.js new file mode 100644 index 0000000000000000000000000000000000000000..3211a6f80d1abc9db7099cd1e8fa200ad2ccfdbe --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/readable-stream/writable.js @@ -0,0 +1,8 @@ +var Stream = require("stream") +var Writable = require("./lib/_stream_writable.js") + +if (process.env.READABLE_STREAM === 'disable') { + module.exports = Stream && Stream.Writable || Writable +} else { + module.exports = Writable +} diff --git a/Inscripciones_UAIE/node_backend/node_modules/safe-buffer/LICENSE b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safe-buffer/LICENSE rename to node_backend/node_modules/concat-stream/node_modules/safe-buffer/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/safe-buffer/README.md b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safe-buffer/README.md rename to node_backend/node_modules/concat-stream/node_modules/safe-buffer/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/safe-buffer/index.d.ts b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safe-buffer/index.d.ts rename to node_backend/node_modules/concat-stream/node_modules/safe-buffer/index.d.ts diff --git a/node_backend/node_modules/concat-stream/node_modules/safe-buffer/index.js b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/index.js new file mode 100644 index 0000000000000000000000000000000000000000..22438dabbbceef6954a1a7a68038f8c440a90c79 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/index.js @@ -0,0 +1,62 @@ +/* eslint-disable node/no-deprecated-api */ +var buffer = require('buffer') +var Buffer = buffer.Buffer + +// alternative to using Object.keys for old browsers +function copyProps (src, dst) { + for (var key in src) { + dst[key] = src[key] + } +} +if (Buffer.from && Buffer.alloc && Buffer.allocUnsafe && Buffer.allocUnsafeSlow) { + module.exports = buffer +} else { + // Copy properties from require('buffer') + copyProps(buffer, exports) + exports.Buffer = SafeBuffer +} + +function SafeBuffer (arg, encodingOrOffset, length) { + return Buffer(arg, encodingOrOffset, length) +} + +// Copy static methods from Buffer +copyProps(Buffer, SafeBuffer) + +SafeBuffer.from = function (arg, encodingOrOffset, length) { + if (typeof arg === 'number') { + throw new TypeError('Argument must not be a number') + } + return Buffer(arg, encodingOrOffset, length) +} + +SafeBuffer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + var buf = Buffer(size) + if (fill !== undefined) { + if (typeof encoding === 'string') { + buf.fill(fill, encoding) + } else { + buf.fill(fill) + } + } else { + buf.fill(0) + } + return buf +} + +SafeBuffer.allocUnsafe = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return Buffer(size) +} + +SafeBuffer.allocUnsafeSlow = function (size) { + if (typeof size !== 'number') { + throw new TypeError('Argument must be a number') + } + return buffer.SlowBuffer(size) +} diff --git a/node_backend/node_modules/concat-stream/node_modules/safe-buffer/package.json b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/package.json new file mode 100644 index 0000000000000000000000000000000000000000..623fbc3f6b0c480fb0b3257fc666b1db827378bf --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/safe-buffer/package.json @@ -0,0 +1,37 @@ +{ + "name": "safe-buffer", + "description": "Safer Node.js Buffer API", + "version": "5.1.2", + "author": { + "name": "Feross Aboukhadijeh", + "email": "feross@feross.org", + "url": "http://feross.org" + }, + "bugs": { + "url": "https://github.com/feross/safe-buffer/issues" + }, + "devDependencies": { + "standard": "*", + "tape": "^4.0.0" + }, + "homepage": "https://github.com/feross/safe-buffer", + "keywords": [ + "buffer", + "buffer allocate", + "node security", + "safe", + "safe-buffer", + "security", + "uninitialized" + ], + "license": "MIT", + "main": "index.js", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "git://github.com/feross/safe-buffer.git" + }, + "scripts": { + "test": "standard && tape test/*.js" + } +} diff --git a/node_backend/node_modules/concat-stream/node_modules/string_decoder/.travis.yml b/node_backend/node_modules/concat-stream/node_modules/string_decoder/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..3347a7254650582da5339323466f84fe079fc270 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/string_decoder/.travis.yml @@ -0,0 +1,50 @@ +sudo: false +language: node_js +before_install: + - npm install -g npm@2 + - test $NPM_LEGACY && npm install -g npm@latest-3 || npm install npm -g +notifications: + email: false +matrix: + fast_finish: true + include: + - node_js: '0.8' + env: + - TASK=test + - NPM_LEGACY=true + - node_js: '0.10' + env: + - TASK=test + - NPM_LEGACY=true + - node_js: '0.11' + env: + - TASK=test + - NPM_LEGACY=true + - node_js: '0.12' + env: + - TASK=test + - NPM_LEGACY=true + - node_js: 1 + env: + - TASK=test + - NPM_LEGACY=true + - node_js: 2 + env: + - TASK=test + - NPM_LEGACY=true + - node_js: 3 + env: + - TASK=test + - NPM_LEGACY=true + - node_js: 4 + env: TASK=test + - node_js: 5 + env: TASK=test + - node_js: 6 + env: TASK=test + - node_js: 7 + env: TASK=test + - node_js: 8 + env: TASK=test + - node_js: 9 + env: TASK=test diff --git a/Inscripciones_UAIE/node_backend/node_modules/string_decoder/LICENSE b/node_backend/node_modules/concat-stream/node_modules/string_decoder/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string_decoder/LICENSE rename to node_backend/node_modules/concat-stream/node_modules/string_decoder/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/string_decoder/README.md b/node_backend/node_modules/concat-stream/node_modules/string_decoder/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string_decoder/README.md rename to node_backend/node_modules/concat-stream/node_modules/string_decoder/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/string_decoder/lib/string_decoder.js b/node_backend/node_modules/concat-stream/node_modules/string_decoder/lib/string_decoder.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string_decoder/lib/string_decoder.js rename to node_backend/node_modules/concat-stream/node_modules/string_decoder/lib/string_decoder.js diff --git a/node_backend/node_modules/concat-stream/node_modules/string_decoder/package.json b/node_backend/node_modules/concat-stream/node_modules/string_decoder/package.json new file mode 100644 index 0000000000000000000000000000000000000000..518c3eb9fb1ffbf72bfdf6fed252117b73164673 --- /dev/null +++ b/node_backend/node_modules/concat-stream/node_modules/string_decoder/package.json @@ -0,0 +1,31 @@ +{ + "name": "string_decoder", + "version": "1.1.1", + "description": "The string_decoder module from Node core", + "main": "lib/string_decoder.js", + "dependencies": { + "safe-buffer": "~5.1.0" + }, + "devDependencies": { + "babel-polyfill": "^6.23.0", + "core-util-is": "^1.0.2", + "inherits": "^2.0.3", + "tap": "~0.4.8" + }, + "scripts": { + "test": "tap test/parallel/*.js && node test/verify-dependencies", + "ci": "tap test/parallel/*.js test/ours/*.js --tap | tee test.tap && node test/verify-dependencies.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/nodejs/string_decoder.git" + }, + "homepage": "https://github.com/nodejs/string_decoder", + "keywords": [ + "string", + "decoder", + "browser", + "browserify" + ], + "license": "MIT" +} diff --git a/node_backend/node_modules/concat-stream/package.json b/node_backend/node_modules/concat-stream/package.json new file mode 100644 index 0000000000000000000000000000000000000000..f7090223487280d770e9b67b603e60aed789ecf5 --- /dev/null +++ b/node_backend/node_modules/concat-stream/package.json @@ -0,0 +1,55 @@ +{ + "name": "concat-stream", + "version": "1.6.2", + "description": "writable stream that concatenates strings or binary data and calls a callback with the result", + "tags": [ + "stream", + "simple", + "util", + "utility" + ], + "author": "Max Ogden ", + "repository": { + "type": "git", + "url": "http://github.com/maxogden/concat-stream.git" + }, + "bugs": { + "url": "http://github.com/maxogden/concat-stream/issues" + }, + "engines": [ + "node >= 0.8" + ], + "main": "index.js", + "files": [ + "index.js" + ], + "scripts": { + "test": "tape test/*.js test/server/*.js" + }, + "license": "MIT", + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + }, + "devDependencies": { + "tape": "^4.6.3" + }, + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/8..latest", + "firefox/17..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + } +} diff --git a/node_backend/node_modules/concat-stream/readme.md b/node_backend/node_modules/concat-stream/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..7aa19c4fb104c31236f8419f421f848d7159ef8d --- /dev/null +++ b/node_backend/node_modules/concat-stream/readme.md @@ -0,0 +1,102 @@ +# concat-stream + +Writable stream that concatenates all the data from a stream and calls a callback with the result. Use this when you want to collect all the data from a stream into a single buffer. + +[![Build Status](https://travis-ci.org/maxogden/concat-stream.svg?branch=master)](https://travis-ci.org/maxogden/concat-stream) + +[![NPM](https://nodei.co/npm/concat-stream.png)](https://nodei.co/npm/concat-stream/) + +### description + +Streams emit many buffers. If you want to collect all of the buffers, and when the stream ends concatenate all of the buffers together and receive a single buffer then this is the module for you. + +Only use this if you know you can fit all of the output of your stream into a single Buffer (e.g. in RAM). + +There are also `objectMode` streams that emit things other than Buffers, and you can concatenate these too. See below for details. + +## Related + +`concat-stream` is part of the [mississippi stream utility collection](https://github.com/maxogden/mississippi) which includes more useful stream modules similar to this one. + +### examples + +#### Buffers + +```js +var fs = require('fs') +var concat = require('concat-stream') + +var readStream = fs.createReadStream('cat.png') +var concatStream = concat(gotPicture) + +readStream.on('error', handleError) +readStream.pipe(concatStream) + +function gotPicture(imageBuffer) { + // imageBuffer is all of `cat.png` as a node.js Buffer +} + +function handleError(err) { + // handle your error appropriately here, e.g.: + console.error(err) // print the error to STDERR + process.exit(1) // exit program with non-zero exit code +} + +``` + +#### Arrays + +```js +var write = concat(function(data) {}) +write.write([1,2,3]) +write.write([4,5,6]) +write.end() +// data will be [1,2,3,4,5,6] in the above callback +``` + +#### Uint8Arrays + +```js +var write = concat(function(data) {}) +var a = new Uint8Array(3) +a[0] = 97; a[1] = 98; a[2] = 99 +write.write(a) +write.write('!') +write.end(Buffer.from('!!1')) +``` + +See `test/` for more examples + +# methods + +```js +var concat = require('concat-stream') +``` + +## var writable = concat(opts={}, cb) + +Return a `writable` stream that will fire `cb(data)` with all of the data that +was written to the stream. Data can be written to `writable` as strings, +Buffers, arrays of byte integers, and Uint8Arrays. + +By default `concat-stream` will give you back the same data type as the type of the first buffer written to the stream. Use `opts.encoding` to set what format `data` should be returned as, e.g. if you if you don't want to rely on the built-in type checking or for some other reason. + +* `string` - get a string +* `buffer` - get back a Buffer +* `array` - get an array of byte integers +* `uint8array`, `u8`, `uint8` - get back a Uint8Array +* `object`, get back an array of Objects + +If you don't specify an encoding, and the types can't be inferred (e.g. you write things that aren't in the list above), it will try to convert concat them into a `Buffer`. + +If nothing is written to `writable` then `data` will be an empty array `[]`. + +# error handling + +`concat-stream` does not handle errors for you, so you must handle errors on whatever streams you pipe into `concat-stream`. This is a general rule when programming with node.js streams: always handle errors on each and every stream. Since `concat-stream` is not itself a stream it does not emit errors. + +We recommend using [`end-of-stream`](https://npmjs.org/end-of-stream) or [`pump`](https://npmjs.org/pump) for writing error tolerant stream code. + +# license + +MIT LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/console-control-strings/LICENSE b/node_backend/node_modules/console-control-strings/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/console-control-strings/LICENSE rename to node_backend/node_modules/console-control-strings/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/console-control-strings/README.md b/node_backend/node_modules/console-control-strings/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/console-control-strings/README.md rename to node_backend/node_modules/console-control-strings/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/console-control-strings/README.md~ b/node_backend/node_modules/console-control-strings/README.md~ similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/console-control-strings/README.md~ rename to node_backend/node_modules/console-control-strings/README.md~ diff --git a/Inscripciones_UAIE/node_backend/node_modules/console-control-strings/index.js b/node_backend/node_modules/console-control-strings/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/console-control-strings/index.js rename to node_backend/node_modules/console-control-strings/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/console-control-strings/package.json b/node_backend/node_modules/console-control-strings/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/console-control-strings/package.json rename to node_backend/node_modules/console-control-strings/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-disposition/HISTORY.md b/node_backend/node_modules/content-disposition/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-disposition/HISTORY.md rename to node_backend/node_modules/content-disposition/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-disposition/LICENSE b/node_backend/node_modules/content-disposition/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-disposition/LICENSE rename to node_backend/node_modules/content-disposition/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-disposition/README.md b/node_backend/node_modules/content-disposition/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-disposition/README.md rename to node_backend/node_modules/content-disposition/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-disposition/index.js b/node_backend/node_modules/content-disposition/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-disposition/index.js rename to node_backend/node_modules/content-disposition/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-disposition/package.json b/node_backend/node_modules/content-disposition/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-disposition/package.json rename to node_backend/node_modules/content-disposition/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-type/HISTORY.md b/node_backend/node_modules/content-type/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-type/HISTORY.md rename to node_backend/node_modules/content-type/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-type/LICENSE b/node_backend/node_modules/content-type/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-type/LICENSE rename to node_backend/node_modules/content-type/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-type/README.md b/node_backend/node_modules/content-type/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-type/README.md rename to node_backend/node_modules/content-type/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-type/index.js b/node_backend/node_modules/content-type/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-type/index.js rename to node_backend/node_modules/content-type/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/content-type/package.json b/node_backend/node_modules/content-type/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/content-type/package.json rename to node_backend/node_modules/content-type/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie-signature/.npmignore b/node_backend/node_modules/cookie-signature/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie-signature/.npmignore rename to node_backend/node_modules/cookie-signature/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie-signature/History.md b/node_backend/node_modules/cookie-signature/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie-signature/History.md rename to node_backend/node_modules/cookie-signature/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie-signature/Readme.md b/node_backend/node_modules/cookie-signature/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie-signature/Readme.md rename to node_backend/node_modules/cookie-signature/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie-signature/index.js b/node_backend/node_modules/cookie-signature/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie-signature/index.js rename to node_backend/node_modules/cookie-signature/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie-signature/package.json b/node_backend/node_modules/cookie-signature/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie-signature/package.json rename to node_backend/node_modules/cookie-signature/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie/LICENSE b/node_backend/node_modules/cookie/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie/LICENSE rename to node_backend/node_modules/cookie/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie/README.md b/node_backend/node_modules/cookie/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie/README.md rename to node_backend/node_modules/cookie/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie/SECURITY.md b/node_backend/node_modules/cookie/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie/SECURITY.md rename to node_backend/node_modules/cookie/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie/index.js b/node_backend/node_modules/cookie/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie/index.js rename to node_backend/node_modules/cookie/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/cookie/package.json b/node_backend/node_modules/cookie/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cookie/package.json rename to node_backend/node_modules/cookie/package.json diff --git a/node_backend/node_modules/core-util-is/LICENSE b/node_backend/node_modules/core-util-is/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..d8d7f9437dbf5ad54701a187f05988bcf0006fd8 --- /dev/null +++ b/node_backend/node_modules/core-util-is/LICENSE @@ -0,0 +1,19 @@ +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. diff --git a/node_backend/node_modules/core-util-is/README.md b/node_backend/node_modules/core-util-is/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5a76b4149c5eb5077c09578e349820bccbbd266e --- /dev/null +++ b/node_backend/node_modules/core-util-is/README.md @@ -0,0 +1,3 @@ +# core-util-is + +The `util.is*` functions introduced in Node v0.12. diff --git a/node_backend/node_modules/core-util-is/lib/util.js b/node_backend/node_modules/core-util-is/lib/util.js new file mode 100644 index 0000000000000000000000000000000000000000..6e5a20d7dc09e280bf06302f4f872b8eb168aac0 --- /dev/null +++ b/node_backend/node_modules/core-util-is/lib/util.js @@ -0,0 +1,107 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +// NOTE: These type checking functions intentionally don't use `instanceof` +// because it is fragile and can be easily faked with `Object.create()`. + +function isArray(arg) { + if (Array.isArray) { + return Array.isArray(arg); + } + return objectToString(arg) === '[object Array]'; +} +exports.isArray = isArray; + +function isBoolean(arg) { + return typeof arg === 'boolean'; +} +exports.isBoolean = isBoolean; + +function isNull(arg) { + return arg === null; +} +exports.isNull = isNull; + +function isNullOrUndefined(arg) { + return arg == null; +} +exports.isNullOrUndefined = isNullOrUndefined; + +function isNumber(arg) { + return typeof arg === 'number'; +} +exports.isNumber = isNumber; + +function isString(arg) { + return typeof arg === 'string'; +} +exports.isString = isString; + +function isSymbol(arg) { + return typeof arg === 'symbol'; +} +exports.isSymbol = isSymbol; + +function isUndefined(arg) { + return arg === void 0; +} +exports.isUndefined = isUndefined; + +function isRegExp(re) { + return objectToString(re) === '[object RegExp]'; +} +exports.isRegExp = isRegExp; + +function isObject(arg) { + return typeof arg === 'object' && arg !== null; +} +exports.isObject = isObject; + +function isDate(d) { + return objectToString(d) === '[object Date]'; +} +exports.isDate = isDate; + +function isError(e) { + return (objectToString(e) === '[object Error]' || e instanceof Error); +} +exports.isError = isError; + +function isFunction(arg) { + return typeof arg === 'function'; +} +exports.isFunction = isFunction; + +function isPrimitive(arg) { + return arg === null || + typeof arg === 'boolean' || + typeof arg === 'number' || + typeof arg === 'string' || + typeof arg === 'symbol' || // ES6 symbol + typeof arg === 'undefined'; +} +exports.isPrimitive = isPrimitive; + +exports.isBuffer = require('buffer').Buffer.isBuffer; + +function objectToString(o) { + return Object.prototype.toString.call(o); +} diff --git a/node_backend/node_modules/core-util-is/package.json b/node_backend/node_modules/core-util-is/package.json new file mode 100644 index 0000000000000000000000000000000000000000..b0c51f580be4cff40105d5b52a8a513bc0330e94 --- /dev/null +++ b/node_backend/node_modules/core-util-is/package.json @@ -0,0 +1,38 @@ +{ + "name": "core-util-is", + "version": "1.0.3", + "description": "The `util.is*` functions introduced in Node v0.12.", + "main": "lib/util.js", + "files": [ + "lib" + ], + "repository": { + "type": "git", + "url": "git://github.com/isaacs/core-util-is" + }, + "keywords": [ + "util", + "isBuffer", + "isArray", + "isNumber", + "isString", + "isRegExp", + "isThis", + "isThat", + "polyfill" + ], + "author": "Isaac Z. Schlueter (http://blog.izs.me/)", + "license": "MIT", + "bugs": { + "url": "https://github.com/isaacs/core-util-is/issues" + }, + "scripts": { + "test": "tap test.js", + "preversion": "npm test", + "postversion": "npm publish", + "prepublishOnly": "git push origin --follow-tags" + }, + "devDependencies": { + "tap": "^15.0.9" + } +} diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/CONTRIBUTING.md b/node_backend/node_modules/cors/CONTRIBUTING.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/CONTRIBUTING.md rename to node_backend/node_modules/cors/CONTRIBUTING.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/HISTORY.md b/node_backend/node_modules/cors/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/HISTORY.md rename to node_backend/node_modules/cors/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/LICENSE b/node_backend/node_modules/cors/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/LICENSE rename to node_backend/node_modules/cors/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/README.md b/node_backend/node_modules/cors/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/README.md rename to node_backend/node_modules/cors/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/lib/index.js b/node_backend/node_modules/cors/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/lib/index.js rename to node_backend/node_modules/cors/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/cors/package.json b/node_backend/node_modules/cors/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/cors/package.json rename to node_backend/node_modules/cors/package.json diff --git a/node_backend/node_modules/csv-parser/LICENSE b/node_backend/node_modules/csv-parser/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..757562ec59276bff35792501d88fe83b34acca9a --- /dev/null +++ b/node_backend/node_modules/csv-parser/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2014 Mathias Buus + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/node_backend/node_modules/csv-parser/README.md b/node_backend/node_modules/csv-parser/README.md new file mode 100644 index 0000000000000000000000000000000000000000..bfd4b31491538e5fab88f64dae1e4c66fad4b867 --- /dev/null +++ b/node_backend/node_modules/csv-parser/README.md @@ -0,0 +1,358 @@ +[tests]: http://img.shields.io/travis/mafintosh/csv-parser.svg +[tests-url]: http://travis-ci.org/mafintosh/csv-parser + +[cover]: https://codecov.io/gh/mafintosh/csv-parser/branch/master/graph/badge.svg +[cover-url]: https://codecov.io/gh/mafintosh/csv-parser + +[size]: https://packagephobia.now.sh/badge?p=csv-parser +[size-url]: https://packagephobia.now.sh/result?p=csv-parser + +# csv-parser + +[![tests][tests]][tests-url] +[![cover][cover]][cover-url] +[![size][size]][size-url] + +Streaming CSV parser that aims for maximum speed as well as compatibility with +the [csv-spectrum](https://npmjs.org/csv-spectrum) CSV acid test suite. + +`csv-parser` can convert CSV into JSON at at rate of around 90,000 rows per +second. Performance varies with the data used; try `bin/bench.js ` +to benchmark your data. + +`csv-parser` can be used in the browser with [browserify](http://browserify.org/). + +[neat-csv](https://github.com/sindresorhus/neat-csv) can be used if a `Promise` +based interface to `csv-parser` is needed. + +_Note: This module requires Node v8.16.0 or higher._ + +## Benchmarks + +⚡️ `csv-parser` is greased-lightning fast + +```console +→ npm run bench + + Filename Rows Parsed Duration + backtick.csv 2 3.5ms + bad-data.csv 3 0.55ms + basic.csv 1 0.26ms + comma-in-quote.csv 1 0.29ms + comment.csv 2 0.40ms + empty-columns.csv 1 0.40ms + escape-quotes.csv 3 0.38ms + geojson.csv 3 0.46ms + large-dataset.csv 7268 73ms + newlines.csv 3 0.35ms + no-headers.csv 3 0.26ms + option-comment.csv 2 0.24ms + option-escape.csv 3 0.25ms + option-maxRowBytes.csv 4577 39ms + option-newline.csv 0 0.47ms + option-quote-escape.csv 3 0.33ms + option-quote-many.csv 3 0.38ms + option-quote.csv 2 0.22ms + quotes+newlines.csv 3 0.20ms + strict.csv 3 0.22ms + latin.csv 2 0.38ms + mac-newlines.csv 2 0.28ms + utf16-big.csv 2 0.33ms + utf16.csv 2 0.26ms + utf8.csv 2 0.24ms +``` + +## Install + +Using npm: + +```console +$ npm install csv-parser +``` + +Using yarn: + +```console +$ yarn add csv-parser +``` + +## Usage + +To use the module, create a readable stream to a desired CSV file, instantiate +`csv`, and pipe the stream to `csv`. + +Suppose you have a CSV file `data.csv` which contains the data: + +``` +NAME,AGE +Daffy Duck,24 +Bugs Bunny,22 +``` + +It could then be parsed, and results shown like so: + +``` js +const csv = require('csv-parser') +const fs = require('fs') +const results = []; + +fs.createReadStream('data.csv') + .pipe(csv()) + .on('data', (data) => results.push(data)) + .on('end', () => { + console.log(results); + // [ + // { NAME: 'Daffy Duck', AGE: '24' }, + // { NAME: 'Bugs Bunny', AGE: '22' } + // ] + }); +``` + +To specify options for `csv`, pass an object argument to the function. For +example: + +```js +csv({ separator: '\t' }); +``` + +## API + +### csv([options | headers]) + +Returns: `Array[Object]` + +#### options + +Type: `Object` + +As an alternative to passing an `options` object, you may pass an `Array[String]` +which specifies the headers to use. For example: + +```js +csv(['Name', 'Age']); +``` + +If you need to specify options _and_ headers, please use the the object notation +with the `headers` property as shown below. + +#### escape + +Type: `String`
+Default: `"` + +A single-character string used to specify the character used to escape strings +in a CSV row. + +#### headers + +Type: `Array[String] | Boolean` + +Specifies the headers to use. Headers define the property key for each value in +a CSV row. If no `headers` option is provided, `csv-parser` will use the first +line in a CSV file as the header specification. + +If `false`, specifies that the first row in a data file does _not_ contain +headers, and instructs the parser to use the column index as the key for each column. +Using `headers: false` with the same `data.csv` example from above would yield: + +``` js +[ + { '0': 'Daffy Duck', '1': 24 }, + { '0': 'Bugs Bunny', '1': 22 } +] +``` + +_Note: If using the `headers` for an operation on a file which contains headers on the first line, specify `skipLines: 1` to skip over the row, or the headers row will appear as normal row data. Alternatively, use the `mapHeaders` option to manipulate existing headers in that scenario._ + +#### mapHeaders + +Type: `Function` + +A function that can be used to modify the values of each header. Return a `String` to modify the header. Return `null` to remove the header, and it's column, from the results. + +```js +csv({ + mapHeaders: ({ header, index }) => header.toLowerCase() +}) +``` + +##### Parameters + +**header** _String_ The current column header.
+**index** _Number_ The current column index. + +#### mapValues + +Type: `Function` + +A function that can be used to modify the content of each column. The return value will replace the current column content. + +```js +csv({ + mapValues: ({ header, index, value }) => value.toLowerCase() +}) +``` + +##### Parameters + +**header** _String_ The current column header.
+**index** _Number_ The current column index.
+**value** _String_ The current column value (or content). + +##### newline + +Type: `String`
+Default: `\n` + +Specifies a single-character string to denote the end of a line in a CSV file. + +#### quote + +Type: `String`
+Default: `"` + +Specifies a single-character string to denote a quoted string. + +#### raw + +Type: `Boolean`
+ +If `true`, instructs the parser not to decode UTF-8 strings. + +#### separator + +Type: `String`
+Default: `,` + +Specifies a single-character string to use as the column separator for each row. + +#### skipComments + +Type: `Boolean | String`
+Default: `false` + +Instructs the parser to ignore lines which represent comments in a CSV file. Since there is no specification that dictates what a CSV comment looks like, comments should be considered non-standard. The "most common" character used to signify a comment in a CSV file is `"#"`. If this option is set to `true`, lines which begin with `#` will be skipped. If a custom character is needed to denote a commented line, this option may be set to a string which represents the leading character(s) signifying a comment line. + +#### skipLines + +Type: `Number`
+Default: `0` + +Specifies the number of lines at the beginning of a data file that the parser should +skip over, prior to parsing headers. + +#### maxRowBytes + +Type: `Number`
+Default: `Number.MAX_SAFE_INTEGER` + +Maximum number of bytes per row. An error is thrown if a line exeeds this value. The default value is on 8 peta byte. + +#### strict + +Type: `Boolean`
+Default: `false` + +If `true`, instructs the parser that the number of columns in each row must match +the number of `headers` specified or throws an exception. +if `false`: the headers are mapped to the column index + less columns: any missing column in the middle will result in a wrong property mapping! + more columns: the aditional columns will create a "_"+index properties - eg. "_10":"value" + +## Events + +The following events are emitted during parsing: + +### `data` + +Emitted for each row of data parsed with the notable exception of the header +row. Please see [Usage](#Usage) for an example. + +### `headers` + +Emitted after the header row is parsed. The first parameter of the event +callback is an `Array[String]` containing the header names. + +```js +fs.createReadStream('data.csv') + .pipe(csv()) + .on('headers', (headers) => { + console.log(`First header: ${headers[0]}`) + }) +``` + +### Readable Stream Events + +Events available on Node built-in +[Readable Streams](https://nodejs.org/api/stream.html#stream_class_stream_readable) +are also emitted. The `end` event should be used to detect the end of parsing. + +## CLI + +This module also provides a CLI which will convert CSV to +[newline-delimited](http://ndjson.org/) JSON. The following CLI flags can be +used to control how input is parsed: + +``` +Usage: csv-parser [filename?] [options] + + --escape,-e Set the escape character (defaults to quote value) + --headers,-h Explicitly specify csv headers as a comma separated list + --help Show this help + --output,-o Set output file. Defaults to stdout + --quote,-q Set the quote character ('"' by default) + --remove Remove columns from output by header name + --separator,-s Set the separator character ("," by default) + --skipComments,-c Skip CSV comments that begin with '#'. Set a value to change the comment character. + --skipLines,-l Set the number of lines to skip to before parsing headers + --strict Require column length match headers length + --version,-v Print out the installed version +``` + +For example; to parse a TSV file: + +``` +cat data.tsv | csv-parser -s $'\t' +``` + +## Encoding + +Users may encounter issues with the encoding of a CSV file. Transcoding the +source stream can be done neatly with a modules such as: +- [`iconv-lite`](https://www.npmjs.com/package/iconv-lite) +- [`iconv`](https://www.npmjs.com/package/iconv) + +Or native [`iconv`](http://man7.org/linux/man-pages/man1/iconv.1.html) if part +of a pipeline. + +## Byte Order Marks + +Some CSV files may be generated with, or contain a leading [Byte Order Mark](https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8). This may cause issues parsing headers and/or data from your file. From Wikipedia: + +>The Unicode Standard permits the BOM in UTF-8, but does not require nor recommend its use. Byte order has no meaning in UTF-8. + +To use this module with a file containing a BOM, please use a module like [strip-bom-stream](https://github.com/sindresorhus/strip-bom-stream) in your pipeline: + +```js +const fs = require('fs'); + +const csv = require('csv-parser'); +const stripBom = require('strip-bom-stream'); + +fs.createReadStream('data.csv') + .pipe(stripBom()) + .pipe(csv()) + ... +``` + +When using the CLI, the BOM can be removed by first running: + +```console +$ sed $'s/\xEF\xBB\xBF//g' data.csv +``` + +## Meta + +[CONTRIBUTING](./.github/CONTRIBUTING) + +[LICENSE (MIT)](./LICENSE) diff --git a/node_backend/node_modules/csv-parser/bin/csv-parser b/node_backend/node_modules/csv-parser/bin/csv-parser new file mode 100644 index 0000000000000000000000000000000000000000..f895a8ebd8d9d556ee2bcf06263c0cdbbfc6ab33 --- /dev/null +++ b/node_backend/node_modules/csv-parser/bin/csv-parser @@ -0,0 +1,94 @@ +#!/usr/bin/env node + +const { EOL } = require('os') +const minimist = require('minimist') +const { Transform } = require('stream'); +const fs = require('fs') +const csv = require('../') +const pkg = require('../package.json') + +const argv = minimist(process.argv, { + alias: { + c: 'skipComments', + e: 'escape', + h: 'headers', + o: 'output', + q: 'quote', + l: 'skipLines', + s: 'separator', + v: 'version' + }, + default: { + e: '"', + q: '"', + s: ',' + }, + boolean: ['version', 'help'] +}) + +const [,, filename] = argv._ + +if (argv.version) { + console.log(pkg.version) + process.exit(0) +} + +if (argv.help || (process.stdin.isTTY && !filename)) { + console.error(`Usage: csv-parser [filename?] [options] + --escape,-e Set the escape character (defaults to quote value) + --headers,-h Explicitly specify csv headers as a comma separated list + --help Show this help + --output,-o Set output file. Defaults to stdout + --quote,-q Set the quote character ('"' by default) + --remove Remove headers from output + --separator,-s Set the separator character ("," by default) + --skipComments,-c Skip CSV comments that begin with '#'. Set a value to change the comment character. + --skipLines,-l Set the number of lines to skip to before parsing headers + --strict Require column length match headers length + --version,-v Print out the installed version +`) + process.exit(1) +} + +let input +const output = (argv.output && argv.output !== '-') ? fs.createWriteStream(argv.output) : process.stdout +const options = { + separator: argv.separator, + strict: argv.strict, + skipComments: argv.skipComments, + skipLines: argv.skipLines +} + +if (argv.headers) { + options.headers = argv.headers.toString().split(argv.separator) +} + +if (argv.remove) { + const removeHeaders = argv.remove.split(',') + options.mapHeaders = (name, i) => { + return removeHeaders.indexOf(name) === -1 ? name : null + } +} + +if (filename === '-' || !filename) { + input = process.stdin +} else if (fs.existsSync(filename)) { + input = fs.createReadStream(filename) +} else { + console.error(`File: ${filename} does not exist`) + process.exit(2) +} + +const serialize = () => { + return new Transform({ + objectMode: true, + transform(obj, enc, cb) { + cb(null, JSON.stringify(obj) + EOL) + } + }); +} + +input + .pipe(csv(options)) + .pipe(serialize()) + .pipe(output) diff --git a/node_backend/node_modules/csv-parser/index.d.ts b/node_backend/node_modules/csv-parser/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..a6a400df34f5b98ae809f7ba7b7f675c3a273f0b --- /dev/null +++ b/node_backend/node_modules/csv-parser/index.d.ts @@ -0,0 +1,146 @@ +/// +import { Transform } from 'stream'; + +declare namespace csvParser { + type CsvParser = Transform; + + interface Options { + /** + * A single-character string used to specify the character used to escape strings in a CSV row. + * + * @default '"' + */ + readonly escape?: string; + + /** + * Specifies the headers to use. Headers define the property key for each value in a CSV row. If no `headers` option is provided, `csv-parser` will use the first line in a CSV file as the header specification. + * + * If `false`, specifies that the first row in a data file does _not_ contain headers, and instructs the parser to use the row index as the key for each row. + * + * Suppose you have a CSV file `data.csv` which contains the data: + * + * ``` +NAME,AGE +Daffy Duck,24 +Bugs Bunny,22 +``` + * Using `headers: false` with the data from `data.csv` would yield: + * ``` +[ + { '0': 'Daffy Duck', '1': 24 }, + { '0': 'Bugs Bunny', '1': 22 } +] +``` + */ + readonly headers?: ReadonlyArray | boolean; + + /** + * A function that can be used to modify the values of each header. Return `null` to remove the header, and it's column, from the results. + * + * @example + * + * csv({ + * mapHeaders: ({ header, index }) => header.toLowerCase() + * }); + */ + readonly mapHeaders?: (args: { header: string; index: number }) => string | null; + + /** + * A function that can be used to modify the value of each column value. + * + * @example + * + * csv({ + * mapValues: ({ header, index, value }) => value.toLowerCase() + * }); + */ + readonly mapValues?: (args: { header: string; index: number; value: any }) => any; + + /** + * Specifies a single-character string to denote the end of a line in a CSV file. + * + * @default '\n' + */ + readonly newline?: string; + + /** + * Specifies a single-character string to denote a quoted string. + * + * @default '"' + */ + readonly quote?: string; + + /** + * If `true`, instructs the parser not to decode UTF-8 strings. + */ + readonly raw?: boolean; + + /** + * Specifies a single-character string to use as the column separator for each row. + * + * @default ',' + */ + readonly separator?: string; + + /** + * Instructs the parser to ignore lines which represent comments in a CSV file. Since there is no specification that dictates what a CSV comment looks like, comments should be considered non-standard. The "most common" character used to signify a comment in a CSV file is `"#"`. If this option is set to `true`, lines which begin with `#` will be skipped. If a custom character is needed to denote a commented line, this option may be set to a string which represents the leading character(s) signifying a comment line. + * + * @default false + */ + readonly skipComments?: boolean | string; + + /** + * Specifies the number of lines at the beginning of a data file that the parser should skip over, prior to parsing headers. + * + * @default 0 + */ + readonly skipLines?: number; + + /** + * Maximum number of bytes per row. An error is thrown if a line exeeds this value. The default value is on 8 peta byte. + * + * @default Number.MAX_SAFE_INTEGER + */ + readonly maxRowBytes?: number; + + /** + * If `true`, instructs the parser that the number of columns in each row must match the number of `headers` specified. + */ + readonly strict?: boolean; + } +} + +/** + * Streaming CSV parser that aims for maximum speed as well as compatibility with the [csv-spectrum](https://npmjs.org/csv-spectrum) CSV acid test suite. + * + * @param optionsOrHeaders - As an alternative to passing an `options` object, you may pass an `Array[String]` which specifies the headers to use. If you need to specify options _and_ headers, please use the the object notation with the `headers` property. + * + * @example + * + * // data.csv: + * // + * // NAME,AGE + * // Daffy Duck,24 + * // Bugs Bunny,22 + * + * import csv = require('csv-parser'); + * import * as fs from 'fs'; + * + * const results = []; + * + * fs.createReadStream('data.csv') + * .pipe(csv()) + * .on('data', (data) => results.push(data)) + * .on('end', () => { + * console.log(results); + * // [ + * // { NAME: 'Daffy Duck', AGE: '24' }, + * // { NAME: 'Bugs Bunny', AGE: '22' } + * // ] + * }); + */ +declare const csvParser: ( + optionsOrHeaders?: csvParser.Options | ReadonlyArray +) => csvParser.CsvParser; + +export = csvParser; diff --git a/node_backend/node_modules/csv-parser/index.js b/node_backend/node_modules/csv-parser/index.js new file mode 100644 index 0000000000000000000000000000000000000000..2a6a2daa99a02936f8b4c17be532a0c7f87a1515 --- /dev/null +++ b/node_backend/node_modules/csv-parser/index.js @@ -0,0 +1,275 @@ +const { Transform } = require('stream') + +const [cr] = Buffer.from('\r') +const [nl] = Buffer.from('\n') +const defaults = { + escape: '"', + headers: null, + mapHeaders: ({ header }) => header, + mapValues: ({ value }) => value, + newline: '\n', + quote: '"', + raw: false, + separator: ',', + skipComments: false, + skipLines: null, + maxRowBytes: Number.MAX_SAFE_INTEGER, + strict: false +} + +class CsvParser extends Transform { + constructor (opts = {}) { + super({ objectMode: true, highWaterMark: 16 }) + + if (Array.isArray(opts)) opts = { headers: opts } + + const options = Object.assign({}, defaults, opts) + + options.customNewline = options.newline !== defaults.newline + + for (const key of ['newline', 'quote', 'separator']) { + if (typeof options[key] !== 'undefined') { + ([options[key]] = Buffer.from(options[key])) + } + } + + // if escape is not defined on the passed options, use the end value of quote + options.escape = (opts || {}).escape ? Buffer.from(options.escape)[0] : options.quote + + this.state = { + empty: options.raw ? Buffer.alloc(0) : '', + escaped: false, + first: true, + lineNumber: 0, + previousEnd: 0, + rowLength: 0, + quoted: false + } + + this._prev = null + + if (options.headers === false) { + // enforce, as the column length check will fail if headers:false + options.strict = false + } + + if (options.headers || options.headers === false) { + this.state.first = false + } + + this.options = options + this.headers = options.headers + } + + parseCell (buffer, start, end) { + const { escape, quote } = this.options + // remove quotes from quoted cells + if (buffer[start] === quote && buffer[end - 1] === quote) { + start++ + end-- + } + + let y = start + + for (let i = start; i < end; i++) { + // check for escape characters and skip them + if (buffer[i] === escape && i + 1 < end && buffer[i + 1] === quote) { + i++ + } + + if (y !== i) { + buffer[y] = buffer[i] + } + y++ + } + + return this.parseValue(buffer, start, y) + } + + parseLine (buffer, start, end) { + const { customNewline, escape, mapHeaders, mapValues, quote, separator, skipComments, skipLines } = this.options + + end-- // trim newline + if (!customNewline && buffer.length && buffer[end - 1] === cr) { + end-- + } + + const comma = separator + const cells = [] + let isQuoted = false + let offset = start + + if (skipComments) { + const char = typeof skipComments === 'string' ? skipComments : '#' + if (buffer[start] === Buffer.from(char)[0]) { + return + } + } + + const mapValue = (value) => { + if (this.state.first) { + return value + } + + const index = cells.length + const header = this.headers[index] + + return mapValues({ header, index, value }) + } + + for (let i = start; i < end; i++) { + const isStartingQuote = !isQuoted && buffer[i] === quote + const isEndingQuote = isQuoted && buffer[i] === quote && i + 1 <= end && buffer[i + 1] === comma + const isEscape = isQuoted && buffer[i] === escape && i + 1 < end && buffer[i + 1] === quote + + if (isStartingQuote || isEndingQuote) { + isQuoted = !isQuoted + continue + } else if (isEscape) { + i++ + continue + } + + if (buffer[i] === comma && !isQuoted) { + let value = this.parseCell(buffer, offset, i) + value = mapValue(value) + cells.push(value) + offset = i + 1 + } + } + + if (offset < end) { + let value = this.parseCell(buffer, offset, end) + value = mapValue(value) + cells.push(value) + } + + if (buffer[end - 1] === comma) { + cells.push(mapValue(this.state.empty)) + } + + const skip = skipLines && skipLines > this.state.lineNumber + this.state.lineNumber++ + + if (this.state.first && !skip) { + this.state.first = false + this.headers = cells.map((header, index) => mapHeaders({ header, index })) + + this.emit('headers', this.headers) + return + } + + if (!skip && this.options.strict && cells.length !== this.headers.length) { + const e = new RangeError('Row length does not match headers') + this.emit('error', e) + } else { + if (!skip) this.writeRow(cells) + } + } + + parseValue (buffer, start, end) { + if (this.options.raw) { + return buffer.slice(start, end) + } + + return buffer.toString('utf-8', start, end) + } + + writeRow (cells) { + const headers = (this.headers === false) ? cells.map((value, index) => index) : this.headers + + const row = cells.reduce((o, cell, index) => { + const header = headers[index] + if (header === null) return o // skip columns + if (header !== undefined) { + o[header] = cell + } else { + o[`_${index}`] = cell + } + return o + }, {}) + + this.push(row) + } + + _flush (cb) { + if (this.state.escaped || !this._prev) return cb() + this.parseLine(this._prev, this.state.previousEnd, this._prev.length + 1) // plus since online -1s + cb() + } + + _transform (data, enc, cb) { + if (typeof data === 'string') { + data = Buffer.from(data) + } + + const { escape, quote } = this.options + let start = 0 + let buffer = data + + if (this._prev) { + start = this._prev.length + buffer = Buffer.concat([this._prev, data]) + this._prev = null + } + + const bufferLength = buffer.length + + for (let i = start; i < bufferLength; i++) { + const chr = buffer[i] + const nextChr = i + 1 < bufferLength ? buffer[i + 1] : null + + this.state.rowLength++ + if (this.state.rowLength > this.options.maxRowBytes) { + return cb(new Error('Row exceeds the maximum size')) + } + + if (!this.state.escaped && chr === escape && nextChr === quote && i !== start) { + this.state.escaped = true + continue + } else if (chr === quote) { + if (this.state.escaped) { + this.state.escaped = false + // non-escaped quote (quoting the cell) + } else { + this.state.quoted = !this.state.quoted + } + continue + } + + if (!this.state.quoted) { + if (this.state.first && !this.options.customNewline) { + if (chr === nl) { + this.options.newline = nl + } else if (chr === cr) { + if (nextChr !== nl) { + this.options.newline = cr + } + } + } + + if (chr === this.options.newline) { + this.parseLine(buffer, this.state.previousEnd, i + 1) + this.state.previousEnd = i + 1 + this.state.rowLength = 0 + } + } + } + + if (this.state.previousEnd === bufferLength) { + this.state.previousEnd = 0 + return cb() + } + + if (bufferLength - this.state.previousEnd < data.length) { + this._prev = data + this.state.previousEnd -= (bufferLength - data.length) + return cb() + } + + this._prev = buffer + cb() + } +} + +module.exports = (opts) => new CsvParser(opts) diff --git a/node_backend/node_modules/csv-parser/package.json b/node_backend/node_modules/csv-parser/package.json new file mode 100644 index 0000000000000000000000000000000000000000..7e22065ac0f6fa5e502c30b076600853c4c2fdfe --- /dev/null +++ b/node_backend/node_modules/csv-parser/package.json @@ -0,0 +1,92 @@ +{ + "name": "csv-parser", + "version": "3.0.0", + "description": "Streaming CSV parser that aims for maximum speed as well as compatibility with the csv-spectrum test suite", + "license": "MIT", + "repository": "mafintosh/csv-parser", + "author": "mafintosh", + "maintainers": [ + "Andrew Powell " + ], + "homepage": "https://github.com/mafintosh/csv-parser", + "bugs": "https://github.com/mafintosh/csv-parser/issues", + "bin": { + "csv-parser": "./bin/csv-parser" + }, + "main": "index.js", + "files": [ + "bin/csv-parser", + "index.js", + "index.d.ts" + ], + "engines": { + "node": ">= 10" + }, + "scripts": { + "bench": "bin/bench", + "commitlint": "commitlint", + "coverage": "nyc npm run test && nyc report --reporter=text-lcov > coverage.lcov", + "lint": "eslint .", + "lint-staged": "lint-staged", + "security": "npm audit", + "test": "ava && tsd" + }, + "dependencies": { + "minimist": "^1.2.0" + }, + "devDependencies": { + "@commitlint/cli": "^8.2.0", + "@commitlint/config-conventional": "^8.0.0", + "@types/node": "^12.0.0", + "ava": "^2.4.0", + "bops": "^1.0.0", + "chalk": "^2.4.2", + "concat-stream": "^2.0.0", + "csv-spectrum": "^1.0.0", + "eslint": "^6.4.0", + "eslint-config-standard": "^14.1.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-node": "^10.0.0", + "eslint-plugin-promise": "^4.1.1", + "eslint-plugin-standard": "^4.0.0", + "execa": "^2.1.0", + "globby": "^10.0.1", + "husky": "^3.0.0", + "lint-staged": "^9.0.2", + "loud-rejection": "^2.1.0", + "nyc": "^14.1.1", + "pre-commit": "^1.2.2", + "strip-ansi": "^5.2.0", + "text-table": "^0.2.0", + "time-span": "^3.1.0", + "tsd": "^0.8.0" + }, + "directories": { + "example": "examples", + "test": "test" + }, + "keywords": [ + "csv", + "parser", + "fast", + "json" + ], + "ava": { + "files": [ + "!**/fixtures/**", + "!**/helpers/**" + ] + }, + "husky": { + "hooks": { + "commit-msg": "commitlint -e $HUSKY_GIT_PARAMS" + } + }, + "lint-staged": { + "*.js": [ + "eslint --fix", + "git add" + ] + }, + "pre-commit": "lint-staged" +} diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/.coveralls.yml b/node_backend/node_modules/debug/.coveralls.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/.coveralls.yml rename to node_backend/node_modules/debug/.coveralls.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/.eslintrc b/node_backend/node_modules/debug/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/.eslintrc rename to node_backend/node_modules/debug/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/.npmignore b/node_backend/node_modules/debug/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/.npmignore rename to node_backend/node_modules/debug/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/.travis.yml b/node_backend/node_modules/debug/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/.travis.yml rename to node_backend/node_modules/debug/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/CHANGELOG.md b/node_backend/node_modules/debug/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/CHANGELOG.md rename to node_backend/node_modules/debug/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/LICENSE b/node_backend/node_modules/debug/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/LICENSE rename to node_backend/node_modules/debug/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/Makefile b/node_backend/node_modules/debug/Makefile similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/Makefile rename to node_backend/node_modules/debug/Makefile diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/README.md b/node_backend/node_modules/debug/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/README.md rename to node_backend/node_modules/debug/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/component.json b/node_backend/node_modules/debug/component.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/component.json rename to node_backend/node_modules/debug/component.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/karma.conf.js b/node_backend/node_modules/debug/karma.conf.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/karma.conf.js rename to node_backend/node_modules/debug/karma.conf.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/node.js b/node_backend/node_modules/debug/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/node.js rename to node_backend/node_modules/debug/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/package.json b/node_backend/node_modules/debug/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/package.json rename to node_backend/node_modules/debug/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/src/browser.js b/node_backend/node_modules/debug/src/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/src/browser.js rename to node_backend/node_modules/debug/src/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/src/debug.js b/node_backend/node_modules/debug/src/debug.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/src/debug.js rename to node_backend/node_modules/debug/src/debug.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/src/index.js b/node_backend/node_modules/debug/src/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/src/index.js rename to node_backend/node_modules/debug/src/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/src/inspector-log.js b/node_backend/node_modules/debug/src/inspector-log.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/src/inspector-log.js rename to node_backend/node_modules/debug/src/inspector-log.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/debug/src/node.js b/node_backend/node_modules/debug/src/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/debug/src/node.js rename to node_backend/node_modules/debug/src/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/.eslintrc b/node_backend/node_modules/define-data-property/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/.eslintrc rename to node_backend/node_modules/define-data-property/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/.github/FUNDING.yml b/node_backend/node_modules/define-data-property/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/.github/FUNDING.yml rename to node_backend/node_modules/define-data-property/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/.nycrc b/node_backend/node_modules/define-data-property/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/.nycrc rename to node_backend/node_modules/define-data-property/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/CHANGELOG.md b/node_backend/node_modules/define-data-property/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/CHANGELOG.md rename to node_backend/node_modules/define-data-property/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/LICENSE b/node_backend/node_modules/define-data-property/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/LICENSE rename to node_backend/node_modules/define-data-property/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/README.md b/node_backend/node_modules/define-data-property/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/README.md rename to node_backend/node_modules/define-data-property/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/index.d.ts b/node_backend/node_modules/define-data-property/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/index.d.ts rename to node_backend/node_modules/define-data-property/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/index.js b/node_backend/node_modules/define-data-property/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/index.js rename to node_backend/node_modules/define-data-property/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/package.json b/node_backend/node_modules/define-data-property/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/package.json rename to node_backend/node_modules/define-data-property/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/test/index.js b/node_backend/node_modules/define-data-property/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/test/index.js rename to node_backend/node_modules/define-data-property/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/define-data-property/tsconfig.json b/node_backend/node_modules/define-data-property/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/define-data-property/tsconfig.json rename to node_backend/node_modules/define-data-property/tsconfig.json diff --git a/node_backend/node_modules/delegates/.npmignore b/node_backend/node_modules/delegates/.npmignore new file mode 100644 index 0000000000000000000000000000000000000000..c2658d7d1b31848c3b71960543cb0368e56cd4c7 --- /dev/null +++ b/node_backend/node_modules/delegates/.npmignore @@ -0,0 +1 @@ +node_modules/ diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/History.md b/node_backend/node_modules/delegates/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/History.md rename to node_backend/node_modules/delegates/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/License b/node_backend/node_modules/delegates/License similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/License rename to node_backend/node_modules/delegates/License diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/Makefile b/node_backend/node_modules/delegates/Makefile similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/Makefile rename to node_backend/node_modules/delegates/Makefile diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/Readme.md b/node_backend/node_modules/delegates/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/Readme.md rename to node_backend/node_modules/delegates/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/index.js b/node_backend/node_modules/delegates/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/index.js rename to node_backend/node_modules/delegates/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/package.json b/node_backend/node_modules/delegates/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/package.json rename to node_backend/node_modules/delegates/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/delegates/test/index.js b/node_backend/node_modules/delegates/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/delegates/test/index.js rename to node_backend/node_modules/delegates/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/History.md b/node_backend/node_modules/depd/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/History.md rename to node_backend/node_modules/depd/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/LICENSE b/node_backend/node_modules/depd/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/LICENSE rename to node_backend/node_modules/depd/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/Readme.md b/node_backend/node_modules/depd/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/Readme.md rename to node_backend/node_modules/depd/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/index.js b/node_backend/node_modules/depd/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/index.js rename to node_backend/node_modules/depd/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/lib/browser/index.js b/node_backend/node_modules/depd/lib/browser/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/lib/browser/index.js rename to node_backend/node_modules/depd/lib/browser/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/depd/package.json b/node_backend/node_modules/depd/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/depd/package.json rename to node_backend/node_modules/depd/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/destroy/LICENSE b/node_backend/node_modules/destroy/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/destroy/LICENSE rename to node_backend/node_modules/destroy/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/destroy/README.md b/node_backend/node_modules/destroy/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/destroy/README.md rename to node_backend/node_modules/destroy/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/destroy/index.js b/node_backend/node_modules/destroy/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/destroy/index.js rename to node_backend/node_modules/destroy/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/destroy/package.json b/node_backend/node_modules/destroy/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/destroy/package.json rename to node_backend/node_modules/destroy/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/LICENSE b/node_backend/node_modules/detect-libc/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/LICENSE rename to node_backend/node_modules/detect-libc/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/README.md b/node_backend/node_modules/detect-libc/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/README.md rename to node_backend/node_modules/detect-libc/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/index.d.ts b/node_backend/node_modules/detect-libc/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/index.d.ts rename to node_backend/node_modules/detect-libc/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/detect-libc.js b/node_backend/node_modules/detect-libc/lib/detect-libc.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/detect-libc.js rename to node_backend/node_modules/detect-libc/lib/detect-libc.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/filesystem.js b/node_backend/node_modules/detect-libc/lib/filesystem.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/filesystem.js rename to node_backend/node_modules/detect-libc/lib/filesystem.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/process.js b/node_backend/node_modules/detect-libc/lib/process.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/lib/process.js rename to node_backend/node_modules/detect-libc/lib/process.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/detect-libc/package.json b/node_backend/node_modules/detect-libc/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/detect-libc/package.json rename to node_backend/node_modules/detect-libc/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/CHANGELOG.md b/node_backend/node_modules/dotenv/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/CHANGELOG.md rename to node_backend/node_modules/dotenv/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/LICENSE b/node_backend/node_modules/dotenv/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/LICENSE rename to node_backend/node_modules/dotenv/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/README-es.md b/node_backend/node_modules/dotenv/README-es.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/README-es.md rename to node_backend/node_modules/dotenv/README-es.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/README.md b/node_backend/node_modules/dotenv/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/README.md rename to node_backend/node_modules/dotenv/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/config.d.ts b/node_backend/node_modules/dotenv/config.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/config.d.ts rename to node_backend/node_modules/dotenv/config.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/config.js b/node_backend/node_modules/dotenv/config.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/config.js rename to node_backend/node_modules/dotenv/config.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/cli-options.js b/node_backend/node_modules/dotenv/lib/cli-options.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/cli-options.js rename to node_backend/node_modules/dotenv/lib/cli-options.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/env-options.js b/node_backend/node_modules/dotenv/lib/env-options.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/env-options.js rename to node_backend/node_modules/dotenv/lib/env-options.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/main.d.ts b/node_backend/node_modules/dotenv/lib/main.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/main.d.ts rename to node_backend/node_modules/dotenv/lib/main.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/main.js b/node_backend/node_modules/dotenv/lib/main.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/lib/main.js rename to node_backend/node_modules/dotenv/lib/main.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/dotenv/package.json b/node_backend/node_modules/dotenv/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/dotenv/package.json rename to node_backend/node_modules/dotenv/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/CODEOWNERS b/node_backend/node_modules/ecdsa-sig-formatter/CODEOWNERS similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/CODEOWNERS rename to node_backend/node_modules/ecdsa-sig-formatter/CODEOWNERS diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/LICENSE b/node_backend/node_modules/ecdsa-sig-formatter/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/LICENSE rename to node_backend/node_modules/ecdsa-sig-formatter/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/README.md b/node_backend/node_modules/ecdsa-sig-formatter/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/README.md rename to node_backend/node_modules/ecdsa-sig-formatter/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/package.json b/node_backend/node_modules/ecdsa-sig-formatter/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/package.json rename to node_backend/node_modules/ecdsa-sig-formatter/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts b/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts rename to node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js b/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js rename to node_backend/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js b/node_backend/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js rename to node_backend/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ee-first/LICENSE b/node_backend/node_modules/ee-first/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ee-first/LICENSE rename to node_backend/node_modules/ee-first/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/ee-first/README.md b/node_backend/node_modules/ee-first/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ee-first/README.md rename to node_backend/node_modules/ee-first/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/ee-first/index.js b/node_backend/node_modules/ee-first/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ee-first/index.js rename to node_backend/node_modules/ee-first/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ee-first/package.json b/node_backend/node_modules/ee-first/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ee-first/package.json rename to node_backend/node_modules/ee-first/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/LICENSE-MIT.txt b/node_backend/node_modules/emoji-regex/LICENSE-MIT.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/LICENSE-MIT.txt rename to node_backend/node_modules/emoji-regex/LICENSE-MIT.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/README.md b/node_backend/node_modules/emoji-regex/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/README.md rename to node_backend/node_modules/emoji-regex/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/es2015/index.js b/node_backend/node_modules/emoji-regex/es2015/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/es2015/index.js rename to node_backend/node_modules/emoji-regex/es2015/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/es2015/text.js b/node_backend/node_modules/emoji-regex/es2015/text.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/es2015/text.js rename to node_backend/node_modules/emoji-regex/es2015/text.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/index.d.ts b/node_backend/node_modules/emoji-regex/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/index.d.ts rename to node_backend/node_modules/emoji-regex/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/index.js b/node_backend/node_modules/emoji-regex/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/index.js rename to node_backend/node_modules/emoji-regex/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/package.json b/node_backend/node_modules/emoji-regex/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/package.json rename to node_backend/node_modules/emoji-regex/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/emoji-regex/text.js b/node_backend/node_modules/emoji-regex/text.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/emoji-regex/text.js rename to node_backend/node_modules/emoji-regex/text.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/encodeurl/LICENSE b/node_backend/node_modules/encodeurl/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/encodeurl/LICENSE rename to node_backend/node_modules/encodeurl/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/encodeurl/README.md b/node_backend/node_modules/encodeurl/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/encodeurl/README.md rename to node_backend/node_modules/encodeurl/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/encodeurl/index.js b/node_backend/node_modules/encodeurl/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/encodeurl/index.js rename to node_backend/node_modules/encodeurl/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/encodeurl/package.json b/node_backend/node_modules/encodeurl/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/encodeurl/package.json rename to node_backend/node_modules/encodeurl/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/.eslintrc b/node_backend/node_modules/es-define-property/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/.eslintrc rename to node_backend/node_modules/es-define-property/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/.github/FUNDING.yml b/node_backend/node_modules/es-define-property/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/.github/FUNDING.yml rename to node_backend/node_modules/es-define-property/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/.nycrc b/node_backend/node_modules/es-define-property/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/.nycrc rename to node_backend/node_modules/es-define-property/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/CHANGELOG.md b/node_backend/node_modules/es-define-property/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/CHANGELOG.md rename to node_backend/node_modules/es-define-property/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/LICENSE b/node_backend/node_modules/es-define-property/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/LICENSE rename to node_backend/node_modules/es-define-property/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/README.md b/node_backend/node_modules/es-define-property/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/README.md rename to node_backend/node_modules/es-define-property/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/index.d.ts b/node_backend/node_modules/es-define-property/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/index.d.ts rename to node_backend/node_modules/es-define-property/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/index.js b/node_backend/node_modules/es-define-property/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/index.js rename to node_backend/node_modules/es-define-property/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/package.json b/node_backend/node_modules/es-define-property/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/package.json rename to node_backend/node_modules/es-define-property/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/test/index.js b/node_backend/node_modules/es-define-property/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/test/index.js rename to node_backend/node_modules/es-define-property/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-define-property/tsconfig.json b/node_backend/node_modules/es-define-property/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-define-property/tsconfig.json rename to node_backend/node_modules/es-define-property/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/.eslintrc b/node_backend/node_modules/es-errors/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/.eslintrc rename to node_backend/node_modules/es-errors/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/.github/FUNDING.yml b/node_backend/node_modules/es-errors/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/.github/FUNDING.yml rename to node_backend/node_modules/es-errors/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/CHANGELOG.md b/node_backend/node_modules/es-errors/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/CHANGELOG.md rename to node_backend/node_modules/es-errors/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/LICENSE b/node_backend/node_modules/es-errors/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/LICENSE rename to node_backend/node_modules/es-errors/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/README.md b/node_backend/node_modules/es-errors/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/README.md rename to node_backend/node_modules/es-errors/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/eval.d.ts b/node_backend/node_modules/es-errors/eval.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/eval.d.ts rename to node_backend/node_modules/es-errors/eval.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/eval.js b/node_backend/node_modules/es-errors/eval.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/eval.js rename to node_backend/node_modules/es-errors/eval.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/index.d.ts b/node_backend/node_modules/es-errors/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/index.d.ts rename to node_backend/node_modules/es-errors/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/index.js b/node_backend/node_modules/es-errors/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/index.js rename to node_backend/node_modules/es-errors/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/package.json b/node_backend/node_modules/es-errors/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/package.json rename to node_backend/node_modules/es-errors/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/range.d.ts b/node_backend/node_modules/es-errors/range.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/range.d.ts rename to node_backend/node_modules/es-errors/range.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/range.js b/node_backend/node_modules/es-errors/range.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/range.js rename to node_backend/node_modules/es-errors/range.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/ref.d.ts b/node_backend/node_modules/es-errors/ref.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/ref.d.ts rename to node_backend/node_modules/es-errors/ref.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/ref.js b/node_backend/node_modules/es-errors/ref.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/ref.js rename to node_backend/node_modules/es-errors/ref.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/syntax.d.ts b/node_backend/node_modules/es-errors/syntax.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/syntax.d.ts rename to node_backend/node_modules/es-errors/syntax.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/syntax.js b/node_backend/node_modules/es-errors/syntax.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/syntax.js rename to node_backend/node_modules/es-errors/syntax.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/test/index.js b/node_backend/node_modules/es-errors/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/test/index.js rename to node_backend/node_modules/es-errors/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/tsconfig.json b/node_backend/node_modules/es-errors/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/tsconfig.json rename to node_backend/node_modules/es-errors/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/type.d.ts b/node_backend/node_modules/es-errors/type.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/type.d.ts rename to node_backend/node_modules/es-errors/type.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/type.js b/node_backend/node_modules/es-errors/type.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/type.js rename to node_backend/node_modules/es-errors/type.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/uri.d.ts b/node_backend/node_modules/es-errors/uri.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/uri.d.ts rename to node_backend/node_modules/es-errors/uri.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/es-errors/uri.js b/node_backend/node_modules/es-errors/uri.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/es-errors/uri.js rename to node_backend/node_modules/es-errors/uri.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/escape-html/LICENSE b/node_backend/node_modules/escape-html/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/escape-html/LICENSE rename to node_backend/node_modules/escape-html/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/escape-html/Readme.md b/node_backend/node_modules/escape-html/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/escape-html/Readme.md rename to node_backend/node_modules/escape-html/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/escape-html/index.js b/node_backend/node_modules/escape-html/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/escape-html/index.js rename to node_backend/node_modules/escape-html/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/escape-html/package.json b/node_backend/node_modules/escape-html/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/escape-html/package.json rename to node_backend/node_modules/escape-html/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/etag/HISTORY.md b/node_backend/node_modules/etag/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/etag/HISTORY.md rename to node_backend/node_modules/etag/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/etag/LICENSE b/node_backend/node_modules/etag/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/etag/LICENSE rename to node_backend/node_modules/etag/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/etag/README.md b/node_backend/node_modules/etag/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/etag/README.md rename to node_backend/node_modules/etag/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/etag/index.js b/node_backend/node_modules/etag/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/etag/index.js rename to node_backend/node_modules/etag/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/etag/package.json b/node_backend/node_modules/etag/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/etag/package.json rename to node_backend/node_modules/etag/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/History.md b/node_backend/node_modules/express/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/History.md rename to node_backend/node_modules/express/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/LICENSE b/node_backend/node_modules/express/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/LICENSE rename to node_backend/node_modules/express/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/Readme.md b/node_backend/node_modules/express/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/Readme.md rename to node_backend/node_modules/express/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/index.js b/node_backend/node_modules/express/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/index.js rename to node_backend/node_modules/express/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/application.js b/node_backend/node_modules/express/lib/application.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/application.js rename to node_backend/node_modules/express/lib/application.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/express.js b/node_backend/node_modules/express/lib/express.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/express.js rename to node_backend/node_modules/express/lib/express.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/middleware/init.js b/node_backend/node_modules/express/lib/middleware/init.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/middleware/init.js rename to node_backend/node_modules/express/lib/middleware/init.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/middleware/query.js b/node_backend/node_modules/express/lib/middleware/query.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/middleware/query.js rename to node_backend/node_modules/express/lib/middleware/query.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/request.js b/node_backend/node_modules/express/lib/request.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/request.js rename to node_backend/node_modules/express/lib/request.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/response.js b/node_backend/node_modules/express/lib/response.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/response.js rename to node_backend/node_modules/express/lib/response.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/router/index.js b/node_backend/node_modules/express/lib/router/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/router/index.js rename to node_backend/node_modules/express/lib/router/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/router/layer.js b/node_backend/node_modules/express/lib/router/layer.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/router/layer.js rename to node_backend/node_modules/express/lib/router/layer.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/router/route.js b/node_backend/node_modules/express/lib/router/route.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/router/route.js rename to node_backend/node_modules/express/lib/router/route.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/utils.js b/node_backend/node_modules/express/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/utils.js rename to node_backend/node_modules/express/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/lib/view.js b/node_backend/node_modules/express/lib/view.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/lib/view.js rename to node_backend/node_modules/express/lib/view.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/express/package.json b/node_backend/node_modules/express/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/express/package.json rename to node_backend/node_modules/express/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/HISTORY.md b/node_backend/node_modules/finalhandler/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/HISTORY.md rename to node_backend/node_modules/finalhandler/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/LICENSE b/node_backend/node_modules/finalhandler/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/LICENSE rename to node_backend/node_modules/finalhandler/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/README.md b/node_backend/node_modules/finalhandler/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/README.md rename to node_backend/node_modules/finalhandler/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/SECURITY.md b/node_backend/node_modules/finalhandler/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/SECURITY.md rename to node_backend/node_modules/finalhandler/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/index.js b/node_backend/node_modules/finalhandler/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/index.js rename to node_backend/node_modules/finalhandler/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/finalhandler/package.json b/node_backend/node_modules/finalhandler/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/finalhandler/package.json rename to node_backend/node_modules/finalhandler/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/forwarded/HISTORY.md b/node_backend/node_modules/forwarded/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/forwarded/HISTORY.md rename to node_backend/node_modules/forwarded/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/forwarded/LICENSE b/node_backend/node_modules/forwarded/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/forwarded/LICENSE rename to node_backend/node_modules/forwarded/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/forwarded/README.md b/node_backend/node_modules/forwarded/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/forwarded/README.md rename to node_backend/node_modules/forwarded/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/forwarded/index.js b/node_backend/node_modules/forwarded/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/forwarded/index.js rename to node_backend/node_modules/forwarded/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/forwarded/package.json b/node_backend/node_modules/forwarded/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/forwarded/package.json rename to node_backend/node_modules/forwarded/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/fresh/HISTORY.md b/node_backend/node_modules/fresh/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fresh/HISTORY.md rename to node_backend/node_modules/fresh/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/fresh/LICENSE b/node_backend/node_modules/fresh/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fresh/LICENSE rename to node_backend/node_modules/fresh/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/fresh/README.md b/node_backend/node_modules/fresh/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fresh/README.md rename to node_backend/node_modules/fresh/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/fresh/index.js b/node_backend/node_modules/fresh/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fresh/index.js rename to node_backend/node_modules/fresh/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/fresh/package.json b/node_backend/node_modules/fresh/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fresh/package.json rename to node_backend/node_modules/fresh/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/LICENSE b/node_backend/node_modules/fs-minipass/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/LICENSE rename to node_backend/node_modules/fs-minipass/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/README.md b/node_backend/node_modules/fs-minipass/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/README.md rename to node_backend/node_modules/fs-minipass/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/index.js b/node_backend/node_modules/fs-minipass/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/index.js rename to node_backend/node_modules/fs-minipass/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/LICENSE b/node_backend/node_modules/fs-minipass/node_modules/minipass/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/LICENSE rename to node_backend/node_modules/fs-minipass/node_modules/minipass/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/README.md b/node_backend/node_modules/fs-minipass/node_modules/minipass/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/README.md rename to node_backend/node_modules/fs-minipass/node_modules/minipass/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/index.d.ts b/node_backend/node_modules/fs-minipass/node_modules/minipass/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/index.d.ts rename to node_backend/node_modules/fs-minipass/node_modules/minipass/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/index.js b/node_backend/node_modules/fs-minipass/node_modules/minipass/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/index.js rename to node_backend/node_modules/fs-minipass/node_modules/minipass/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/package.json b/node_backend/node_modules/fs-minipass/node_modules/minipass/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/node_modules/minipass/package.json rename to node_backend/node_modules/fs-minipass/node_modules/minipass/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs-minipass/package.json b/node_backend/node_modules/fs-minipass/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs-minipass/package.json rename to node_backend/node_modules/fs-minipass/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs.realpath/LICENSE b/node_backend/node_modules/fs.realpath/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs.realpath/LICENSE rename to node_backend/node_modules/fs.realpath/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs.realpath/README.md b/node_backend/node_modules/fs.realpath/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs.realpath/README.md rename to node_backend/node_modules/fs.realpath/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs.realpath/index.js b/node_backend/node_modules/fs.realpath/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs.realpath/index.js rename to node_backend/node_modules/fs.realpath/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs.realpath/old.js b/node_backend/node_modules/fs.realpath/old.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs.realpath/old.js rename to node_backend/node_modules/fs.realpath/old.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/fs.realpath/package.json b/node_backend/node_modules/fs.realpath/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/fs.realpath/package.json rename to node_backend/node_modules/fs.realpath/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/.eslintrc b/node_backend/node_modules/function-bind/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/.eslintrc rename to node_backend/node_modules/function-bind/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/.github/FUNDING.yml b/node_backend/node_modules/function-bind/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/.github/FUNDING.yml rename to node_backend/node_modules/function-bind/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/.github/SECURITY.md b/node_backend/node_modules/function-bind/.github/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/.github/SECURITY.md rename to node_backend/node_modules/function-bind/.github/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/.nycrc b/node_backend/node_modules/function-bind/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/.nycrc rename to node_backend/node_modules/function-bind/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/CHANGELOG.md b/node_backend/node_modules/function-bind/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/CHANGELOG.md rename to node_backend/node_modules/function-bind/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/LICENSE b/node_backend/node_modules/function-bind/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/LICENSE rename to node_backend/node_modules/function-bind/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/README.md b/node_backend/node_modules/function-bind/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/README.md rename to node_backend/node_modules/function-bind/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/implementation.js b/node_backend/node_modules/function-bind/implementation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/implementation.js rename to node_backend/node_modules/function-bind/implementation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/index.js b/node_backend/node_modules/function-bind/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/index.js rename to node_backend/node_modules/function-bind/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/package.json b/node_backend/node_modules/function-bind/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/package.json rename to node_backend/node_modules/function-bind/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/test/.eslintrc b/node_backend/node_modules/function-bind/test/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/test/.eslintrc rename to node_backend/node_modules/function-bind/test/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/function-bind/test/index.js b/node_backend/node_modules/function-bind/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/function-bind/test/index.js rename to node_backend/node_modules/function-bind/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/CHANGELOG.md b/node_backend/node_modules/gauge/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/CHANGELOG.md rename to node_backend/node_modules/gauge/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/LICENSE b/node_backend/node_modules/gauge/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/LICENSE rename to node_backend/node_modules/gauge/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/README.md b/node_backend/node_modules/gauge/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/README.md rename to node_backend/node_modules/gauge/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/base-theme.js b/node_backend/node_modules/gauge/base-theme.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/base-theme.js rename to node_backend/node_modules/gauge/base-theme.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/error.js b/node_backend/node_modules/gauge/error.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/error.js rename to node_backend/node_modules/gauge/error.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/has-color.js b/node_backend/node_modules/gauge/has-color.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/has-color.js rename to node_backend/node_modules/gauge/has-color.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/index.js b/node_backend/node_modules/gauge/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/index.js rename to node_backend/node_modules/gauge/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/package.json b/node_backend/node_modules/gauge/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/package.json rename to node_backend/node_modules/gauge/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/plumbing.js b/node_backend/node_modules/gauge/plumbing.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/plumbing.js rename to node_backend/node_modules/gauge/plumbing.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/process.js b/node_backend/node_modules/gauge/process.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/process.js rename to node_backend/node_modules/gauge/process.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/progress-bar.js b/node_backend/node_modules/gauge/progress-bar.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/progress-bar.js rename to node_backend/node_modules/gauge/progress-bar.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/render-template.js b/node_backend/node_modules/gauge/render-template.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/render-template.js rename to node_backend/node_modules/gauge/render-template.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/set-immediate.js b/node_backend/node_modules/gauge/set-immediate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/set-immediate.js rename to node_backend/node_modules/gauge/set-immediate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/set-interval.js b/node_backend/node_modules/gauge/set-interval.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/set-interval.js rename to node_backend/node_modules/gauge/set-interval.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/spin.js b/node_backend/node_modules/gauge/spin.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/spin.js rename to node_backend/node_modules/gauge/spin.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/template-item.js b/node_backend/node_modules/gauge/template-item.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/template-item.js rename to node_backend/node_modules/gauge/template-item.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/theme-set.js b/node_backend/node_modules/gauge/theme-set.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/theme-set.js rename to node_backend/node_modules/gauge/theme-set.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/themes.js b/node_backend/node_modules/gauge/themes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/themes.js rename to node_backend/node_modules/gauge/themes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gauge/wide-truncate.js b/node_backend/node_modules/gauge/wide-truncate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gauge/wide-truncate.js rename to node_backend/node_modules/gauge/wide-truncate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.eslintrc b/node_backend/node_modules/get-intrinsic/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.eslintrc rename to node_backend/node_modules/get-intrinsic/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.github/FUNDING.yml b/node_backend/node_modules/get-intrinsic/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.github/FUNDING.yml rename to node_backend/node_modules/get-intrinsic/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.nycrc b/node_backend/node_modules/get-intrinsic/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/.nycrc rename to node_backend/node_modules/get-intrinsic/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/CHANGELOG.md b/node_backend/node_modules/get-intrinsic/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/CHANGELOG.md rename to node_backend/node_modules/get-intrinsic/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/LICENSE b/node_backend/node_modules/get-intrinsic/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/LICENSE rename to node_backend/node_modules/get-intrinsic/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/README.md b/node_backend/node_modules/get-intrinsic/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/README.md rename to node_backend/node_modules/get-intrinsic/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/index.js b/node_backend/node_modules/get-intrinsic/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/index.js rename to node_backend/node_modules/get-intrinsic/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/package.json b/node_backend/node_modules/get-intrinsic/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/package.json rename to node_backend/node_modules/get-intrinsic/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/test/GetIntrinsic.js b/node_backend/node_modules/get-intrinsic/test/GetIntrinsic.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/get-intrinsic/test/GetIntrinsic.js rename to node_backend/node_modules/get-intrinsic/test/GetIntrinsic.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/LICENSE b/node_backend/node_modules/glob/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/LICENSE rename to node_backend/node_modules/glob/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/README.md b/node_backend/node_modules/glob/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/README.md rename to node_backend/node_modules/glob/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/common.js b/node_backend/node_modules/glob/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/common.js rename to node_backend/node_modules/glob/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/glob.js b/node_backend/node_modules/glob/glob.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/glob.js rename to node_backend/node_modules/glob/glob.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/package.json b/node_backend/node_modules/glob/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/package.json rename to node_backend/node_modules/glob/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/glob/sync.js b/node_backend/node_modules/glob/sync.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/glob/sync.js rename to node_backend/node_modules/glob/sync.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/.eslintrc b/node_backend/node_modules/gopd/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/.eslintrc rename to node_backend/node_modules/gopd/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/.github/FUNDING.yml b/node_backend/node_modules/gopd/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/.github/FUNDING.yml rename to node_backend/node_modules/gopd/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/CHANGELOG.md b/node_backend/node_modules/gopd/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/CHANGELOG.md rename to node_backend/node_modules/gopd/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/LICENSE b/node_backend/node_modules/gopd/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/LICENSE rename to node_backend/node_modules/gopd/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/README.md b/node_backend/node_modules/gopd/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/README.md rename to node_backend/node_modules/gopd/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/index.js b/node_backend/node_modules/gopd/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/index.js rename to node_backend/node_modules/gopd/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/package.json b/node_backend/node_modules/gopd/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/package.json rename to node_backend/node_modules/gopd/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/gopd/test/index.js b/node_backend/node_modules/gopd/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/gopd/test/index.js rename to node_backend/node_modules/gopd/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.eslintrc b/node_backend/node_modules/has-property-descriptors/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.eslintrc rename to node_backend/node_modules/has-property-descriptors/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.github/FUNDING.yml b/node_backend/node_modules/has-property-descriptors/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.github/FUNDING.yml rename to node_backend/node_modules/has-property-descriptors/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.nycrc b/node_backend/node_modules/has-property-descriptors/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/.nycrc rename to node_backend/node_modules/has-property-descriptors/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/CHANGELOG.md b/node_backend/node_modules/has-property-descriptors/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/CHANGELOG.md rename to node_backend/node_modules/has-property-descriptors/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/LICENSE b/node_backend/node_modules/has-property-descriptors/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/LICENSE rename to node_backend/node_modules/has-property-descriptors/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/README.md b/node_backend/node_modules/has-property-descriptors/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/README.md rename to node_backend/node_modules/has-property-descriptors/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/index.js b/node_backend/node_modules/has-property-descriptors/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/index.js rename to node_backend/node_modules/has-property-descriptors/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/package.json b/node_backend/node_modules/has-property-descriptors/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/package.json rename to node_backend/node_modules/has-property-descriptors/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/test/index.js b/node_backend/node_modules/has-property-descriptors/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-property-descriptors/test/index.js rename to node_backend/node_modules/has-property-descriptors/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/.eslintrc b/node_backend/node_modules/has-proto/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/.eslintrc rename to node_backend/node_modules/has-proto/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/.github/FUNDING.yml b/node_backend/node_modules/has-proto/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/.github/FUNDING.yml rename to node_backend/node_modules/has-proto/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/CHANGELOG.md b/node_backend/node_modules/has-proto/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/CHANGELOG.md rename to node_backend/node_modules/has-proto/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/LICENSE b/node_backend/node_modules/has-proto/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/LICENSE rename to node_backend/node_modules/has-proto/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/README.md b/node_backend/node_modules/has-proto/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/README.md rename to node_backend/node_modules/has-proto/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/index.d.ts b/node_backend/node_modules/has-proto/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/index.d.ts rename to node_backend/node_modules/has-proto/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/index.js b/node_backend/node_modules/has-proto/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/index.js rename to node_backend/node_modules/has-proto/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/package.json b/node_backend/node_modules/has-proto/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/package.json rename to node_backend/node_modules/has-proto/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/test/index.js b/node_backend/node_modules/has-proto/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/test/index.js rename to node_backend/node_modules/has-proto/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-proto/tsconfig.json b/node_backend/node_modules/has-proto/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-proto/tsconfig.json rename to node_backend/node_modules/has-proto/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/.eslintrc b/node_backend/node_modules/has-symbols/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/.eslintrc rename to node_backend/node_modules/has-symbols/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/.github/FUNDING.yml b/node_backend/node_modules/has-symbols/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/.github/FUNDING.yml rename to node_backend/node_modules/has-symbols/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/.nycrc b/node_backend/node_modules/has-symbols/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/.nycrc rename to node_backend/node_modules/has-symbols/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/CHANGELOG.md b/node_backend/node_modules/has-symbols/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/CHANGELOG.md rename to node_backend/node_modules/has-symbols/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/LICENSE b/node_backend/node_modules/has-symbols/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/LICENSE rename to node_backend/node_modules/has-symbols/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/README.md b/node_backend/node_modules/has-symbols/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/README.md rename to node_backend/node_modules/has-symbols/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/index.js b/node_backend/node_modules/has-symbols/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/index.js rename to node_backend/node_modules/has-symbols/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/package.json b/node_backend/node_modules/has-symbols/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/package.json rename to node_backend/node_modules/has-symbols/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/shams.js b/node_backend/node_modules/has-symbols/shams.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/shams.js rename to node_backend/node_modules/has-symbols/shams.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/index.js b/node_backend/node_modules/has-symbols/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/index.js rename to node_backend/node_modules/has-symbols/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/shams/core-js.js b/node_backend/node_modules/has-symbols/test/shams/core-js.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/shams/core-js.js rename to node_backend/node_modules/has-symbols/test/shams/core-js.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/shams/get-own-property-symbols.js b/node_backend/node_modules/has-symbols/test/shams/get-own-property-symbols.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/shams/get-own-property-symbols.js rename to node_backend/node_modules/has-symbols/test/shams/get-own-property-symbols.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/tests.js b/node_backend/node_modules/has-symbols/test/tests.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-symbols/test/tests.js rename to node_backend/node_modules/has-symbols/test/tests.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-unicode/LICENSE b/node_backend/node_modules/has-unicode/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-unicode/LICENSE rename to node_backend/node_modules/has-unicode/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-unicode/README.md b/node_backend/node_modules/has-unicode/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-unicode/README.md rename to node_backend/node_modules/has-unicode/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-unicode/index.js b/node_backend/node_modules/has-unicode/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-unicode/index.js rename to node_backend/node_modules/has-unicode/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/has-unicode/package.json b/node_backend/node_modules/has-unicode/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/has-unicode/package.json rename to node_backend/node_modules/has-unicode/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/.eslintrc b/node_backend/node_modules/hasown/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/.eslintrc rename to node_backend/node_modules/hasown/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/.github/FUNDING.yml b/node_backend/node_modules/hasown/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/.github/FUNDING.yml rename to node_backend/node_modules/hasown/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/.nycrc b/node_backend/node_modules/hasown/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/.nycrc rename to node_backend/node_modules/hasown/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/CHANGELOG.md b/node_backend/node_modules/hasown/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/CHANGELOG.md rename to node_backend/node_modules/hasown/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/LICENSE b/node_backend/node_modules/hasown/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/LICENSE rename to node_backend/node_modules/hasown/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/README.md b/node_backend/node_modules/hasown/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/README.md rename to node_backend/node_modules/hasown/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/index.d.ts b/node_backend/node_modules/hasown/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/index.d.ts rename to node_backend/node_modules/hasown/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/index.js b/node_backend/node_modules/hasown/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/index.js rename to node_backend/node_modules/hasown/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/package.json b/node_backend/node_modules/hasown/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/package.json rename to node_backend/node_modules/hasown/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/hasown/tsconfig.json b/node_backend/node_modules/hasown/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/hasown/tsconfig.json rename to node_backend/node_modules/hasown/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/http-errors/HISTORY.md b/node_backend/node_modules/http-errors/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/http-errors/HISTORY.md rename to node_backend/node_modules/http-errors/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/http-errors/LICENSE b/node_backend/node_modules/http-errors/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/http-errors/LICENSE rename to node_backend/node_modules/http-errors/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/http-errors/README.md b/node_backend/node_modules/http-errors/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/http-errors/README.md rename to node_backend/node_modules/http-errors/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/http-errors/index.js b/node_backend/node_modules/http-errors/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/http-errors/index.js rename to node_backend/node_modules/http-errors/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/http-errors/package.json b/node_backend/node_modules/http-errors/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/http-errors/package.json rename to node_backend/node_modules/http-errors/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/README.md b/node_backend/node_modules/https-proxy-agent/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/README.md rename to node_backend/node_modules/https-proxy-agent/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.d.ts b/node_backend/node_modules/https-proxy-agent/dist/agent.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.d.ts rename to node_backend/node_modules/https-proxy-agent/dist/agent.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.js b/node_backend/node_modules/https-proxy-agent/dist/agent.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.js rename to node_backend/node_modules/https-proxy-agent/dist/agent.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.js.map b/node_backend/node_modules/https-proxy-agent/dist/agent.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/agent.js.map rename to node_backend/node_modules/https-proxy-agent/dist/agent.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.d.ts b/node_backend/node_modules/https-proxy-agent/dist/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.d.ts rename to node_backend/node_modules/https-proxy-agent/dist/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.js b/node_backend/node_modules/https-proxy-agent/dist/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.js rename to node_backend/node_modules/https-proxy-agent/dist/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.js.map b/node_backend/node_modules/https-proxy-agent/dist/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/index.js.map rename to node_backend/node_modules/https-proxy-agent/dist/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts b/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts rename to node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js b/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js rename to node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map b/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map rename to node_backend/node_modules/https-proxy-agent/dist/parse-proxy-response.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/LICENSE b/node_backend/node_modules/https-proxy-agent/node_modules/debug/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/LICENSE rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/README.md b/node_backend/node_modules/https-proxy-agent/node_modules/debug/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/README.md rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/package.json b/node_backend/node_modules/https-proxy-agent/node_modules/debug/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/package.json rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/browser.js b/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/browser.js rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/src/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/common.js b/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/common.js rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/src/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/index.js b/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/index.js rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/src/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/node.js b/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/debug/src/node.js rename to node_backend/node_modules/https-proxy-agent/node_modules/debug/src/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/index.js b/node_backend/node_modules/https-proxy-agent/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/index.js rename to node_backend/node_modules/https-proxy-agent/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/license.md b/node_backend/node_modules/https-proxy-agent/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/license.md rename to node_backend/node_modules/https-proxy-agent/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/package.json b/node_backend/node_modules/https-proxy-agent/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/package.json rename to node_backend/node_modules/https-proxy-agent/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/readme.md b/node_backend/node_modules/https-proxy-agent/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/node_modules/ms/readme.md rename to node_backend/node_modules/https-proxy-agent/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/package.json b/node_backend/node_modules/https-proxy-agent/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/https-proxy-agent/package.json rename to node_backend/node_modules/https-proxy-agent/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/Changelog.md b/node_backend/node_modules/iconv-lite/Changelog.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/Changelog.md rename to node_backend/node_modules/iconv-lite/Changelog.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/LICENSE b/node_backend/node_modules/iconv-lite/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/LICENSE rename to node_backend/node_modules/iconv-lite/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/README.md b/node_backend/node_modules/iconv-lite/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/README.md rename to node_backend/node_modules/iconv-lite/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/dbcs-codec.js b/node_backend/node_modules/iconv-lite/encodings/dbcs-codec.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/dbcs-codec.js rename to node_backend/node_modules/iconv-lite/encodings/dbcs-codec.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/dbcs-data.js b/node_backend/node_modules/iconv-lite/encodings/dbcs-data.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/dbcs-data.js rename to node_backend/node_modules/iconv-lite/encodings/dbcs-data.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/index.js b/node_backend/node_modules/iconv-lite/encodings/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/index.js rename to node_backend/node_modules/iconv-lite/encodings/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/internal.js b/node_backend/node_modules/iconv-lite/encodings/internal.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/internal.js rename to node_backend/node_modules/iconv-lite/encodings/internal.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-codec.js b/node_backend/node_modules/iconv-lite/encodings/sbcs-codec.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-codec.js rename to node_backend/node_modules/iconv-lite/encodings/sbcs-codec.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-data-generated.js b/node_backend/node_modules/iconv-lite/encodings/sbcs-data-generated.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-data-generated.js rename to node_backend/node_modules/iconv-lite/encodings/sbcs-data-generated.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-data.js b/node_backend/node_modules/iconv-lite/encodings/sbcs-data.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/sbcs-data.js rename to node_backend/node_modules/iconv-lite/encodings/sbcs-data.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/big5-added.json b/node_backend/node_modules/iconv-lite/encodings/tables/big5-added.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/big5-added.json rename to node_backend/node_modules/iconv-lite/encodings/tables/big5-added.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp936.json b/node_backend/node_modules/iconv-lite/encodings/tables/cp936.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp936.json rename to node_backend/node_modules/iconv-lite/encodings/tables/cp936.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp949.json b/node_backend/node_modules/iconv-lite/encodings/tables/cp949.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp949.json rename to node_backend/node_modules/iconv-lite/encodings/tables/cp949.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp950.json b/node_backend/node_modules/iconv-lite/encodings/tables/cp950.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/cp950.json rename to node_backend/node_modules/iconv-lite/encodings/tables/cp950.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/eucjp.json b/node_backend/node_modules/iconv-lite/encodings/tables/eucjp.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/eucjp.json rename to node_backend/node_modules/iconv-lite/encodings/tables/eucjp.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json b/node_backend/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json rename to node_backend/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/gbk-added.json b/node_backend/node_modules/iconv-lite/encodings/tables/gbk-added.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/gbk-added.json rename to node_backend/node_modules/iconv-lite/encodings/tables/gbk-added.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/shiftjis.json b/node_backend/node_modules/iconv-lite/encodings/tables/shiftjis.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/tables/shiftjis.json rename to node_backend/node_modules/iconv-lite/encodings/tables/shiftjis.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/utf16.js b/node_backend/node_modules/iconv-lite/encodings/utf16.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/utf16.js rename to node_backend/node_modules/iconv-lite/encodings/utf16.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/utf7.js b/node_backend/node_modules/iconv-lite/encodings/utf7.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/encodings/utf7.js rename to node_backend/node_modules/iconv-lite/encodings/utf7.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/bom-handling.js b/node_backend/node_modules/iconv-lite/lib/bom-handling.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/bom-handling.js rename to node_backend/node_modules/iconv-lite/lib/bom-handling.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/extend-node.js b/node_backend/node_modules/iconv-lite/lib/extend-node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/extend-node.js rename to node_backend/node_modules/iconv-lite/lib/extend-node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/index.d.ts b/node_backend/node_modules/iconv-lite/lib/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/index.d.ts rename to node_backend/node_modules/iconv-lite/lib/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/index.js b/node_backend/node_modules/iconv-lite/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/index.js rename to node_backend/node_modules/iconv-lite/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/streams.js b/node_backend/node_modules/iconv-lite/lib/streams.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/lib/streams.js rename to node_backend/node_modules/iconv-lite/lib/streams.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/iconv-lite/package.json b/node_backend/node_modules/iconv-lite/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/iconv-lite/package.json rename to node_backend/node_modules/iconv-lite/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/inflight/LICENSE b/node_backend/node_modules/inflight/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inflight/LICENSE rename to node_backend/node_modules/inflight/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/inflight/README.md b/node_backend/node_modules/inflight/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inflight/README.md rename to node_backend/node_modules/inflight/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/inflight/inflight.js b/node_backend/node_modules/inflight/inflight.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inflight/inflight.js rename to node_backend/node_modules/inflight/inflight.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/inflight/package.json b/node_backend/node_modules/inflight/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inflight/package.json rename to node_backend/node_modules/inflight/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/inherits/LICENSE b/node_backend/node_modules/inherits/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inherits/LICENSE rename to node_backend/node_modules/inherits/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/inherits/README.md b/node_backend/node_modules/inherits/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inherits/README.md rename to node_backend/node_modules/inherits/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/inherits/inherits.js b/node_backend/node_modules/inherits/inherits.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inherits/inherits.js rename to node_backend/node_modules/inherits/inherits.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/inherits/inherits_browser.js b/node_backend/node_modules/inherits/inherits_browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inherits/inherits_browser.js rename to node_backend/node_modules/inherits/inherits_browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/inherits/package.json b/node_backend/node_modules/inherits/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/inherits/package.json rename to node_backend/node_modules/inherits/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/LICENSE b/node_backend/node_modules/ipaddr.js/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/LICENSE rename to node_backend/node_modules/ipaddr.js/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/README.md b/node_backend/node_modules/ipaddr.js/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/README.md rename to node_backend/node_modules/ipaddr.js/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/ipaddr.min.js b/node_backend/node_modules/ipaddr.js/ipaddr.min.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/ipaddr.min.js rename to node_backend/node_modules/ipaddr.js/ipaddr.min.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/lib/ipaddr.js b/node_backend/node_modules/ipaddr.js/lib/ipaddr.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/lib/ipaddr.js rename to node_backend/node_modules/ipaddr.js/lib/ipaddr.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/lib/ipaddr.js.d.ts b/node_backend/node_modules/ipaddr.js/lib/ipaddr.js.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/lib/ipaddr.js.d.ts rename to node_backend/node_modules/ipaddr.js/lib/ipaddr.js.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/package.json b/node_backend/node_modules/ipaddr.js/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ipaddr.js/package.json rename to node_backend/node_modules/ipaddr.js/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/index.d.ts b/node_backend/node_modules/is-fullwidth-code-point/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/index.d.ts rename to node_backend/node_modules/is-fullwidth-code-point/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/index.js b/node_backend/node_modules/is-fullwidth-code-point/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/index.js rename to node_backend/node_modules/is-fullwidth-code-point/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/license b/node_backend/node_modules/is-fullwidth-code-point/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/license rename to node_backend/node_modules/is-fullwidth-code-point/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/package.json b/node_backend/node_modules/is-fullwidth-code-point/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/package.json rename to node_backend/node_modules/is-fullwidth-code-point/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/readme.md b/node_backend/node_modules/is-fullwidth-code-point/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/is-fullwidth-code-point/readme.md rename to node_backend/node_modules/is-fullwidth-code-point/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/.npmignore b/node_backend/node_modules/isarray/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/.npmignore rename to node_backend/node_modules/isarray/.npmignore diff --git a/node_backend/node_modules/isarray/.travis.yml b/node_backend/node_modules/isarray/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..cc4dba29d959a2da7b97f9edd3c7c91384b2ee5b --- /dev/null +++ b/node_backend/node_modules/isarray/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - "0.8" + - "0.10" diff --git a/node_backend/node_modules/isarray/Makefile b/node_backend/node_modules/isarray/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..787d56e1e982e48588bc199f36f0d50cb4724066 --- /dev/null +++ b/node_backend/node_modules/isarray/Makefile @@ -0,0 +1,6 @@ + +test: + @node_modules/.bin/tape test.js + +.PHONY: test + diff --git a/node_backend/node_modules/isarray/README.md b/node_backend/node_modules/isarray/README.md new file mode 100644 index 0000000000000000000000000000000000000000..16d2c59c6195f9a1ac9af37cb9d75f1a6b85ab01 --- /dev/null +++ b/node_backend/node_modules/isarray/README.md @@ -0,0 +1,60 @@ + +# isarray + +`Array#isArray` for older browsers. + +[![build status](https://secure.travis-ci.org/juliangruber/isarray.svg)](http://travis-ci.org/juliangruber/isarray) +[![downloads](https://img.shields.io/npm/dm/isarray.svg)](https://www.npmjs.org/package/isarray) + +[![browser support](https://ci.testling.com/juliangruber/isarray.png) +](https://ci.testling.com/juliangruber/isarray) + +## Usage + +```js +var isArray = require('isarray'); + +console.log(isArray([])); // => true +console.log(isArray({})); // => false +``` + +## Installation + +With [npm](http://npmjs.org) do + +```bash +$ npm install isarray +``` + +Then bundle for the browser with +[browserify](https://github.com/substack/browserify). + +With [component](http://component.io) do + +```bash +$ component install juliangruber/isarray +``` + +## License + +(MIT) + +Copyright (c) 2013 Julian Gruber <julian@juliangruber.com> + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies +of the Software, and to permit persons to whom the Software is furnished to do +so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/node_backend/node_modules/isarray/component.json b/node_backend/node_modules/isarray/component.json new file mode 100644 index 0000000000000000000000000000000000000000..9e31b6838890159e397063bdd2ea7de80b4e4a42 --- /dev/null +++ b/node_backend/node_modules/isarray/component.json @@ -0,0 +1,19 @@ +{ + "name" : "isarray", + "description" : "Array#isArray for older browsers", + "version" : "0.0.1", + "repository" : "juliangruber/isarray", + "homepage": "https://github.com/juliangruber/isarray", + "main" : "index.js", + "scripts" : [ + "index.js" + ], + "dependencies" : {}, + "keywords": ["browser","isarray","array"], + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "license": "MIT" +} diff --git a/node_backend/node_modules/isarray/index.js b/node_backend/node_modules/isarray/index.js new file mode 100644 index 0000000000000000000000000000000000000000..a57f63495943a07b3b08d17e0f9ef6793548c801 --- /dev/null +++ b/node_backend/node_modules/isarray/index.js @@ -0,0 +1,5 @@ +var toString = {}.toString; + +module.exports = Array.isArray || function (arr) { + return toString.call(arr) == '[object Array]'; +}; diff --git a/node_backend/node_modules/isarray/package.json b/node_backend/node_modules/isarray/package.json new file mode 100644 index 0000000000000000000000000000000000000000..1a4317a9c41c73d52934337143b974a35074e6f2 --- /dev/null +++ b/node_backend/node_modules/isarray/package.json @@ -0,0 +1,45 @@ +{ + "name": "isarray", + "description": "Array#isArray for older browsers", + "version": "1.0.0", + "repository": { + "type": "git", + "url": "git://github.com/juliangruber/isarray.git" + }, + "homepage": "https://github.com/juliangruber/isarray", + "main": "index.js", + "dependencies": {}, + "devDependencies": { + "tape": "~2.13.4" + }, + "keywords": [ + "browser", + "isarray", + "array" + ], + "author": { + "name": "Julian Gruber", + "email": "mail@juliangruber.com", + "url": "http://juliangruber.com" + }, + "license": "MIT", + "testling": { + "files": "test.js", + "browsers": [ + "ie/8..latest", + "firefox/17..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + }, + "scripts": { + "test": "tape test.js" + } +} diff --git a/node_backend/node_modules/isarray/test.js b/node_backend/node_modules/isarray/test.js new file mode 100644 index 0000000000000000000000000000000000000000..e0c3444d85d5c799bd70b2ee9df62ef56d9763ea --- /dev/null +++ b/node_backend/node_modules/isarray/test.js @@ -0,0 +1,20 @@ +var isArray = require('./'); +var test = require('tape'); + +test('is array', function(t){ + t.ok(isArray([])); + t.notOk(isArray({})); + t.notOk(isArray(null)); + t.notOk(isArray(false)); + + var obj = {}; + obj[0] = true; + t.notOk(isArray(obj)); + + var arr = []; + arr.foo = 'bar'; + t.ok(isArray(arr)); + + t.end(); +}); + diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/LICENSE b/node_backend/node_modules/jsonwebtoken/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/LICENSE rename to node_backend/node_modules/jsonwebtoken/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/README.md b/node_backend/node_modules/jsonwebtoken/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/README.md rename to node_backend/node_modules/jsonwebtoken/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/decode.js b/node_backend/node_modules/jsonwebtoken/decode.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/decode.js rename to node_backend/node_modules/jsonwebtoken/decode.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/index.js b/node_backend/node_modules/jsonwebtoken/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/index.js rename to node_backend/node_modules/jsonwebtoken/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/JsonWebTokenError.js b/node_backend/node_modules/jsonwebtoken/lib/JsonWebTokenError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/JsonWebTokenError.js rename to node_backend/node_modules/jsonwebtoken/lib/JsonWebTokenError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/NotBeforeError.js b/node_backend/node_modules/jsonwebtoken/lib/NotBeforeError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/NotBeforeError.js rename to node_backend/node_modules/jsonwebtoken/lib/NotBeforeError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/TokenExpiredError.js b/node_backend/node_modules/jsonwebtoken/lib/TokenExpiredError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/TokenExpiredError.js rename to node_backend/node_modules/jsonwebtoken/lib/TokenExpiredError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js b/node_backend/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js rename to node_backend/node_modules/jsonwebtoken/lib/asymmetricKeyDetailsSupported.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/psSupported.js b/node_backend/node_modules/jsonwebtoken/lib/psSupported.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/psSupported.js rename to node_backend/node_modules/jsonwebtoken/lib/psSupported.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js b/node_backend/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js rename to node_backend/node_modules/jsonwebtoken/lib/rsaPssKeyDetailsSupported.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/timespan.js b/node_backend/node_modules/jsonwebtoken/lib/timespan.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/timespan.js rename to node_backend/node_modules/jsonwebtoken/lib/timespan.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js b/node_backend/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js rename to node_backend/node_modules/jsonwebtoken/lib/validateAsymmetricKey.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/index.js b/node_backend/node_modules/jsonwebtoken/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/index.js rename to node_backend/node_modules/jsonwebtoken/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/license.md b/node_backend/node_modules/jsonwebtoken/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/license.md rename to node_backend/node_modules/jsonwebtoken/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/package.json b/node_backend/node_modules/jsonwebtoken/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/package.json rename to node_backend/node_modules/jsonwebtoken/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/readme.md b/node_backend/node_modules/jsonwebtoken/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/node_modules/ms/readme.md rename to node_backend/node_modules/jsonwebtoken/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/package.json b/node_backend/node_modules/jsonwebtoken/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/package.json rename to node_backend/node_modules/jsonwebtoken/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/sign.js b/node_backend/node_modules/jsonwebtoken/sign.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/sign.js rename to node_backend/node_modules/jsonwebtoken/sign.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/verify.js b/node_backend/node_modules/jsonwebtoken/verify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jsonwebtoken/verify.js rename to node_backend/node_modules/jsonwebtoken/verify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jwa/LICENSE b/node_backend/node_modules/jwa/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jwa/LICENSE rename to node_backend/node_modules/jwa/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/jwa/README.md b/node_backend/node_modules/jwa/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jwa/README.md rename to node_backend/node_modules/jwa/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/jwa/index.js b/node_backend/node_modules/jwa/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jwa/index.js rename to node_backend/node_modules/jwa/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jwa/package.json b/node_backend/node_modules/jwa/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jwa/package.json rename to node_backend/node_modules/jwa/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/CHANGELOG.md b/node_backend/node_modules/jws/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/CHANGELOG.md rename to node_backend/node_modules/jws/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/LICENSE b/node_backend/node_modules/jws/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/LICENSE rename to node_backend/node_modules/jws/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/index.js b/node_backend/node_modules/jws/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/index.js rename to node_backend/node_modules/jws/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/lib/data-stream.js b/node_backend/node_modules/jws/lib/data-stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/lib/data-stream.js rename to node_backend/node_modules/jws/lib/data-stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/lib/sign-stream.js b/node_backend/node_modules/jws/lib/sign-stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/lib/sign-stream.js rename to node_backend/node_modules/jws/lib/sign-stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/lib/tostring.js b/node_backend/node_modules/jws/lib/tostring.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/lib/tostring.js rename to node_backend/node_modules/jws/lib/tostring.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/lib/verify-stream.js b/node_backend/node_modules/jws/lib/verify-stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/lib/verify-stream.js rename to node_backend/node_modules/jws/lib/verify-stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/package.json b/node_backend/node_modules/jws/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/package.json rename to node_backend/node_modules/jws/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/jws/readme.md b/node_backend/node_modules/jws/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/jws/readme.md rename to node_backend/node_modules/jws/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/CHANGELOG.md b/node_backend/node_modules/kareem/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/CHANGELOG.md rename to node_backend/node_modules/kareem/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/LICENSE b/node_backend/node_modules/kareem/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/LICENSE rename to node_backend/node_modules/kareem/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/README.md b/node_backend/node_modules/kareem/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/README.md rename to node_backend/node_modules/kareem/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/SECURITY.md b/node_backend/node_modules/kareem/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/SECURITY.md rename to node_backend/node_modules/kareem/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/index.d.ts b/node_backend/node_modules/kareem/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/index.d.ts rename to node_backend/node_modules/kareem/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/index.js b/node_backend/node_modules/kareem/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/index.js rename to node_backend/node_modules/kareem/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/kareem/package.json b/node_backend/node_modules/kareem/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/kareem/package.json rename to node_backend/node_modules/kareem/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.includes/LICENSE b/node_backend/node_modules/lodash.includes/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.includes/LICENSE rename to node_backend/node_modules/lodash.includes/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.includes/README.md b/node_backend/node_modules/lodash.includes/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.includes/README.md rename to node_backend/node_modules/lodash.includes/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.includes/index.js b/node_backend/node_modules/lodash.includes/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.includes/index.js rename to node_backend/node_modules/lodash.includes/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.includes/package.json b/node_backend/node_modules/lodash.includes/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.includes/package.json rename to node_backend/node_modules/lodash.includes/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/LICENSE b/node_backend/node_modules/lodash.isboolean/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/LICENSE rename to node_backend/node_modules/lodash.isboolean/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/README.md b/node_backend/node_modules/lodash.isboolean/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/README.md rename to node_backend/node_modules/lodash.isboolean/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/index.js b/node_backend/node_modules/lodash.isboolean/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/index.js rename to node_backend/node_modules/lodash.isboolean/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/package.json b/node_backend/node_modules/lodash.isboolean/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isboolean/package.json rename to node_backend/node_modules/lodash.isboolean/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/LICENSE b/node_backend/node_modules/lodash.isinteger/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/LICENSE rename to node_backend/node_modules/lodash.isinteger/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/README.md b/node_backend/node_modules/lodash.isinteger/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/README.md rename to node_backend/node_modules/lodash.isinteger/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/index.js b/node_backend/node_modules/lodash.isinteger/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/index.js rename to node_backend/node_modules/lodash.isinteger/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/package.json b/node_backend/node_modules/lodash.isinteger/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isinteger/package.json rename to node_backend/node_modules/lodash.isinteger/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/LICENSE b/node_backend/node_modules/lodash.isnumber/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/LICENSE rename to node_backend/node_modules/lodash.isnumber/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/README.md b/node_backend/node_modules/lodash.isnumber/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/README.md rename to node_backend/node_modules/lodash.isnumber/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/index.js b/node_backend/node_modules/lodash.isnumber/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/index.js rename to node_backend/node_modules/lodash.isnumber/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/package.json b/node_backend/node_modules/lodash.isnumber/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isnumber/package.json rename to node_backend/node_modules/lodash.isnumber/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/LICENSE b/node_backend/node_modules/lodash.isplainobject/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/LICENSE rename to node_backend/node_modules/lodash.isplainobject/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/README.md b/node_backend/node_modules/lodash.isplainobject/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/README.md rename to node_backend/node_modules/lodash.isplainobject/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/index.js b/node_backend/node_modules/lodash.isplainobject/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/index.js rename to node_backend/node_modules/lodash.isplainobject/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/package.json b/node_backend/node_modules/lodash.isplainobject/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isplainobject/package.json rename to node_backend/node_modules/lodash.isplainobject/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/LICENSE b/node_backend/node_modules/lodash.isstring/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/LICENSE rename to node_backend/node_modules/lodash.isstring/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/README.md b/node_backend/node_modules/lodash.isstring/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/README.md rename to node_backend/node_modules/lodash.isstring/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/index.js b/node_backend/node_modules/lodash.isstring/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/index.js rename to node_backend/node_modules/lodash.isstring/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/package.json b/node_backend/node_modules/lodash.isstring/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.isstring/package.json rename to node_backend/node_modules/lodash.isstring/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.once/LICENSE b/node_backend/node_modules/lodash.once/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.once/LICENSE rename to node_backend/node_modules/lodash.once/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.once/README.md b/node_backend/node_modules/lodash.once/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.once/README.md rename to node_backend/node_modules/lodash.once/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.once/index.js b/node_backend/node_modules/lodash.once/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.once/index.js rename to node_backend/node_modules/lodash.once/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/lodash.once/package.json b/node_backend/node_modules/lodash.once/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/lodash.once/package.json rename to node_backend/node_modules/lodash.once/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/index.d.ts b/node_backend/node_modules/make-dir/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/index.d.ts rename to node_backend/node_modules/make-dir/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/index.js b/node_backend/node_modules/make-dir/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/index.js rename to node_backend/node_modules/make-dir/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/license b/node_backend/node_modules/make-dir/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/license rename to node_backend/node_modules/make-dir/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver b/node_backend/node_modules/make-dir/node_modules/.bin/semver similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver rename to node_backend/node_modules/make-dir/node_modules/.bin/semver diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver.cmd b/node_backend/node_modules/make-dir/node_modules/.bin/semver.cmd similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver.cmd rename to node_backend/node_modules/make-dir/node_modules/.bin/semver.cmd diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver.ps1 b/node_backend/node_modules/make-dir/node_modules/.bin/semver.ps1 similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/.bin/semver.ps1 rename to node_backend/node_modules/make-dir/node_modules/.bin/semver.ps1 diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/LICENSE b/node_backend/node_modules/make-dir/node_modules/semver/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/LICENSE rename to node_backend/node_modules/make-dir/node_modules/semver/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/README.md b/node_backend/node_modules/make-dir/node_modules/semver/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/README.md rename to node_backend/node_modules/make-dir/node_modules/semver/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/bin/semver.js b/node_backend/node_modules/make-dir/node_modules/semver/bin/semver.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/bin/semver.js rename to node_backend/node_modules/make-dir/node_modules/semver/bin/semver.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/package.json b/node_backend/node_modules/make-dir/node_modules/semver/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/package.json rename to node_backend/node_modules/make-dir/node_modules/semver/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/range.bnf b/node_backend/node_modules/make-dir/node_modules/semver/range.bnf similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/range.bnf rename to node_backend/node_modules/make-dir/node_modules/semver/range.bnf diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/semver.js b/node_backend/node_modules/make-dir/node_modules/semver/semver.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/node_modules/semver/semver.js rename to node_backend/node_modules/make-dir/node_modules/semver/semver.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/package.json b/node_backend/node_modules/make-dir/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/package.json rename to node_backend/node_modules/make-dir/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/make-dir/readme.md b/node_backend/node_modules/make-dir/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/make-dir/readme.md rename to node_backend/node_modules/make-dir/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/media-typer/HISTORY.md b/node_backend/node_modules/media-typer/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/media-typer/HISTORY.md rename to node_backend/node_modules/media-typer/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/media-typer/LICENSE b/node_backend/node_modules/media-typer/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/media-typer/LICENSE rename to node_backend/node_modules/media-typer/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/media-typer/README.md b/node_backend/node_modules/media-typer/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/media-typer/README.md rename to node_backend/node_modules/media-typer/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/media-typer/index.js b/node_backend/node_modules/media-typer/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/media-typer/index.js rename to node_backend/node_modules/media-typer/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/media-typer/package.json b/node_backend/node_modules/media-typer/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/media-typer/package.json rename to node_backend/node_modules/media-typer/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/.travis.yml b/node_backend/node_modules/memory-pager/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/.travis.yml rename to node_backend/node_modules/memory-pager/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/LICENSE b/node_backend/node_modules/memory-pager/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/LICENSE rename to node_backend/node_modules/memory-pager/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/README.md b/node_backend/node_modules/memory-pager/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/README.md rename to node_backend/node_modules/memory-pager/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/index.js b/node_backend/node_modules/memory-pager/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/index.js rename to node_backend/node_modules/memory-pager/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/package.json b/node_backend/node_modules/memory-pager/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/package.json rename to node_backend/node_modules/memory-pager/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/memory-pager/test.js b/node_backend/node_modules/memory-pager/test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/memory-pager/test.js rename to node_backend/node_modules/memory-pager/test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/HISTORY.md b/node_backend/node_modules/merge-descriptors/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/HISTORY.md rename to node_backend/node_modules/merge-descriptors/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/LICENSE b/node_backend/node_modules/merge-descriptors/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/LICENSE rename to node_backend/node_modules/merge-descriptors/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/README.md b/node_backend/node_modules/merge-descriptors/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/README.md rename to node_backend/node_modules/merge-descriptors/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/index.js b/node_backend/node_modules/merge-descriptors/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/index.js rename to node_backend/node_modules/merge-descriptors/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/package.json b/node_backend/node_modules/merge-descriptors/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/merge-descriptors/package.json rename to node_backend/node_modules/merge-descriptors/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/methods/HISTORY.md b/node_backend/node_modules/methods/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/methods/HISTORY.md rename to node_backend/node_modules/methods/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/methods/LICENSE b/node_backend/node_modules/methods/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/methods/LICENSE rename to node_backend/node_modules/methods/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/methods/README.md b/node_backend/node_modules/methods/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/methods/README.md rename to node_backend/node_modules/methods/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/methods/index.js b/node_backend/node_modules/methods/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/methods/index.js rename to node_backend/node_modules/methods/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/methods/package.json b/node_backend/node_modules/methods/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/methods/package.json rename to node_backend/node_modules/methods/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/HISTORY.md b/node_backend/node_modules/mime-db/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/HISTORY.md rename to node_backend/node_modules/mime-db/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/LICENSE b/node_backend/node_modules/mime-db/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/LICENSE rename to node_backend/node_modules/mime-db/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/README.md b/node_backend/node_modules/mime-db/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/README.md rename to node_backend/node_modules/mime-db/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/db.json b/node_backend/node_modules/mime-db/db.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/db.json rename to node_backend/node_modules/mime-db/db.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/index.js b/node_backend/node_modules/mime-db/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/index.js rename to node_backend/node_modules/mime-db/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-db/package.json b/node_backend/node_modules/mime-db/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-db/package.json rename to node_backend/node_modules/mime-db/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-types/HISTORY.md b/node_backend/node_modules/mime-types/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-types/HISTORY.md rename to node_backend/node_modules/mime-types/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-types/LICENSE b/node_backend/node_modules/mime-types/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-types/LICENSE rename to node_backend/node_modules/mime-types/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-types/README.md b/node_backend/node_modules/mime-types/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-types/README.md rename to node_backend/node_modules/mime-types/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-types/index.js b/node_backend/node_modules/mime-types/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-types/index.js rename to node_backend/node_modules/mime-types/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime-types/package.json b/node_backend/node_modules/mime-types/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime-types/package.json rename to node_backend/node_modules/mime-types/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/.npmignore b/node_backend/node_modules/mime/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/.npmignore rename to node_backend/node_modules/mime/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/CHANGELOG.md b/node_backend/node_modules/mime/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/CHANGELOG.md rename to node_backend/node_modules/mime/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/LICENSE b/node_backend/node_modules/mime/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/LICENSE rename to node_backend/node_modules/mime/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/README.md b/node_backend/node_modules/mime/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/README.md rename to node_backend/node_modules/mime/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/cli.js b/node_backend/node_modules/mime/cli.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/cli.js rename to node_backend/node_modules/mime/cli.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/mime.js b/node_backend/node_modules/mime/mime.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/mime.js rename to node_backend/node_modules/mime/mime.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/package.json b/node_backend/node_modules/mime/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/package.json rename to node_backend/node_modules/mime/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/src/build.js b/node_backend/node_modules/mime/src/build.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/src/build.js rename to node_backend/node_modules/mime/src/build.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/src/test.js b/node_backend/node_modules/mime/src/test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/src/test.js rename to node_backend/node_modules/mime/src/test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mime/types.json b/node_backend/node_modules/mime/types.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mime/types.json rename to node_backend/node_modules/mime/types.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/minimatch/LICENSE b/node_backend/node_modules/minimatch/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minimatch/LICENSE rename to node_backend/node_modules/minimatch/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/minimatch/README.md b/node_backend/node_modules/minimatch/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minimatch/README.md rename to node_backend/node_modules/minimatch/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/minimatch/minimatch.js b/node_backend/node_modules/minimatch/minimatch.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minimatch/minimatch.js rename to node_backend/node_modules/minimatch/minimatch.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/minimatch/package.json b/node_backend/node_modules/minimatch/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minimatch/package.json rename to node_backend/node_modules/minimatch/package.json diff --git a/node_backend/node_modules/minimist/.eslintrc b/node_backend/node_modules/minimist/.eslintrc new file mode 100644 index 0000000000000000000000000000000000000000..bd1a5e046b4148dfc6bfd15c8aa69c81ae809a28 --- /dev/null +++ b/node_backend/node_modules/minimist/.eslintrc @@ -0,0 +1,29 @@ +{ + "root": true, + + "extends": "@ljharb/eslint-config/node/0.4", + + "rules": { + "array-element-newline": 0, + "complexity": 0, + "func-style": [2, "declaration"], + "max-lines-per-function": 0, + "max-nested-callbacks": 1, + "max-statements-per-line": 1, + "max-statements": 0, + "multiline-comment-style": 0, + "no-continue": 1, + "no-param-reassign": 1, + "no-restricted-syntax": 1, + "object-curly-newline": 0, + }, + + "overrides": [ + { + "files": "test/**", + "rules": { + "camelcase": 0, + }, + }, + ] +} diff --git a/node_backend/node_modules/minimist/.github/FUNDING.yml b/node_backend/node_modules/minimist/.github/FUNDING.yml new file mode 100644 index 0000000000000000000000000000000000000000..a9366222e92a9f9a7a2a4c4cf7cf0f011510924d --- /dev/null +++ b/node_backend/node_modules/minimist/.github/FUNDING.yml @@ -0,0 +1,12 @@ +# These are supported funding model platforms + +github: [ljharb] +patreon: # Replace with a single Patreon username +open_collective: # Replace with a single Open Collective username +ko_fi: # Replace with a single Ko-fi username +tidelift: npm/minimist +community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry +liberapay: # Replace with a single Liberapay username +issuehunt: # Replace with a single IssueHunt username +otechie: # Replace with a single Otechie username +custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2'] diff --git a/node_backend/node_modules/minimist/.nycrc b/node_backend/node_modules/minimist/.nycrc new file mode 100644 index 0000000000000000000000000000000000000000..55c3d29367a4216abea3dc5eaa48b59826da355b --- /dev/null +++ b/node_backend/node_modules/minimist/.nycrc @@ -0,0 +1,14 @@ +{ + "all": true, + "check-coverage": false, + "reporter": ["text-summary", "text", "html", "json"], + "lines": 86, + "statements": 85.93, + "functions": 82.43, + "branches": 76.06, + "exclude": [ + "coverage", + "example", + "test" + ] +} diff --git a/node_backend/node_modules/minimist/CHANGELOG.md b/node_backend/node_modules/minimist/CHANGELOG.md new file mode 100644 index 0000000000000000000000000000000000000000..c9a1e15e6c2fe73a0ebf35040fef031b46437ba6 --- /dev/null +++ b/node_backend/node_modules/minimist/CHANGELOG.md @@ -0,0 +1,298 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [v1.2.8](https://github.com/minimistjs/minimist/compare/v1.2.7...v1.2.8) - 2023-02-09 + +### Merged + +- [Fix] Fix long option followed by single dash [`#17`](https://github.com/minimistjs/minimist/pull/17) +- [Tests] Remove duplicate test [`#12`](https://github.com/minimistjs/minimist/pull/12) +- [Fix] opt.string works with multiple aliases [`#10`](https://github.com/minimistjs/minimist/pull/10) + +### Fixed + +- [Fix] Fix long option followed by single dash (#17) [`#15`](https://github.com/minimistjs/minimist/issues/15) +- [Tests] Remove duplicate test (#12) [`#8`](https://github.com/minimistjs/minimist/issues/8) +- [Fix] Fix long option followed by single dash [`#15`](https://github.com/minimistjs/minimist/issues/15) +- [Fix] opt.string works with multiple aliases (#10) [`#9`](https://github.com/minimistjs/minimist/issues/9) +- [Fix] Fix handling of short option with non-trivial equals [`#5`](https://github.com/minimistjs/minimist/issues/5) +- [Tests] Remove duplicate test [`#8`](https://github.com/minimistjs/minimist/issues/8) +- [Fix] opt.string works with multiple aliases [`#9`](https://github.com/minimistjs/minimist/issues/9) + +### Commits + +- Merge tag 'v0.2.3' [`a026794`](https://github.com/minimistjs/minimist/commit/a0267947c7870fc5847cf2d437fbe33f392767da) +- [eslint] fix indentation and whitespace [`5368ca4`](https://github.com/minimistjs/minimist/commit/5368ca4147e974138a54cc0dc4cea8f756546b70) +- [eslint] fix indentation and whitespace [`e5f5067`](https://github.com/minimistjs/minimist/commit/e5f5067259ceeaf0b098d14bec910f87e58708c7) +- [eslint] more cleanup [`62fde7d`](https://github.com/minimistjs/minimist/commit/62fde7d935f83417fb046741531a9e2346a36976) +- [eslint] more cleanup [`36ac5d0`](https://github.com/minimistjs/minimist/commit/36ac5d0d95e4947d074e5737d94814034ca335d1) +- [meta] add `auto-changelog` [`73923d2`](https://github.com/minimistjs/minimist/commit/73923d223553fca08b1ba77e3fbc2a492862ae4c) +- [actions] add reusable workflows [`d80727d`](https://github.com/minimistjs/minimist/commit/d80727df77bfa9e631044d7f16368d8f09242c91) +- [eslint] add eslint; rules to enable later are warnings [`48bc06a`](https://github.com/minimistjs/minimist/commit/48bc06a1b41f00e9cdf183db34f7a51ba70e98d4) +- [eslint] fix indentation [`34b0f1c`](https://github.com/minimistjs/minimist/commit/34b0f1ccaa45183c3c4f06a91f9b405180a6f982) +- [readme] rename and add badges [`5df0fe4`](https://github.com/minimistjs/minimist/commit/5df0fe49211bd09a3636f8686a7cb3012c3e98f0) +- [Dev Deps] switch from `covert` to `nyc` [`a48b128`](https://github.com/minimistjs/minimist/commit/a48b128fdb8d427dfb20a15273f83e38d97bef07) +- [Dev Deps] update `covert`, `tape`; remove unnecessary `tap` [`f0fb958`](https://github.com/minimistjs/minimist/commit/f0fb958e9a1fe980cdffc436a211b0bda58f621b) +- [meta] create FUNDING.yml; add `funding` in package.json [`3639e0c`](https://github.com/minimistjs/minimist/commit/3639e0c819359a366387e425ab6eabf4c78d3caa) +- [meta] use `npmignore` to autogenerate an npmignore file [`be2e038`](https://github.com/minimistjs/minimist/commit/be2e038c342d8333b32f0fde67a0026b79c8150e) +- Only apps should have lockfiles [`282b570`](https://github.com/minimistjs/minimist/commit/282b570e7489d01b03f2d6d3dabf79cd3e5f84cf) +- isConstructorOrProto adapted from PR [`ef9153f`](https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11) +- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`098873c`](https://github.com/minimistjs/minimist/commit/098873c213cdb7c92e55ae1ef5aa1af3a8192a79) +- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`3124ed3`](https://github.com/minimistjs/minimist/commit/3124ed3e46306301ebb3c834874ce0241555c2c4) +- [meta] add `safe-publish-latest` [`4b927de`](https://github.com/minimistjs/minimist/commit/4b927de696d561c636b4f43bf49d4597cb36d6d6) +- [Tests] add `aud` in `posttest` [`b32d9bd`](https://github.com/minimistjs/minimist/commit/b32d9bd0ab340f4e9f8c3a97ff2a4424f25fab8c) +- [meta] update repo URLs [`f9fdfc0`](https://github.com/minimistjs/minimist/commit/f9fdfc032c54884d9a9996a390c63cd0719bbe1a) +- [actions] Avoid 0.6 tests due to build failures [`ba92fe6`](https://github.com/minimistjs/minimist/commit/ba92fe6ebbdc0431cca9a2ea8f27beb492f5e4ec) +- [Dev Deps] update `tape` [`950eaa7`](https://github.com/minimistjs/minimist/commit/950eaa74f112e04d23e9c606c67472c46739b473) +- [Dev Deps] add missing `npmignore` dev dep [`3226afa`](https://github.com/minimistjs/minimist/commit/3226afaf09e9d127ca369742437fe6e88f752d6b) +- Merge tag 'v0.2.2' [`980d7ac`](https://github.com/minimistjs/minimist/commit/980d7ac61a0b4bd552711251ac107d506b23e41f) + +## [v1.2.7](https://github.com/minimistjs/minimist/compare/v1.2.6...v1.2.7) - 2022-10-10 + +### Commits + +- [meta] add `auto-changelog` [`0ebf4eb`](https://github.com/minimistjs/minimist/commit/0ebf4ebcd5f7787a5524d31a849ef41316b83c3c) +- [actions] add reusable workflows [`e115b63`](https://github.com/minimistjs/minimist/commit/e115b63fa9d3909f33b00a2db647ff79068388de) +- [eslint] add eslint; rules to enable later are warnings [`f58745b`](https://github.com/minimistjs/minimist/commit/f58745b9bb84348e1be72af7dbba5840c7c13013) +- [Dev Deps] switch from `covert` to `nyc` [`ab03356`](https://github.com/minimistjs/minimist/commit/ab033567b9c8b31117cb026dc7f1e592ce455c65) +- [readme] rename and add badges [`236f4a0`](https://github.com/minimistjs/minimist/commit/236f4a07e4ebe5ee44f1496ec6974991ab293ffd) +- [meta] create FUNDING.yml; add `funding` in package.json [`783a49b`](https://github.com/minimistjs/minimist/commit/783a49bfd47e8335d3098a8cac75662cf71eb32a) +- [meta] use `npmignore` to autogenerate an npmignore file [`f81ece6`](https://github.com/minimistjs/minimist/commit/f81ece6aaec2fa14e69ff4f1e0407a8c4e2635a2) +- Only apps should have lockfiles [`56cad44`](https://github.com/minimistjs/minimist/commit/56cad44c7f879b9bb5ec18fcc349308024a89bfc) +- [Dev Deps] update `covert`, `tape`; remove unnecessary `tap` [`49c5f9f`](https://github.com/minimistjs/minimist/commit/49c5f9fb7e6a92db9eb340cc679de92fb3aacded) +- [Tests] add `aud` in `posttest` [`228ae93`](https://github.com/minimistjs/minimist/commit/228ae938f3cd9db9dfd8bd7458b076a7b2aef280) +- [meta] add `safe-publish-latest` [`01fc23f`](https://github.com/minimistjs/minimist/commit/01fc23f5104f85c75059972e01dd33796ab529ff) +- [meta] update repo URLs [`6b164c7`](https://github.com/minimistjs/minimist/commit/6b164c7d68e0b6bf32f894699effdfb7c63041dd) + +## [v1.2.6](https://github.com/minimistjs/minimist/compare/v1.2.5...v1.2.6) - 2022-03-21 + +### Commits + +- test from prototype pollution PR [`bc8ecee`](https://github.com/minimistjs/minimist/commit/bc8ecee43875261f4f17eb20b1243d3ed15e70eb) +- isConstructorOrProto adapted from PR [`c2b9819`](https://github.com/minimistjs/minimist/commit/c2b981977fa834b223b408cfb860f933c9811e4d) +- security notice for additional prototype pollution issue [`ef88b93`](https://github.com/minimistjs/minimist/commit/ef88b9325f77b5ee643ccfc97e2ebda577e4c4e2) + +## [v1.2.5](https://github.com/minimistjs/minimist/compare/v1.2.4...v1.2.5) - 2020-03-12 + +## [v1.2.4](https://github.com/minimistjs/minimist/compare/v1.2.3...v1.2.4) - 2020-03-11 + +### Commits + +- security notice [`4cf1354`](https://github.com/minimistjs/minimist/commit/4cf1354839cb972e38496d35e12f806eea92c11f) +- additional test for constructor prototype pollution [`1043d21`](https://github.com/minimistjs/minimist/commit/1043d212c3caaf871966e710f52cfdf02f9eea4b) + +## [v1.2.3](https://github.com/minimistjs/minimist/compare/v1.2.2...v1.2.3) - 2020-03-10 + +### Commits + +- more failing proto pollution tests [`13c01a5`](https://github.com/minimistjs/minimist/commit/13c01a5327736903704984b7f65616b8476850cc) +- even more aggressive checks for protocol pollution [`38a4d1c`](https://github.com/minimistjs/minimist/commit/38a4d1caead72ef99e824bb420a2528eec03d9ab) + +## [v1.2.2](https://github.com/minimistjs/minimist/compare/v1.2.1...v1.2.2) - 2020-03-10 + +### Commits + +- failing test for protocol pollution [`0efed03`](https://github.com/minimistjs/minimist/commit/0efed0340ec8433638758f7ca0c77cb20a0bfbab) +- cleanup [`67d3722`](https://github.com/minimistjs/minimist/commit/67d3722413448d00a62963d2d30c34656a92d7e2) +- console.dir -> console.log [`47acf72`](https://github.com/minimistjs/minimist/commit/47acf72c715a630bf9ea013867f47f1dd69dfc54) +- don't assign onto __proto__ [`63e7ed0`](https://github.com/minimistjs/minimist/commit/63e7ed05aa4b1889ec2f3b196426db4500cbda94) + +## [v1.2.1](https://github.com/minimistjs/minimist/compare/v1.2.0...v1.2.1) - 2020-03-10 + +### Merged + +- move the `opts['--']` example back where it belongs [`#63`](https://github.com/minimistjs/minimist/pull/63) + +### Commits + +- add test [`6be5dae`](https://github.com/minimistjs/minimist/commit/6be5dae35a32a987bcf4137fcd6c19c5200ee909) +- fix bad boolean regexp [`ac3fc79`](https://github.com/minimistjs/minimist/commit/ac3fc796e63b95128fdbdf67ea7fad71bd59aa76) + +## [v1.2.0](https://github.com/minimistjs/minimist/compare/v1.1.3...v1.2.0) - 2015-08-24 + +### Commits + +- failing -k=v short test [`63416b8`](https://github.com/minimistjs/minimist/commit/63416b8cd1d0d70e4714564cce465a36e4dd26d7) +- kv short fix [`6bbe145`](https://github.com/minimistjs/minimist/commit/6bbe14529166245e86424f220a2321442fe88dc3) +- failing kv short test [`f72ab7f`](https://github.com/minimistjs/minimist/commit/f72ab7f4572adc52902c9b6873cc969192f01b10) +- fixed kv test [`f5a48c3`](https://github.com/minimistjs/minimist/commit/f5a48c3e50e40ca54f00c8e84de4b4d6e9897fa8) +- enforce space between arg key and value [`86b321a`](https://github.com/minimistjs/minimist/commit/86b321affe648a8e016c095a4f0efa9d9074f502) + +## [v1.1.3](https://github.com/minimistjs/minimist/compare/v1.1.2...v1.1.3) - 2015-08-06 + +### Commits + +- add failing test - boolean alias array [`0fa3c5b`](https://github.com/minimistjs/minimist/commit/0fa3c5b3dd98551ddecf5392831b4c21211743fc) +- fix boolean values with multiple aliases [`9c0a6e7`](https://github.com/minimistjs/minimist/commit/9c0a6e7de25a273b11bbf9a7464f0bd833779795) + +## [v1.1.2](https://github.com/minimistjs/minimist/compare/v1.1.1...v1.1.2) - 2015-07-22 + +### Commits + +- Convert boolean arguments to boolean values [`8f3dc27`](https://github.com/minimistjs/minimist/commit/8f3dc27cf833f1d54671b6d0bcb55c2fe19672a9) +- use non-ancient npm, node 0.12 and iojs [`61ed1d0`](https://github.com/minimistjs/minimist/commit/61ed1d034b9ec7282764ce76f3992b1a0b4906ae) +- an older npm for 0.8 [`25cf778`](https://github.com/minimistjs/minimist/commit/25cf778b1220e7838a526832ad6972f75244054f) + +## [v1.1.1](https://github.com/minimistjs/minimist/compare/v1.1.0...v1.1.1) - 2015-03-10 + +### Commits + +- check that they type of a value is a boolean, not just that it is currently set to a boolean [`6863198`](https://github.com/minimistjs/minimist/commit/6863198e36139830ff1f20ffdceaddd93f2c1db9) +- upgrade tape, fix type issues from old tape version [`806712d`](https://github.com/minimistjs/minimist/commit/806712df91604ed02b8e39aa372b84aea659ee34) +- test for setting a boolean to a null default [`8c444fe`](https://github.com/minimistjs/minimist/commit/8c444fe89384ded7d441c120915ea60620b01dd3) +- if the previous value was a boolean, without an default (or with an alias) don't make an array either [`e5f419a`](https://github.com/minimistjs/minimist/commit/e5f419a3b5b3bc3f9e5ac71b7040621af70ed2dd) + +## [v1.1.0](https://github.com/minimistjs/minimist/compare/v1.0.0...v1.1.0) - 2014-08-10 + +### Commits + +- add support for handling "unknown" options not registered with the parser. [`6f3cc5d`](https://github.com/minimistjs/minimist/commit/6f3cc5d4e84524932a6ef2ce3592acc67cdd4383) +- reformat package.json [`02ed371`](https://github.com/minimistjs/minimist/commit/02ed37115194d3697ff358e8e25e5e66bab1d9f8) +- coverage script [`e5531ba`](https://github.com/minimistjs/minimist/commit/e5531ba0479da3b8138d3d8cac545d84ccb1c8df) +- extra fn to get 100% coverage again [`a6972da`](https://github.com/minimistjs/minimist/commit/a6972da89e56bf77642f8ec05a13b6558db93498) + +## [v1.0.0](https://github.com/minimistjs/minimist/compare/v0.2.3...v1.0.0) - 2014-08-10 + +### Commits + +- added stopEarly option [`471c7e4`](https://github.com/minimistjs/minimist/commit/471c7e4a7e910fc7ad8f9df850a186daf32c64e9) +- fix list [`fef6ae7`](https://github.com/minimistjs/minimist/commit/fef6ae79c38b9dc1c49569abb7cd04eb965eac5e) + +## [v0.2.3](https://github.com/minimistjs/minimist/compare/v0.2.2...v0.2.3) - 2023-02-09 + +### Merged + +- [Fix] Fix long option followed by single dash [`#17`](https://github.com/minimistjs/minimist/pull/17) +- [Tests] Remove duplicate test [`#12`](https://github.com/minimistjs/minimist/pull/12) +- [Fix] opt.string works with multiple aliases [`#10`](https://github.com/minimistjs/minimist/pull/10) + +### Fixed + +- [Fix] Fix long option followed by single dash (#17) [`#15`](https://github.com/minimistjs/minimist/issues/15) +- [Tests] Remove duplicate test (#12) [`#8`](https://github.com/minimistjs/minimist/issues/8) +- [Fix] opt.string works with multiple aliases (#10) [`#9`](https://github.com/minimistjs/minimist/issues/9) + +### Commits + +- [eslint] fix indentation and whitespace [`e5f5067`](https://github.com/minimistjs/minimist/commit/e5f5067259ceeaf0b098d14bec910f87e58708c7) +- [eslint] more cleanup [`36ac5d0`](https://github.com/minimistjs/minimist/commit/36ac5d0d95e4947d074e5737d94814034ca335d1) +- [eslint] fix indentation [`34b0f1c`](https://github.com/minimistjs/minimist/commit/34b0f1ccaa45183c3c4f06a91f9b405180a6f982) +- isConstructorOrProto adapted from PR [`ef9153f`](https://github.com/minimistjs/minimist/commit/ef9153fc52b6cea0744b2239921c5dcae4697f11) +- [Dev Deps] update `@ljharb/eslint-config`, `aud` [`098873c`](https://github.com/minimistjs/minimist/commit/098873c213cdb7c92e55ae1ef5aa1af3a8192a79) +- [Dev Deps] add missing `npmignore` dev dep [`3226afa`](https://github.com/minimistjs/minimist/commit/3226afaf09e9d127ca369742437fe6e88f752d6b) + +## [v0.2.2](https://github.com/minimistjs/minimist/compare/v0.2.1...v0.2.2) - 2022-10-10 + +### Commits + +- [meta] add `auto-changelog` [`73923d2`](https://github.com/minimistjs/minimist/commit/73923d223553fca08b1ba77e3fbc2a492862ae4c) +- [actions] add reusable workflows [`d80727d`](https://github.com/minimistjs/minimist/commit/d80727df77bfa9e631044d7f16368d8f09242c91) +- [eslint] add eslint; rules to enable later are warnings [`48bc06a`](https://github.com/minimistjs/minimist/commit/48bc06a1b41f00e9cdf183db34f7a51ba70e98d4) +- [readme] rename and add badges [`5df0fe4`](https://github.com/minimistjs/minimist/commit/5df0fe49211bd09a3636f8686a7cb3012c3e98f0) +- [Dev Deps] switch from `covert` to `nyc` [`a48b128`](https://github.com/minimistjs/minimist/commit/a48b128fdb8d427dfb20a15273f83e38d97bef07) +- [Dev Deps] update `covert`, `tape`; remove unnecessary `tap` [`f0fb958`](https://github.com/minimistjs/minimist/commit/f0fb958e9a1fe980cdffc436a211b0bda58f621b) +- [meta] create FUNDING.yml; add `funding` in package.json [`3639e0c`](https://github.com/minimistjs/minimist/commit/3639e0c819359a366387e425ab6eabf4c78d3caa) +- [meta] use `npmignore` to autogenerate an npmignore file [`be2e038`](https://github.com/minimistjs/minimist/commit/be2e038c342d8333b32f0fde67a0026b79c8150e) +- Only apps should have lockfiles [`282b570`](https://github.com/minimistjs/minimist/commit/282b570e7489d01b03f2d6d3dabf79cd3e5f84cf) +- [meta] add `safe-publish-latest` [`4b927de`](https://github.com/minimistjs/minimist/commit/4b927de696d561c636b4f43bf49d4597cb36d6d6) +- [Tests] add `aud` in `posttest` [`b32d9bd`](https://github.com/minimistjs/minimist/commit/b32d9bd0ab340f4e9f8c3a97ff2a4424f25fab8c) +- [meta] update repo URLs [`f9fdfc0`](https://github.com/minimistjs/minimist/commit/f9fdfc032c54884d9a9996a390c63cd0719bbe1a) + +## [v0.2.1](https://github.com/minimistjs/minimist/compare/v0.2.0...v0.2.1) - 2020-03-12 + +## [v0.2.0](https://github.com/minimistjs/minimist/compare/v0.1.0...v0.2.0) - 2014-06-19 + +### Commits + +- support all-boolean mode [`450a97f`](https://github.com/minimistjs/minimist/commit/450a97f6e2bc85c7a4a13185c19a818d9a5ebe69) + +## [v0.1.0](https://github.com/minimistjs/minimist/compare/v0.0.10...v0.1.0) - 2014-05-12 + +### Commits + +- Provide a mechanism to segregate -- arguments [`ce4a1e6`](https://github.com/minimistjs/minimist/commit/ce4a1e63a7e8d5ab88d2a3768adefa6af98a445a) +- documented argv['--'] [`14db0e6`](https://github.com/minimistjs/minimist/commit/14db0e6dbc6d2b9e472adaa54dad7004b364634f) +- Adding a test-case for notFlags segregation [`715c1e3`](https://github.com/minimistjs/minimist/commit/715c1e3714be223f998f6c537af6b505f0236c16) + +## [v0.0.10](https://github.com/minimistjs/minimist/compare/v0.0.9...v0.0.10) - 2014-05-11 + +### Commits + +- dedicated boolean test [`46e448f`](https://github.com/minimistjs/minimist/commit/46e448f9f513cfeb2bcc8b688b9b47ba1e515c2b) +- dedicated num test [`9bf2d36`](https://github.com/minimistjs/minimist/commit/9bf2d36f1d3b8795be90b8f7de0a937f098aa394) +- aliased values treated as strings [`1ab743b`](https://github.com/minimistjs/minimist/commit/1ab743bad4484d69f1259bed42f9531de01119de) +- cover the case of already numbers, at 100% coverage [`b2bb044`](https://github.com/minimistjs/minimist/commit/b2bb04436599d77a2ce029e8e555e25b3aa55d13) +- another test for higher coverage [`3662624`](https://github.com/minimistjs/minimist/commit/3662624be976d5489d486a856849c048d13be903) + +## [v0.0.9](https://github.com/minimistjs/minimist/compare/v0.0.8...v0.0.9) - 2014-05-08 + +### Commits + +- Eliminate `longest` fn. [`824f642`](https://github.com/minimistjs/minimist/commit/824f642038d1b02ede68b6261d1d65163390929a) + +## [v0.0.8](https://github.com/minimistjs/minimist/compare/v0.0.7...v0.0.8) - 2014-02-20 + +### Commits + +- return '' if flag is string and empty [`fa63ed4`](https://github.com/minimistjs/minimist/commit/fa63ed4651a4ef4eefddce34188e0d98d745a263) +- handle joined single letters [`66c248f`](https://github.com/minimistjs/minimist/commit/66c248f0241d4d421d193b022e9e365f11178534) + +## [v0.0.7](https://github.com/minimistjs/minimist/compare/v0.0.6...v0.0.7) - 2014-02-08 + +### Commits + +- another swap of .test for .match [`d1da408`](https://github.com/minimistjs/minimist/commit/d1da40819acbe846d89a5c02721211e3c1260dde) + +## [v0.0.6](https://github.com/minimistjs/minimist/compare/v0.0.5...v0.0.6) - 2014-02-08 + +### Commits + +- use .test() instead of .match() to not crash on non-string values in the arguments array [`7e0d1ad`](https://github.com/minimistjs/minimist/commit/7e0d1add8c9e5b9b20a4d3d0f9a94d824c578da1) + +## [v0.0.5](https://github.com/minimistjs/minimist/compare/v0.0.4...v0.0.5) - 2013-09-18 + +### Commits + +- Improve '--' handling. [`b11822c`](https://github.com/minimistjs/minimist/commit/b11822c09cc9d2460f30384d12afc0b953c037a4) + +## [v0.0.4](https://github.com/minimistjs/minimist/compare/v0.0.3...v0.0.4) - 2013-09-17 + +## [v0.0.3](https://github.com/minimistjs/minimist/compare/v0.0.2...v0.0.3) - 2013-09-12 + +### Commits + +- failing test for single dash preceeding a double dash [`b465514`](https://github.com/minimistjs/minimist/commit/b465514b82c9ae28972d714facd951deb2ad762b) +- fix for the dot test [`6a095f1`](https://github.com/minimistjs/minimist/commit/6a095f1d364c8fab2d6753d2291a0649315d297a) + +## [v0.0.2](https://github.com/minimistjs/minimist/compare/v0.0.1...v0.0.2) - 2013-08-28 + +### Commits + +- allow dotted aliases & defaults [`321c33e`](https://github.com/minimistjs/minimist/commit/321c33e755485faaeb44eeb1c05d33b2e0a5a7c4) +- use a better version of ff [`e40f611`](https://github.com/minimistjs/minimist/commit/e40f61114cf7be6f7947f7b3eed345853a67dbbb) + +## [v0.0.1](https://github.com/minimistjs/minimist/compare/v0.0.0...v0.0.1) - 2013-06-25 + +### Commits + +- remove trailing commas [`6ff0fa0`](https://github.com/minimistjs/minimist/commit/6ff0fa055064f15dbe06d50b89d5173a6796e1db) + +## v0.0.0 - 2013-06-25 + +### Commits + +- half of the parse test ported [`3079326`](https://github.com/minimistjs/minimist/commit/307932601325087de6cf94188eb798ffc4f3088a) +- stripped down code and a passing test from optimist [`7cced88`](https://github.com/minimistjs/minimist/commit/7cced88d82e399d1a03ed23eb667f04d3f320d10) +- ported parse tests completely over [`9448754`](https://github.com/minimistjs/minimist/commit/944875452e0820df6830b1408c26a0f7d3e1db04) +- docs, package.json [`a5bf46a`](https://github.com/minimistjs/minimist/commit/a5bf46ac9bb3bd114a9c340276c62c1091e538d5) +- move more short tests into short.js [`503edb5`](https://github.com/minimistjs/minimist/commit/503edb5c41d89c0d40831ee517154fc13b0f18b9) +- default bool test was wrong, not the code [`1b9f5db`](https://github.com/minimistjs/minimist/commit/1b9f5db4741b49962846081b68518de824992097) +- passing long tests ripped out of parse.js [`7972c4a`](https://github.com/minimistjs/minimist/commit/7972c4aff1f4803079e1668006658e2a761a0428) +- badges [`84c0370`](https://github.com/minimistjs/minimist/commit/84c037063664d42878aace715fe6572ce01b6f3b) +- all the tests now ported, some failures [`64239ed`](https://github.com/minimistjs/minimist/commit/64239edfe92c711c4eb0da254fcdfad2a5fdb605) +- failing short test [`f8a5341`](https://github.com/minimistjs/minimist/commit/f8a534112dd1138d2fad722def56a848480c446f) +- fixed the numeric test [`6b034f3`](https://github.com/minimistjs/minimist/commit/6b034f37c79342c60083ed97fd222e16928aac51) diff --git a/node_backend/node_modules/minimist/LICENSE b/node_backend/node_modules/minimist/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..ee27ba4b4412b0e4a05af5e3d8a005bc6681fdf3 --- /dev/null +++ b/node_backend/node_modules/minimist/LICENSE @@ -0,0 +1,18 @@ +This software is released under the MIT license: + +Permission is hereby granted, free of charge, to any person obtaining a copy of +this software and associated documentation files (the "Software"), to deal in +the Software without restriction, including without limitation the rights to +use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of +the Software, and to permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS +FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR +COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN +CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_backend/node_modules/minimist/README.md b/node_backend/node_modules/minimist/README.md new file mode 100644 index 0000000000000000000000000000000000000000..74da3234b4844a2d381a0c6f29f893beee5591bd --- /dev/null +++ b/node_backend/node_modules/minimist/README.md @@ -0,0 +1,121 @@ +# minimist [![Version Badge][npm-version-svg]][package-url] + +[![github actions][actions-image]][actions-url] +[![coverage][codecov-image]][codecov-url] +[![License][license-image]][license-url] +[![Downloads][downloads-image]][downloads-url] + +[![npm badge][npm-badge-png]][package-url] + +parse argument options + +This module is the guts of optimist's argument parser without all the +fanciful decoration. + +# example + +``` js +var argv = require('minimist')(process.argv.slice(2)); +console.log(argv); +``` + +``` +$ node example/parse.js -a beep -b boop +{ _: [], a: 'beep', b: 'boop' } +``` + +``` +$ node example/parse.js -x 3 -y 4 -n5 -abc --beep=boop foo bar baz +{ + _: ['foo', 'bar', 'baz'], + x: 3, + y: 4, + n: 5, + a: true, + b: true, + c: true, + beep: 'boop' +} +``` + +# security + +Previous versions had a prototype pollution bug that could cause privilege +escalation in some circumstances when handling untrusted user input. + +Please use version 1.2.6 or later: + +* https://security.snyk.io/vuln/SNYK-JS-MINIMIST-2429795 (version <=1.2.5) +* https://snyk.io/vuln/SNYK-JS-MINIMIST-559764 (version <=1.2.3) + +# methods + +``` js +var parseArgs = require('minimist') +``` + +## var argv = parseArgs(args, opts={}) + +Return an argument object `argv` populated with the array arguments from `args`. + +`argv._` contains all the arguments that didn't have an option associated with +them. + +Numeric-looking arguments will be returned as numbers unless `opts.string` or +`opts.boolean` is set for that argument name. + +Any arguments after `'--'` will not be parsed and will end up in `argv._`. + +options can be: + +* `opts.string` - a string or array of strings argument names to always treat as +strings +* `opts.boolean` - a boolean, string or array of strings to always treat as +booleans. if `true` will treat all double hyphenated arguments without equal signs +as boolean (e.g. affects `--foo`, not `-f` or `--foo=bar`) +* `opts.alias` - an object mapping string names to strings or arrays of string +argument names to use as aliases +* `opts.default` - an object mapping string argument names to default values +* `opts.stopEarly` - when true, populate `argv._` with everything after the +first non-option +* `opts['--']` - when true, populate `argv._` with everything before the `--` +and `argv['--']` with everything after the `--`. Here's an example: + + ``` + > require('./')('one two three -- four five --six'.split(' '), { '--': true }) + { + _: ['one', 'two', 'three'], + '--': ['four', 'five', '--six'] + } + ``` + + Note that with `opts['--']` set, parsing for arguments still stops after the + `--`. + +* `opts.unknown` - a function which is invoked with a command line parameter not +defined in the `opts` configuration object. If the function returns `false`, the +unknown option is not added to `argv`. + +# install + +With [npm](https://npmjs.org) do: + +``` +npm install minimist +``` + +# license + +MIT + +[package-url]: https://npmjs.org/package/minimist +[npm-version-svg]: https://versionbadg.es/minimistjs/minimist.svg +[npm-badge-png]: https://nodei.co/npm/minimist.png?downloads=true&stars=true +[license-image]: https://img.shields.io/npm/l/minimist.svg +[license-url]: LICENSE +[downloads-image]: https://img.shields.io/npm/dm/minimist.svg +[downloads-url]: https://npm-stat.com/charts.html?package=minimist +[codecov-image]: https://codecov.io/gh/minimistjs/minimist/branch/main/graphs/badge.svg +[codecov-url]: https://app.codecov.io/gh/minimistjs/minimist/ +[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/minimistjs/minimist +[actions-url]: https://github.com/minimistjs/minimist/actions diff --git a/node_backend/node_modules/minimist/example/parse.js b/node_backend/node_modules/minimist/example/parse.js new file mode 100644 index 0000000000000000000000000000000000000000..9d90ffb2642b4caddde1ec6fb0cff2e78192bb09 --- /dev/null +++ b/node_backend/node_modules/minimist/example/parse.js @@ -0,0 +1,4 @@ +'use strict'; + +var argv = require('../')(process.argv.slice(2)); +console.log(argv); diff --git a/node_backend/node_modules/minimist/index.js b/node_backend/node_modules/minimist/index.js new file mode 100644 index 0000000000000000000000000000000000000000..f020f3940e129c361dc89226efaf8775a4af8752 --- /dev/null +++ b/node_backend/node_modules/minimist/index.js @@ -0,0 +1,263 @@ +'use strict'; + +function hasKey(obj, keys) { + var o = obj; + keys.slice(0, -1).forEach(function (key) { + o = o[key] || {}; + }); + + var key = keys[keys.length - 1]; + return key in o; +} + +function isNumber(x) { + if (typeof x === 'number') { return true; } + if ((/^0x[0-9a-f]+$/i).test(x)) { return true; } + return (/^[-+]?(?:\d+(?:\.\d*)?|\.\d+)(e[-+]?\d+)?$/).test(x); +} + +function isConstructorOrProto(obj, key) { + return (key === 'constructor' && typeof obj[key] === 'function') || key === '__proto__'; +} + +module.exports = function (args, opts) { + if (!opts) { opts = {}; } + + var flags = { + bools: {}, + strings: {}, + unknownFn: null, + }; + + if (typeof opts.unknown === 'function') { + flags.unknownFn = opts.unknown; + } + + if (typeof opts.boolean === 'boolean' && opts.boolean) { + flags.allBools = true; + } else { + [].concat(opts.boolean).filter(Boolean).forEach(function (key) { + flags.bools[key] = true; + }); + } + + var aliases = {}; + + function aliasIsBoolean(key) { + return aliases[key].some(function (x) { + return flags.bools[x]; + }); + } + + Object.keys(opts.alias || {}).forEach(function (key) { + aliases[key] = [].concat(opts.alias[key]); + aliases[key].forEach(function (x) { + aliases[x] = [key].concat(aliases[key].filter(function (y) { + return x !== y; + })); + }); + }); + + [].concat(opts.string).filter(Boolean).forEach(function (key) { + flags.strings[key] = true; + if (aliases[key]) { + [].concat(aliases[key]).forEach(function (k) { + flags.strings[k] = true; + }); + } + }); + + var defaults = opts.default || {}; + + var argv = { _: [] }; + + function argDefined(key, arg) { + return (flags.allBools && (/^--[^=]+$/).test(arg)) + || flags.strings[key] + || flags.bools[key] + || aliases[key]; + } + + function setKey(obj, keys, value) { + var o = obj; + for (var i = 0; i < keys.length - 1; i++) { + var key = keys[i]; + if (isConstructorOrProto(o, key)) { return; } + if (o[key] === undefined) { o[key] = {}; } + if ( + o[key] === Object.prototype + || o[key] === Number.prototype + || o[key] === String.prototype + ) { + o[key] = {}; + } + if (o[key] === Array.prototype) { o[key] = []; } + o = o[key]; + } + + var lastKey = keys[keys.length - 1]; + if (isConstructorOrProto(o, lastKey)) { return; } + if ( + o === Object.prototype + || o === Number.prototype + || o === String.prototype + ) { + o = {}; + } + if (o === Array.prototype) { o = []; } + if (o[lastKey] === undefined || flags.bools[lastKey] || typeof o[lastKey] === 'boolean') { + o[lastKey] = value; + } else if (Array.isArray(o[lastKey])) { + o[lastKey].push(value); + } else { + o[lastKey] = [o[lastKey], value]; + } + } + + function setArg(key, val, arg) { + if (arg && flags.unknownFn && !argDefined(key, arg)) { + if (flags.unknownFn(arg) === false) { return; } + } + + var value = !flags.strings[key] && isNumber(val) + ? Number(val) + : val; + setKey(argv, key.split('.'), value); + + (aliases[key] || []).forEach(function (x) { + setKey(argv, x.split('.'), value); + }); + } + + Object.keys(flags.bools).forEach(function (key) { + setArg(key, defaults[key] === undefined ? false : defaults[key]); + }); + + var notFlags = []; + + if (args.indexOf('--') !== -1) { + notFlags = args.slice(args.indexOf('--') + 1); + args = args.slice(0, args.indexOf('--')); + } + + for (var i = 0; i < args.length; i++) { + var arg = args[i]; + var key; + var next; + + if ((/^--.+=/).test(arg)) { + // Using [\s\S] instead of . because js doesn't support the + // 'dotall' regex modifier. See: + // http://stackoverflow.com/a/1068308/13216 + var m = arg.match(/^--([^=]+)=([\s\S]*)$/); + key = m[1]; + var value = m[2]; + if (flags.bools[key]) { + value = value !== 'false'; + } + setArg(key, value, arg); + } else if ((/^--no-.+/).test(arg)) { + key = arg.match(/^--no-(.+)/)[1]; + setArg(key, false, arg); + } else if ((/^--.+/).test(arg)) { + key = arg.match(/^--(.+)/)[1]; + next = args[i + 1]; + if ( + next !== undefined + && !(/^(-|--)[^-]/).test(next) + && !flags.bools[key] + && !flags.allBools + && (aliases[key] ? !aliasIsBoolean(key) : true) + ) { + setArg(key, next, arg); + i += 1; + } else if ((/^(true|false)$/).test(next)) { + setArg(key, next === 'true', arg); + i += 1; + } else { + setArg(key, flags.strings[key] ? '' : true, arg); + } + } else if ((/^-[^-]+/).test(arg)) { + var letters = arg.slice(1, -1).split(''); + + var broken = false; + for (var j = 0; j < letters.length; j++) { + next = arg.slice(j + 2); + + if (next === '-') { + setArg(letters[j], next, arg); + continue; + } + + if ((/[A-Za-z]/).test(letters[j]) && next[0] === '=') { + setArg(letters[j], next.slice(1), arg); + broken = true; + break; + } + + if ( + (/[A-Za-z]/).test(letters[j]) + && (/-?\d+(\.\d*)?(e-?\d+)?$/).test(next) + ) { + setArg(letters[j], next, arg); + broken = true; + break; + } + + if (letters[j + 1] && letters[j + 1].match(/\W/)) { + setArg(letters[j], arg.slice(j + 2), arg); + broken = true; + break; + } else { + setArg(letters[j], flags.strings[letters[j]] ? '' : true, arg); + } + } + + key = arg.slice(-1)[0]; + if (!broken && key !== '-') { + if ( + args[i + 1] + && !(/^(-|--)[^-]/).test(args[i + 1]) + && !flags.bools[key] + && (aliases[key] ? !aliasIsBoolean(key) : true) + ) { + setArg(key, args[i + 1], arg); + i += 1; + } else if (args[i + 1] && (/^(true|false)$/).test(args[i + 1])) { + setArg(key, args[i + 1] === 'true', arg); + i += 1; + } else { + setArg(key, flags.strings[key] ? '' : true, arg); + } + } + } else { + if (!flags.unknownFn || flags.unknownFn(arg) !== false) { + argv._.push(flags.strings._ || !isNumber(arg) ? arg : Number(arg)); + } + if (opts.stopEarly) { + argv._.push.apply(argv._, args.slice(i + 1)); + break; + } + } + } + + Object.keys(defaults).forEach(function (k) { + if (!hasKey(argv, k.split('.'))) { + setKey(argv, k.split('.'), defaults[k]); + + (aliases[k] || []).forEach(function (x) { + setKey(argv, x.split('.'), defaults[k]); + }); + } + }); + + if (opts['--']) { + argv['--'] = notFlags.slice(); + } else { + notFlags.forEach(function (k) { + argv._.push(k); + }); + } + + return argv; +}; diff --git a/node_backend/node_modules/minimist/package.json b/node_backend/node_modules/minimist/package.json new file mode 100644 index 0000000000000000000000000000000000000000..c10a3344411197a716883caad07f0319f5d69b89 --- /dev/null +++ b/node_backend/node_modules/minimist/package.json @@ -0,0 +1,75 @@ +{ + "name": "minimist", + "version": "1.2.8", + "description": "parse argument options", + "main": "index.js", + "devDependencies": { + "@ljharb/eslint-config": "^21.0.1", + "aud": "^2.0.2", + "auto-changelog": "^2.4.0", + "eslint": "=8.8.0", + "in-publish": "^2.0.1", + "npmignore": "^0.3.0", + "nyc": "^10.3.2", + "safe-publish-latest": "^2.0.0", + "tape": "^5.6.3" + }, + "scripts": { + "prepack": "npmignore --auto --commentLines=auto", + "prepublishOnly": "safe-publish-latest", + "prepublish": "not-in-publish || npm run prepublishOnly", + "lint": "eslint --ext=js,mjs .", + "pretest": "npm run lint", + "tests-only": "nyc tape 'test/**/*.js'", + "test": "npm run tests-only", + "posttest": "aud --production", + "version": "auto-changelog && git add CHANGELOG.md", + "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" + }, + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/6..latest", + "ff/5", + "firefox/latest", + "chrome/10", + "chrome/latest", + "safari/5.1", + "safari/latest", + "opera/12" + ] + }, + "repository": { + "type": "git", + "url": "git://github.com/minimistjs/minimist.git" + }, + "homepage": "https://github.com/minimistjs/minimist", + "keywords": [ + "argv", + "getopt", + "parser", + "optimist" + ], + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + }, + "license": "MIT", + "auto-changelog": { + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": false, + "backfillLimit": false, + "hideCredit": true + }, + "publishConfig": { + "ignore": [ + ".github/workflows" + ] + } +} diff --git a/node_backend/node_modules/minimist/test/all_bool.js b/node_backend/node_modules/minimist/test/all_bool.js new file mode 100644 index 0000000000000000000000000000000000000000..befa0c99769080972260dac9e4a77630857000f2 --- /dev/null +++ b/node_backend/node_modules/minimist/test/all_bool.js @@ -0,0 +1,34 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('flag boolean true (default all --args to boolean)', function (t) { + var argv = parse(['moo', '--honk', 'cow'], { + boolean: true, + }); + + t.deepEqual(argv, { + honk: true, + _: ['moo', 'cow'], + }); + + t.deepEqual(typeof argv.honk, 'boolean'); + t.end(); +}); + +test('flag boolean true only affects double hyphen arguments without equals signs', function (t) { + var argv = parse(['moo', '--honk', 'cow', '-p', '55', '--tacos=good'], { + boolean: true, + }); + + t.deepEqual(argv, { + honk: true, + tacos: 'good', + p: 55, + _: ['moo', 'cow'], + }); + + t.deepEqual(typeof argv.honk, 'boolean'); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/bool.js b/node_backend/node_modules/minimist/test/bool.js new file mode 100644 index 0000000000000000000000000000000000000000..e58d47e442ce127bfe5703b6b64d14c3e4511223 --- /dev/null +++ b/node_backend/node_modules/minimist/test/bool.js @@ -0,0 +1,177 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('flag boolean default false', function (t) { + var argv = parse(['moo'], { + boolean: ['t', 'verbose'], + default: { verbose: false, t: false }, + }); + + t.deepEqual(argv, { + verbose: false, + t: false, + _: ['moo'], + }); + + t.deepEqual(typeof argv.verbose, 'boolean'); + t.deepEqual(typeof argv.t, 'boolean'); + t.end(); + +}); + +test('boolean groups', function (t) { + var argv = parse(['-x', '-z', 'one', 'two', 'three'], { + boolean: ['x', 'y', 'z'], + }); + + t.deepEqual(argv, { + x: true, + y: false, + z: true, + _: ['one', 'two', 'three'], + }); + + t.deepEqual(typeof argv.x, 'boolean'); + t.deepEqual(typeof argv.y, 'boolean'); + t.deepEqual(typeof argv.z, 'boolean'); + t.end(); +}); +test('boolean and alias with chainable api', function (t) { + var aliased = ['-h', 'derp']; + var regular = ['--herp', 'derp']; + var aliasedArgv = parse(aliased, { + boolean: 'herp', + alias: { h: 'herp' }, + }); + var propertyArgv = parse(regular, { + boolean: 'herp', + alias: { h: 'herp' }, + }); + var expected = { + herp: true, + h: true, + _: ['derp'], + }; + + t.same(aliasedArgv, expected); + t.same(propertyArgv, expected); + t.end(); +}); + +test('boolean and alias with options hash', function (t) { + var aliased = ['-h', 'derp']; + var regular = ['--herp', 'derp']; + var opts = { + alias: { h: 'herp' }, + boolean: 'herp', + }; + var aliasedArgv = parse(aliased, opts); + var propertyArgv = parse(regular, opts); + var expected = { + herp: true, + h: true, + _: ['derp'], + }; + t.same(aliasedArgv, expected); + t.same(propertyArgv, expected); + t.end(); +}); + +test('boolean and alias array with options hash', function (t) { + var aliased = ['-h', 'derp']; + var regular = ['--herp', 'derp']; + var alt = ['--harp', 'derp']; + var opts = { + alias: { h: ['herp', 'harp'] }, + boolean: 'h', + }; + var aliasedArgv = parse(aliased, opts); + var propertyArgv = parse(regular, opts); + var altPropertyArgv = parse(alt, opts); + var expected = { + harp: true, + herp: true, + h: true, + _: ['derp'], + }; + t.same(aliasedArgv, expected); + t.same(propertyArgv, expected); + t.same(altPropertyArgv, expected); + t.end(); +}); + +test('boolean and alias using explicit true', function (t) { + var aliased = ['-h', 'true']; + var regular = ['--herp', 'true']; + var opts = { + alias: { h: 'herp' }, + boolean: 'h', + }; + var aliasedArgv = parse(aliased, opts); + var propertyArgv = parse(regular, opts); + var expected = { + herp: true, + h: true, + _: [], + }; + + t.same(aliasedArgv, expected); + t.same(propertyArgv, expected); + t.end(); +}); + +// regression, see https://github.com/substack/node-optimist/issues/71 +test('boolean and --x=true', function (t) { + var parsed = parse(['--boool', '--other=true'], { + boolean: 'boool', + }); + + t.same(parsed.boool, true); + t.same(parsed.other, 'true'); + + parsed = parse(['--boool', '--other=false'], { + boolean: 'boool', + }); + + t.same(parsed.boool, true); + t.same(parsed.other, 'false'); + t.end(); +}); + +test('boolean --boool=true', function (t) { + var parsed = parse(['--boool=true'], { + default: { + boool: false, + }, + boolean: ['boool'], + }); + + t.same(parsed.boool, true); + t.end(); +}); + +test('boolean --boool=false', function (t) { + var parsed = parse(['--boool=false'], { + default: { + boool: true, + }, + boolean: ['boool'], + }); + + t.same(parsed.boool, false); + t.end(); +}); + +test('boolean using something similar to true', function (t) { + var opts = { boolean: 'h' }; + var result = parse(['-h', 'true.txt'], opts); + var expected = { + h: true, + _: ['true.txt'], + }; + + t.same(result, expected); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/dash.js b/node_backend/node_modules/minimist/test/dash.js new file mode 100644 index 0000000000000000000000000000000000000000..707881771e275240a0e0d6d4d2fb8d31a564d74f --- /dev/null +++ b/node_backend/node_modules/minimist/test/dash.js @@ -0,0 +1,43 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('-', function (t) { + t.plan(6); + t.deepEqual(parse(['-n', '-']), { n: '-', _: [] }); + t.deepEqual(parse(['--nnn', '-']), { nnn: '-', _: [] }); + t.deepEqual(parse(['-']), { _: ['-'] }); + t.deepEqual(parse(['-f-']), { f: '-', _: [] }); + t.deepEqual( + parse(['-b', '-'], { boolean: 'b' }), + { b: true, _: ['-'] } + ); + t.deepEqual( + parse(['-s', '-'], { string: 's' }), + { s: '-', _: [] } + ); +}); + +test('-a -- b', function (t) { + t.plan(2); + t.deepEqual(parse(['-a', '--', 'b']), { a: true, _: ['b'] }); + t.deepEqual(parse(['--a', '--', 'b']), { a: true, _: ['b'] }); +}); + +test('move arguments after the -- into their own `--` array', function (t) { + t.plan(1); + t.deepEqual( + parse(['--name', 'John', 'before', '--', 'after'], { '--': true }), + { name: 'John', _: ['before'], '--': ['after'] } + ); +}); + +test('--- option value', function (t) { + // A multi-dash value is largely an edge case, but check the behaviour is as expected, + // and in particular the same for short option and long option (as made consistent in Jan 2023). + t.plan(2); + t.deepEqual(parse(['-n', '---']), { n: '---', _: [] }); + t.deepEqual(parse(['--nnn', '---']), { nnn: '---', _: [] }); +}); + diff --git a/node_backend/node_modules/minimist/test/default_bool.js b/node_backend/node_modules/minimist/test/default_bool.js new file mode 100644 index 0000000000000000000000000000000000000000..4e9f6250f08ea8e005b66729630660a3db195566 --- /dev/null +++ b/node_backend/node_modules/minimist/test/default_bool.js @@ -0,0 +1,37 @@ +'use strict'; + +var test = require('tape'); +var parse = require('../'); + +test('boolean default true', function (t) { + var argv = parse([], { + boolean: 'sometrue', + default: { sometrue: true }, + }); + t.equal(argv.sometrue, true); + t.end(); +}); + +test('boolean default false', function (t) { + var argv = parse([], { + boolean: 'somefalse', + default: { somefalse: false }, + }); + t.equal(argv.somefalse, false); + t.end(); +}); + +test('boolean default to null', function (t) { + var argv = parse([], { + boolean: 'maybe', + default: { maybe: null }, + }); + t.equal(argv.maybe, null); + + var argvLong = parse(['--maybe'], { + boolean: 'maybe', + default: { maybe: null }, + }); + t.equal(argvLong.maybe, true); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/dotted.js b/node_backend/node_modules/minimist/test/dotted.js new file mode 100644 index 0000000000000000000000000000000000000000..126ff033b4237334be18dafed9f2b4636f684d2d --- /dev/null +++ b/node_backend/node_modules/minimist/test/dotted.js @@ -0,0 +1,24 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('dotted alias', function (t) { + var argv = parse(['--a.b', '22'], { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } }); + t.equal(argv.a.b, 22); + t.equal(argv.aa.bb, 22); + t.end(); +}); + +test('dotted default', function (t) { + var argv = parse('', { default: { 'a.b': 11 }, alias: { 'a.b': 'aa.bb' } }); + t.equal(argv.a.b, 11); + t.equal(argv.aa.bb, 11); + t.end(); +}); + +test('dotted default with no alias', function (t) { + var argv = parse('', { default: { 'a.b': 11 } }); + t.equal(argv.a.b, 11); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/kv_short.js b/node_backend/node_modules/minimist/test/kv_short.js new file mode 100644 index 0000000000000000000000000000000000000000..6d1b53a7a7ee1fcbeb9b12c9804f83ff90f46ccd --- /dev/null +++ b/node_backend/node_modules/minimist/test/kv_short.js @@ -0,0 +1,32 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('short -k=v', function (t) { + t.plan(1); + + var argv = parse(['-b=123']); + t.deepEqual(argv, { b: 123, _: [] }); +}); + +test('multi short -k=v', function (t) { + t.plan(1); + + var argv = parse(['-a=whatever', '-b=robots']); + t.deepEqual(argv, { a: 'whatever', b: 'robots', _: [] }); +}); + +test('short with embedded equals -k=a=b', function (t) { + t.plan(1); + + var argv = parse(['-k=a=b']); + t.deepEqual(argv, { k: 'a=b', _: [] }); +}); + +test('short with later equals like -ab=c', function (t) { + t.plan(1); + + var argv = parse(['-ab=c']); + t.deepEqual(argv, { a: true, b: 'c', _: [] }); +}); diff --git a/node_backend/node_modules/minimist/test/long.js b/node_backend/node_modules/minimist/test/long.js new file mode 100644 index 0000000000000000000000000000000000000000..9fef51f1fa8d9bf8ef9e92ad2ce5742f009ab941 --- /dev/null +++ b/node_backend/node_modules/minimist/test/long.js @@ -0,0 +1,33 @@ +'use strict'; + +var test = require('tape'); +var parse = require('../'); + +test('long opts', function (t) { + t.deepEqual( + parse(['--bool']), + { bool: true, _: [] }, + 'long boolean' + ); + t.deepEqual( + parse(['--pow', 'xixxle']), + { pow: 'xixxle', _: [] }, + 'long capture sp' + ); + t.deepEqual( + parse(['--pow=xixxle']), + { pow: 'xixxle', _: [] }, + 'long capture eq' + ); + t.deepEqual( + parse(['--host', 'localhost', '--port', '555']), + { host: 'localhost', port: 555, _: [] }, + 'long captures sp' + ); + t.deepEqual( + parse(['--host=localhost', '--port=555']), + { host: 'localhost', port: 555, _: [] }, + 'long captures eq' + ); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/num.js b/node_backend/node_modules/minimist/test/num.js new file mode 100644 index 0000000000000000000000000000000000000000..074393ecaf1705b9a6170c35ad23d55df943f306 --- /dev/null +++ b/node_backend/node_modules/minimist/test/num.js @@ -0,0 +1,38 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('nums', function (t) { + var argv = parse([ + '-x', '1234', + '-y', '5.67', + '-z', '1e7', + '-w', '10f', + '--hex', '0xdeadbeef', + '789', + ]); + t.deepEqual(argv, { + x: 1234, + y: 5.67, + z: 1e7, + w: '10f', + hex: 0xdeadbeef, + _: [789], + }); + t.deepEqual(typeof argv.x, 'number'); + t.deepEqual(typeof argv.y, 'number'); + t.deepEqual(typeof argv.z, 'number'); + t.deepEqual(typeof argv.w, 'string'); + t.deepEqual(typeof argv.hex, 'number'); + t.deepEqual(typeof argv._[0], 'number'); + t.end(); +}); + +test('already a number', function (t) { + var argv = parse(['-x', 1234, 789]); + t.deepEqual(argv, { x: 1234, _: [789] }); + t.deepEqual(typeof argv.x, 'number'); + t.deepEqual(typeof argv._[0], 'number'); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/parse.js b/node_backend/node_modules/minimist/test/parse.js new file mode 100644 index 0000000000000000000000000000000000000000..65d9d90927b91baa152a32e1485479307f1acf44 --- /dev/null +++ b/node_backend/node_modules/minimist/test/parse.js @@ -0,0 +1,209 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('parse args', function (t) { + t.deepEqual( + parse(['--no-moo']), + { moo: false, _: [] }, + 'no' + ); + t.deepEqual( + parse(['-v', 'a', '-v', 'b', '-v', 'c']), + { v: ['a', 'b', 'c'], _: [] }, + 'multi' + ); + t.end(); +}); + +test('comprehensive', function (t) { + t.deepEqual( + parse([ + '--name=meowmers', 'bare', '-cats', 'woo', + '-h', 'awesome', '--multi=quux', + '--key', 'value', + '-b', '--bool', '--no-meep', '--multi=baz', + '--', '--not-a-flag', 'eek', + ]), + { + c: true, + a: true, + t: true, + s: 'woo', + h: 'awesome', + b: true, + bool: true, + key: 'value', + multi: ['quux', 'baz'], + meep: false, + name: 'meowmers', + _: ['bare', '--not-a-flag', 'eek'], + } + ); + t.end(); +}); + +test('flag boolean', function (t) { + var argv = parse(['-t', 'moo'], { boolean: 't' }); + t.deepEqual(argv, { t: true, _: ['moo'] }); + t.deepEqual(typeof argv.t, 'boolean'); + t.end(); +}); + +test('flag boolean value', function (t) { + var argv = parse(['--verbose', 'false', 'moo', '-t', 'true'], { + boolean: ['t', 'verbose'], + default: { verbose: true }, + }); + + t.deepEqual(argv, { + verbose: false, + t: true, + _: ['moo'], + }); + + t.deepEqual(typeof argv.verbose, 'boolean'); + t.deepEqual(typeof argv.t, 'boolean'); + t.end(); +}); + +test('newlines in params', function (t) { + var args = parse(['-s', 'X\nX']); + t.deepEqual(args, { _: [], s: 'X\nX' }); + + // reproduce in bash: + // VALUE="new + // line" + // node program.js --s="$VALUE" + args = parse(['--s=X\nX']); + t.deepEqual(args, { _: [], s: 'X\nX' }); + t.end(); +}); + +test('strings', function (t) { + var s = parse(['-s', '0001234'], { string: 's' }).s; + t.equal(s, '0001234'); + t.equal(typeof s, 'string'); + + var x = parse(['-x', '56'], { string: 'x' }).x; + t.equal(x, '56'); + t.equal(typeof x, 'string'); + t.end(); +}); + +test('stringArgs', function (t) { + var s = parse([' ', ' '], { string: '_' })._; + t.same(s.length, 2); + t.same(typeof s[0], 'string'); + t.same(s[0], ' '); + t.same(typeof s[1], 'string'); + t.same(s[1], ' '); + t.end(); +}); + +test('empty strings', function (t) { + var s = parse(['-s'], { string: 's' }).s; + t.equal(s, ''); + t.equal(typeof s, 'string'); + + var str = parse(['--str'], { string: 'str' }).str; + t.equal(str, ''); + t.equal(typeof str, 'string'); + + var letters = parse(['-art'], { + string: ['a', 't'], + }); + + t.equal(letters.a, ''); + t.equal(letters.r, true); + t.equal(letters.t, ''); + + t.end(); +}); + +test('string and alias', function (t) { + var x = parse(['--str', '000123'], { + string: 's', + alias: { s: 'str' }, + }); + + t.equal(x.str, '000123'); + t.equal(typeof x.str, 'string'); + t.equal(x.s, '000123'); + t.equal(typeof x.s, 'string'); + + var y = parse(['-s', '000123'], { + string: 'str', + alias: { str: 's' }, + }); + + t.equal(y.str, '000123'); + t.equal(typeof y.str, 'string'); + t.equal(y.s, '000123'); + t.equal(typeof y.s, 'string'); + + var z = parse(['-s123'], { + alias: { str: ['s', 'S'] }, + string: ['str'], + }); + + t.deepEqual( + z, + { _: [], s: '123', S: '123', str: '123' }, + 'opt.string works with multiple aliases' + ); + t.end(); +}); + +test('slashBreak', function (t) { + t.same( + parse(['-I/foo/bar/baz']), + { I: '/foo/bar/baz', _: [] } + ); + t.same( + parse(['-xyz/foo/bar/baz']), + { x: true, y: true, z: '/foo/bar/baz', _: [] } + ); + t.end(); +}); + +test('alias', function (t) { + var argv = parse(['-f', '11', '--zoom', '55'], { + alias: { z: 'zoom' }, + }); + t.equal(argv.zoom, 55); + t.equal(argv.z, argv.zoom); + t.equal(argv.f, 11); + t.end(); +}); + +test('multiAlias', function (t) { + var argv = parse(['-f', '11', '--zoom', '55'], { + alias: { z: ['zm', 'zoom'] }, + }); + t.equal(argv.zoom, 55); + t.equal(argv.z, argv.zoom); + t.equal(argv.z, argv.zm); + t.equal(argv.f, 11); + t.end(); +}); + +test('nested dotted objects', function (t) { + var argv = parse([ + '--foo.bar', '3', '--foo.baz', '4', + '--foo.quux.quibble', '5', '--foo.quux.o_O', + '--beep.boop', + ]); + + t.same(argv.foo, { + bar: 3, + baz: 4, + quux: { + quibble: 5, + o_O: true, + }, + }); + t.same(argv.beep, { boop: true }); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/parse_modified.js b/node_backend/node_modules/minimist/test/parse_modified.js new file mode 100644 index 0000000000000000000000000000000000000000..32965d130fbd4f59b9a6e12488cf18901004d1f8 --- /dev/null +++ b/node_backend/node_modules/minimist/test/parse_modified.js @@ -0,0 +1,11 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('parse with modifier functions', function (t) { + t.plan(1); + + var argv = parse(['-b', '123'], { boolean: 'b' }); + t.deepEqual(argv, { b: true, _: [123] }); +}); diff --git a/node_backend/node_modules/minimist/test/proto.js b/node_backend/node_modules/minimist/test/proto.js new file mode 100644 index 0000000000000000000000000000000000000000..6e629dd34ef0942c19c4d124542f5f030c228ae4 --- /dev/null +++ b/node_backend/node_modules/minimist/test/proto.js @@ -0,0 +1,64 @@ +'use strict'; + +/* eslint no-proto: 0 */ + +var parse = require('../'); +var test = require('tape'); + +test('proto pollution', function (t) { + var argv = parse(['--__proto__.x', '123']); + t.equal({}.x, undefined); + t.equal(argv.__proto__.x, undefined); + t.equal(argv.x, undefined); + t.end(); +}); + +test('proto pollution (array)', function (t) { + var argv = parse(['--x', '4', '--x', '5', '--x.__proto__.z', '789']); + t.equal({}.z, undefined); + t.deepEqual(argv.x, [4, 5]); + t.equal(argv.x.z, undefined); + t.equal(argv.x.__proto__.z, undefined); + t.end(); +}); + +test('proto pollution (number)', function (t) { + var argv = parse(['--x', '5', '--x.__proto__.z', '100']); + t.equal({}.z, undefined); + t.equal((4).z, undefined); + t.equal(argv.x, 5); + t.equal(argv.x.z, undefined); + t.end(); +}); + +test('proto pollution (string)', function (t) { + var argv = parse(['--x', 'abc', '--x.__proto__.z', 'def']); + t.equal({}.z, undefined); + t.equal('...'.z, undefined); + t.equal(argv.x, 'abc'); + t.equal(argv.x.z, undefined); + t.end(); +}); + +test('proto pollution (constructor)', function (t) { + var argv = parse(['--constructor.prototype.y', '123']); + t.equal({}.y, undefined); + t.equal(argv.y, undefined); + t.end(); +}); + +test('proto pollution (constructor function)', function (t) { + var argv = parse(['--_.concat.constructor.prototype.y', '123']); + function fnToBeTested() {} + t.equal(fnToBeTested.y, undefined); + t.equal(argv.y, undefined); + t.end(); +}); + +// powered by snyk - https://github.com/backstage/backstage/issues/10343 +test('proto pollution (constructor function) snyk', function (t) { + var argv = parse('--_.constructor.constructor.prototype.foo bar'.split(' ')); + t.equal(function () {}.foo, undefined); + t.equal(argv.y, undefined); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/short.js b/node_backend/node_modules/minimist/test/short.js new file mode 100644 index 0000000000000000000000000000000000000000..4a7b84385bbfdc74314f5e8f7cc4c36afd52b8bd --- /dev/null +++ b/node_backend/node_modules/minimist/test/short.js @@ -0,0 +1,69 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('numeric short args', function (t) { + t.plan(2); + t.deepEqual(parse(['-n123']), { n: 123, _: [] }); + t.deepEqual( + parse(['-123', '456']), + { 1: true, 2: true, 3: 456, _: [] } + ); +}); + +test('short', function (t) { + t.deepEqual( + parse(['-b']), + { b: true, _: [] }, + 'short boolean' + ); + t.deepEqual( + parse(['foo', 'bar', 'baz']), + { _: ['foo', 'bar', 'baz'] }, + 'bare' + ); + t.deepEqual( + parse(['-cats']), + { c: true, a: true, t: true, s: true, _: [] }, + 'group' + ); + t.deepEqual( + parse(['-cats', 'meow']), + { c: true, a: true, t: true, s: 'meow', _: [] }, + 'short group next' + ); + t.deepEqual( + parse(['-h', 'localhost']), + { h: 'localhost', _: [] }, + 'short capture' + ); + t.deepEqual( + parse(['-h', 'localhost', '-p', '555']), + { h: 'localhost', p: 555, _: [] }, + 'short captures' + ); + t.end(); +}); + +test('mixed short bool and capture', function (t) { + t.same( + parse(['-h', 'localhost', '-fp', '555', 'script.js']), + { + f: true, p: 555, h: 'localhost', + _: ['script.js'], + } + ); + t.end(); +}); + +test('short and long', function (t) { + t.deepEqual( + parse(['-h', 'localhost', '-fp', '555', 'script.js']), + { + f: true, p: 555, h: 'localhost', + _: ['script.js'], + } + ); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/stop_early.js b/node_backend/node_modules/minimist/test/stop_early.js new file mode 100644 index 0000000000000000000000000000000000000000..52a6a91903028d5230729df63afcdb80d79b0c68 --- /dev/null +++ b/node_backend/node_modules/minimist/test/stop_early.js @@ -0,0 +1,17 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('stops parsing on the first non-option when stopEarly is set', function (t) { + var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], { + stopEarly: true, + }); + + t.deepEqual(argv, { + aaa: 'bbb', + _: ['ccc', '--ddd'], + }); + + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/unknown.js b/node_backend/node_modules/minimist/test/unknown.js new file mode 100644 index 0000000000000000000000000000000000000000..4f2e0ca447f4ccc2fb7ba4df3876bf45d3f0423a --- /dev/null +++ b/node_backend/node_modules/minimist/test/unknown.js @@ -0,0 +1,104 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('boolean and alias is not unknown', function (t) { + var unknown = []; + function unknownFn(arg) { + unknown.push(arg); + return false; + } + var aliased = ['-h', 'true', '--derp', 'true']; + var regular = ['--herp', 'true', '-d', 'true']; + var opts = { + alias: { h: 'herp' }, + boolean: 'h', + unknown: unknownFn, + }; + parse(aliased, opts); + parse(regular, opts); + + t.same(unknown, ['--derp', '-d']); + t.end(); +}); + +test('flag boolean true any double hyphen argument is not unknown', function (t) { + var unknown = []; + function unknownFn(arg) { + unknown.push(arg); + return false; + } + var argv = parse(['--honk', '--tacos=good', 'cow', '-p', '55'], { + boolean: true, + unknown: unknownFn, + }); + t.same(unknown, ['--tacos=good', 'cow', '-p']); + t.same(argv, { + honk: true, + _: [], + }); + t.end(); +}); + +test('string and alias is not unknown', function (t) { + var unknown = []; + function unknownFn(arg) { + unknown.push(arg); + return false; + } + var aliased = ['-h', 'hello', '--derp', 'goodbye']; + var regular = ['--herp', 'hello', '-d', 'moon']; + var opts = { + alias: { h: 'herp' }, + string: 'h', + unknown: unknownFn, + }; + parse(aliased, opts); + parse(regular, opts); + + t.same(unknown, ['--derp', '-d']); + t.end(); +}); + +test('default and alias is not unknown', function (t) { + var unknown = []; + function unknownFn(arg) { + unknown.push(arg); + return false; + } + var aliased = ['-h', 'hello']; + var regular = ['--herp', 'hello']; + var opts = { + default: { h: 'bar' }, + alias: { h: 'herp' }, + unknown: unknownFn, + }; + parse(aliased, opts); + parse(regular, opts); + + t.same(unknown, []); + t.end(); + unknownFn(); // exercise fn for 100% coverage +}); + +test('value following -- is not unknown', function (t) { + var unknown = []; + function unknownFn(arg) { + unknown.push(arg); + return false; + } + var aliased = ['--bad', '--', 'good', 'arg']; + var opts = { + '--': true, + unknown: unknownFn, + }; + var argv = parse(aliased, opts); + + t.same(unknown, ['--bad']); + t.same(argv, { + '--': ['good', 'arg'], + _: [], + }); + t.end(); +}); diff --git a/node_backend/node_modules/minimist/test/whitespace.js b/node_backend/node_modules/minimist/test/whitespace.js new file mode 100644 index 0000000000000000000000000000000000000000..4fdaf1d3943f5a16b9d76af9cd7bbc82f2f54b54 --- /dev/null +++ b/node_backend/node_modules/minimist/test/whitespace.js @@ -0,0 +1,10 @@ +'use strict'; + +var parse = require('../'); +var test = require('tape'); + +test('whitespace should be whitespace', function (t) { + t.plan(1); + var x = parse(['-x', '\t']).x; + t.equal(x, '\t'); +}); diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/LICENSE b/node_backend/node_modules/minipass/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/LICENSE rename to node_backend/node_modules/minipass/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/README.md b/node_backend/node_modules/minipass/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/README.md rename to node_backend/node_modules/minipass/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/index.d.ts b/node_backend/node_modules/minipass/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/index.d.ts rename to node_backend/node_modules/minipass/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/index.js b/node_backend/node_modules/minipass/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/index.js rename to node_backend/node_modules/minipass/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/index.mjs b/node_backend/node_modules/minipass/index.mjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/index.mjs rename to node_backend/node_modules/minipass/index.mjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/minipass/package.json b/node_backend/node_modules/minipass/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minipass/package.json rename to node_backend/node_modules/minipass/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/LICENSE b/node_backend/node_modules/minizlib/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/LICENSE rename to node_backend/node_modules/minizlib/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/README.md b/node_backend/node_modules/minizlib/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/README.md rename to node_backend/node_modules/minizlib/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/constants.js b/node_backend/node_modules/minizlib/constants.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/constants.js rename to node_backend/node_modules/minizlib/constants.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/index.js b/node_backend/node_modules/minizlib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/index.js rename to node_backend/node_modules/minizlib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/LICENSE b/node_backend/node_modules/minizlib/node_modules/minipass/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/LICENSE rename to node_backend/node_modules/minizlib/node_modules/minipass/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/README.md b/node_backend/node_modules/minizlib/node_modules/minipass/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/README.md rename to node_backend/node_modules/minizlib/node_modules/minipass/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/index.d.ts b/node_backend/node_modules/minizlib/node_modules/minipass/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/index.d.ts rename to node_backend/node_modules/minizlib/node_modules/minipass/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/index.js b/node_backend/node_modules/minizlib/node_modules/minipass/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/index.js rename to node_backend/node_modules/minizlib/node_modules/minipass/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/package.json b/node_backend/node_modules/minizlib/node_modules/minipass/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/node_modules/minipass/package.json rename to node_backend/node_modules/minizlib/node_modules/minipass/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/minizlib/package.json b/node_backend/node_modules/minizlib/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/minizlib/package.json rename to node_backend/node_modules/minizlib/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/CHANGELOG.md b/node_backend/node_modules/mkdirp/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/CHANGELOG.md rename to node_backend/node_modules/mkdirp/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/LICENSE b/node_backend/node_modules/mkdirp/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/LICENSE rename to node_backend/node_modules/mkdirp/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/bin/cmd.js b/node_backend/node_modules/mkdirp/bin/cmd.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/bin/cmd.js rename to node_backend/node_modules/mkdirp/bin/cmd.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/index.js b/node_backend/node_modules/mkdirp/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/index.js rename to node_backend/node_modules/mkdirp/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/find-made.js b/node_backend/node_modules/mkdirp/lib/find-made.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/find-made.js rename to node_backend/node_modules/mkdirp/lib/find-made.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/mkdirp-manual.js b/node_backend/node_modules/mkdirp/lib/mkdirp-manual.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/mkdirp-manual.js rename to node_backend/node_modules/mkdirp/lib/mkdirp-manual.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/mkdirp-native.js b/node_backend/node_modules/mkdirp/lib/mkdirp-native.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/mkdirp-native.js rename to node_backend/node_modules/mkdirp/lib/mkdirp-native.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/opts-arg.js b/node_backend/node_modules/mkdirp/lib/opts-arg.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/opts-arg.js rename to node_backend/node_modules/mkdirp/lib/opts-arg.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/path-arg.js b/node_backend/node_modules/mkdirp/lib/path-arg.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/path-arg.js rename to node_backend/node_modules/mkdirp/lib/path-arg.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/use-native.js b/node_backend/node_modules/mkdirp/lib/use-native.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/lib/use-native.js rename to node_backend/node_modules/mkdirp/lib/use-native.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/package.json b/node_backend/node_modules/mkdirp/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/package.json rename to node_backend/node_modules/mkdirp/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mkdirp/readme.markdown b/node_backend/node_modules/mkdirp/readme.markdown similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mkdirp/readme.markdown rename to node_backend/node_modules/mkdirp/readme.markdown diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs b/node_backend/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs rename to node_backend/node_modules/mongodb-connection-string-url/.esm-wrapper.mjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/LICENSE b/node_backend/node_modules/mongodb-connection-string-url/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/LICENSE rename to node_backend/node_modules/mongodb-connection-string-url/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/README.md b/node_backend/node_modules/mongodb-connection-string-url/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/README.md rename to node_backend/node_modules/mongodb-connection-string-url/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.d.ts b/node_backend/node_modules/mongodb-connection-string-url/lib/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.d.ts rename to node_backend/node_modules/mongodb-connection-string-url/lib/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.js b/node_backend/node_modules/mongodb-connection-string-url/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.js rename to node_backend/node_modules/mongodb-connection-string-url/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.js.map b/node_backend/node_modules/mongodb-connection-string-url/lib/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/index.js.map rename to node_backend/node_modules/mongodb-connection-string-url/lib/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.d.ts b/node_backend/node_modules/mongodb-connection-string-url/lib/redact.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.d.ts rename to node_backend/node_modules/mongodb-connection-string-url/lib/redact.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js b/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js rename to node_backend/node_modules/mongodb-connection-string-url/lib/redact.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js.map b/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/lib/redact.js.map rename to node_backend/node_modules/mongodb-connection-string-url/lib/redact.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/package.json b/node_backend/node_modules/mongodb-connection-string-url/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb-connection-string-url/package.json rename to node_backend/node_modules/mongodb-connection-string-url/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/LICENSE.md b/node_backend/node_modules/mongodb/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/LICENSE.md rename to node_backend/node_modules/mongodb/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/README.md b/node_backend/node_modules/mongodb/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/README.md rename to node_backend/node_modules/mongodb/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/etc/prepare.js b/node_backend/node_modules/mongodb/etc/prepare.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/etc/prepare.js rename to node_backend/node_modules/mongodb/etc/prepare.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/admin.js b/node_backend/node_modules/mongodb/lib/admin.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/admin.js rename to node_backend/node_modules/mongodb/lib/admin.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/admin.js.map b/node_backend/node_modules/mongodb/lib/admin.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/admin.js.map rename to node_backend/node_modules/mongodb/lib/admin.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.d.ts b/node_backend/node_modules/mongodb/lib/beta.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.d.ts rename to node_backend/node_modules/mongodb/lib/beta.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.js b/node_backend/node_modules/mongodb/lib/beta.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.js rename to node_backend/node_modules/mongodb/lib/beta.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.js.map b/node_backend/node_modules/mongodb/lib/beta.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/beta.js.map rename to node_backend/node_modules/mongodb/lib/beta.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bson.js b/node_backend/node_modules/mongodb/lib/bson.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bson.js rename to node_backend/node_modules/mongodb/lib/bson.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bson.js.map b/node_backend/node_modules/mongodb/lib/bson.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bson.js.map rename to node_backend/node_modules/mongodb/lib/bson.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/common.js b/node_backend/node_modules/mongodb/lib/bulk/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/common.js rename to node_backend/node_modules/mongodb/lib/bulk/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/common.js.map b/node_backend/node_modules/mongodb/lib/bulk/common.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/common.js.map rename to node_backend/node_modules/mongodb/lib/bulk/common.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/ordered.js b/node_backend/node_modules/mongodb/lib/bulk/ordered.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/ordered.js rename to node_backend/node_modules/mongodb/lib/bulk/ordered.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/ordered.js.map b/node_backend/node_modules/mongodb/lib/bulk/ordered.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/ordered.js.map rename to node_backend/node_modules/mongodb/lib/bulk/ordered.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/unordered.js b/node_backend/node_modules/mongodb/lib/bulk/unordered.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/unordered.js rename to node_backend/node_modules/mongodb/lib/bulk/unordered.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/unordered.js.map b/node_backend/node_modules/mongodb/lib/bulk/unordered.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/bulk/unordered.js.map rename to node_backend/node_modules/mongodb/lib/bulk/unordered.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/change_stream.js b/node_backend/node_modules/mongodb/lib/change_stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/change_stream.js rename to node_backend/node_modules/mongodb/lib/change_stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/change_stream.js.map b/node_backend/node_modules/mongodb/lib/change_stream.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/change_stream.js.map rename to node_backend/node_modules/mongodb/lib/change_stream.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/auto_encrypter.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/client_encryption.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/crypto_callbacks.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/errors.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/mongocryptd_manager.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/aws.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/azure.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/gcp.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/providers/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js b/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js rename to node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js.map b/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js.map rename to node_backend/node_modules/mongodb/lib/client-side-encryption/state_machine.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js b/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/auth_provider.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js b/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/aws_temporary_credentials.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js b/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/gssapi.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongo_credentials.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_aws.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/automated_callback_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/azure_machine_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/callback_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/command_builders.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/gcp_machine_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/human_callback_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/machine_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_cache.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/mongodb_oidc/token_machine_workflow.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js b/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/plain.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/plain.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/plain.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js b/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/providers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/providers.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/providers.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js b/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/scram.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/scram.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/scram.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js b/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js rename to node_backend/node_modules/mongodb/lib/cmap/auth/x509.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js.map b/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/auth/x509.js.map rename to node_backend/node_modules/mongodb/lib/cmap/auth/x509.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js b/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js rename to node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map b/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map rename to node_backend/node_modules/mongodb/lib/cmap/command_monitoring_events.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/commands.js b/node_backend/node_modules/mongodb/lib/cmap/commands.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/commands.js rename to node_backend/node_modules/mongodb/lib/cmap/commands.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/commands.js.map b/node_backend/node_modules/mongodb/lib/cmap/commands.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/commands.js.map rename to node_backend/node_modules/mongodb/lib/cmap/commands.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connect.js b/node_backend/node_modules/mongodb/lib/cmap/connect.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connect.js rename to node_backend/node_modules/mongodb/lib/cmap/connect.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connect.js.map b/node_backend/node_modules/mongodb/lib/cmap/connect.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connect.js.map rename to node_backend/node_modules/mongodb/lib/cmap/connect.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection.js b/node_backend/node_modules/mongodb/lib/cmap/connection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection.js rename to node_backend/node_modules/mongodb/lib/cmap/connection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection.js.map b/node_backend/node_modules/mongodb/lib/cmap/connection.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection.js.map rename to node_backend/node_modules/mongodb/lib/cmap/connection.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js b/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js rename to node_backend/node_modules/mongodb/lib/cmap/connection_pool.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js.map b/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool.js.map rename to node_backend/node_modules/mongodb/lib/cmap/connection_pool.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js b/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js rename to node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js.map b/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js.map rename to node_backend/node_modules/mongodb/lib/cmap/connection_pool_events.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/errors.js b/node_backend/node_modules/mongodb/lib/cmap/errors.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/errors.js rename to node_backend/node_modules/mongodb/lib/cmap/errors.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/errors.js.map b/node_backend/node_modules/mongodb/lib/cmap/errors.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/errors.js.map rename to node_backend/node_modules/mongodb/lib/cmap/errors.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js b/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js rename to node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map b/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map rename to node_backend/node_modules/mongodb/lib/cmap/handshake/client_metadata.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/metrics.js b/node_backend/node_modules/mongodb/lib/cmap/metrics.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/metrics.js rename to node_backend/node_modules/mongodb/lib/cmap/metrics.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/metrics.js.map b/node_backend/node_modules/mongodb/lib/cmap/metrics.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/metrics.js.map rename to node_backend/node_modules/mongodb/lib/cmap/metrics.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/stream_description.js b/node_backend/node_modules/mongodb/lib/cmap/stream_description.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/stream_description.js rename to node_backend/node_modules/mongodb/lib/cmap/stream_description.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/stream_description.js.map b/node_backend/node_modules/mongodb/lib/cmap/stream_description.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/stream_description.js.map rename to node_backend/node_modules/mongodb/lib/cmap/stream_description.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/compression.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/constants.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_data.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/on_demand/document.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/responses.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map b/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map rename to node_backend/node_modules/mongodb/lib/cmap/wire_protocol/shared.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/collection.js b/node_backend/node_modules/mongodb/lib/collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/collection.js rename to node_backend/node_modules/mongodb/lib/collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/collection.js.map b/node_backend/node_modules/mongodb/lib/collection.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/collection.js.map rename to node_backend/node_modules/mongodb/lib/collection.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/connection_string.js b/node_backend/node_modules/mongodb/lib/connection_string.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/connection_string.js rename to node_backend/node_modules/mongodb/lib/connection_string.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/connection_string.js.map b/node_backend/node_modules/mongodb/lib/connection_string.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/connection_string.js.map rename to node_backend/node_modules/mongodb/lib/connection_string.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/constants.js b/node_backend/node_modules/mongodb/lib/constants.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/constants.js rename to node_backend/node_modules/mongodb/lib/constants.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/constants.js.map b/node_backend/node_modules/mongodb/lib/constants.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/constants.js.map rename to node_backend/node_modules/mongodb/lib/constants.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/abstract_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/aggregation_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/change_stream_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/client_bulk_write_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/find_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/find_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/find_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/list_collections_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/list_indexes_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/list_search_indexes_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js b/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js rename to node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js.map b/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js.map rename to node_backend/node_modules/mongodb/lib/cursor/run_command_cursor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/db.js b/node_backend/node_modules/mongodb/lib/db.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/db.js rename to node_backend/node_modules/mongodb/lib/db.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/db.js.map b/node_backend/node_modules/mongodb/lib/db.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/db.js.map rename to node_backend/node_modules/mongodb/lib/db.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/deps.js b/node_backend/node_modules/mongodb/lib/deps.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/deps.js rename to node_backend/node_modules/mongodb/lib/deps.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/deps.js.map b/node_backend/node_modules/mongodb/lib/deps.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/deps.js.map rename to node_backend/node_modules/mongodb/lib/deps.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/encrypter.js b/node_backend/node_modules/mongodb/lib/encrypter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/encrypter.js rename to node_backend/node_modules/mongodb/lib/encrypter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/encrypter.js.map b/node_backend/node_modules/mongodb/lib/encrypter.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/encrypter.js.map rename to node_backend/node_modules/mongodb/lib/encrypter.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/error.js b/node_backend/node_modules/mongodb/lib/error.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/error.js rename to node_backend/node_modules/mongodb/lib/error.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/error.js.map b/node_backend/node_modules/mongodb/lib/error.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/error.js.map rename to node_backend/node_modules/mongodb/lib/error.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/explain.js b/node_backend/node_modules/mongodb/lib/explain.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/explain.js rename to node_backend/node_modules/mongodb/lib/explain.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/explain.js.map b/node_backend/node_modules/mongodb/lib/explain.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/explain.js.map rename to node_backend/node_modules/mongodb/lib/explain.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/download.js b/node_backend/node_modules/mongodb/lib/gridfs/download.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/download.js rename to node_backend/node_modules/mongodb/lib/gridfs/download.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/download.js.map b/node_backend/node_modules/mongodb/lib/gridfs/download.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/download.js.map rename to node_backend/node_modules/mongodb/lib/gridfs/download.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/index.js b/node_backend/node_modules/mongodb/lib/gridfs/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/index.js rename to node_backend/node_modules/mongodb/lib/gridfs/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/index.js.map b/node_backend/node_modules/mongodb/lib/gridfs/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/index.js.map rename to node_backend/node_modules/mongodb/lib/gridfs/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/upload.js b/node_backend/node_modules/mongodb/lib/gridfs/upload.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/upload.js rename to node_backend/node_modules/mongodb/lib/gridfs/upload.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/upload.js.map b/node_backend/node_modules/mongodb/lib/gridfs/upload.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/gridfs/upload.js.map rename to node_backend/node_modules/mongodb/lib/gridfs/upload.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/index.js b/node_backend/node_modules/mongodb/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/index.js rename to node_backend/node_modules/mongodb/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/index.js.map b/node_backend/node_modules/mongodb/lib/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/index.js.map rename to node_backend/node_modules/mongodb/lib/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client.js b/node_backend/node_modules/mongodb/lib/mongo_client.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client.js rename to node_backend/node_modules/mongodb/lib/mongo_client.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client.js.map b/node_backend/node_modules/mongodb/lib/mongo_client.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client.js.map rename to node_backend/node_modules/mongodb/lib/mongo_client.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js b/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js rename to node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js.map b/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js.map rename to node_backend/node_modules/mongodb/lib/mongo_client_auth_providers.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_logger.js b/node_backend/node_modules/mongodb/lib/mongo_logger.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_logger.js rename to node_backend/node_modules/mongodb/lib/mongo_logger.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_logger.js.map b/node_backend/node_modules/mongodb/lib/mongo_logger.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_logger.js.map rename to node_backend/node_modules/mongodb/lib/mongo_logger.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_types.js b/node_backend/node_modules/mongodb/lib/mongo_types.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_types.js rename to node_backend/node_modules/mongodb/lib/mongo_types.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_types.js.map b/node_backend/node_modules/mongodb/lib/mongo_types.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/mongo_types.js.map rename to node_backend/node_modules/mongodb/lib/mongo_types.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/aggregate.js b/node_backend/node_modules/mongodb/lib/operations/aggregate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/aggregate.js rename to node_backend/node_modules/mongodb/lib/operations/aggregate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/aggregate.js.map b/node_backend/node_modules/mongodb/lib/operations/aggregate.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/aggregate.js.map rename to node_backend/node_modules/mongodb/lib/operations/aggregate.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/bulk_write.js b/node_backend/node_modules/mongodb/lib/operations/bulk_write.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/bulk_write.js rename to node_backend/node_modules/mongodb/lib/operations/bulk_write.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/bulk_write.js.map b/node_backend/node_modules/mongodb/lib/operations/bulk_write.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/bulk_write.js.map rename to node_backend/node_modules/mongodb/lib/operations/bulk_write.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js.map b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js.map rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/client_bulk_write.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js.map b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js.map rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/command_builder.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js.map b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js.map rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/common.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js.map b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js.map rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/executor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js.map b/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js.map rename to node_backend/node_modules/mongodb/lib/operations/client_bulk_write/results_merger.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/collections.js b/node_backend/node_modules/mongodb/lib/operations/collections.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/collections.js rename to node_backend/node_modules/mongodb/lib/operations/collections.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/collections.js.map b/node_backend/node_modules/mongodb/lib/operations/collections.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/collections.js.map rename to node_backend/node_modules/mongodb/lib/operations/collections.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/command.js b/node_backend/node_modules/mongodb/lib/operations/command.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/command.js rename to node_backend/node_modules/mongodb/lib/operations/command.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/command.js.map b/node_backend/node_modules/mongodb/lib/operations/command.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/command.js.map rename to node_backend/node_modules/mongodb/lib/operations/command.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/count.js b/node_backend/node_modules/mongodb/lib/operations/count.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/count.js rename to node_backend/node_modules/mongodb/lib/operations/count.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/count.js.map b/node_backend/node_modules/mongodb/lib/operations/count.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/count.js.map rename to node_backend/node_modules/mongodb/lib/operations/count.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/create_collection.js b/node_backend/node_modules/mongodb/lib/operations/create_collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/create_collection.js rename to node_backend/node_modules/mongodb/lib/operations/create_collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/create_collection.js.map b/node_backend/node_modules/mongodb/lib/operations/create_collection.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/create_collection.js.map rename to node_backend/node_modules/mongodb/lib/operations/create_collection.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/delete.js b/node_backend/node_modules/mongodb/lib/operations/delete.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/delete.js rename to node_backend/node_modules/mongodb/lib/operations/delete.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/delete.js.map b/node_backend/node_modules/mongodb/lib/operations/delete.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/delete.js.map rename to node_backend/node_modules/mongodb/lib/operations/delete.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/distinct.js b/node_backend/node_modules/mongodb/lib/operations/distinct.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/distinct.js rename to node_backend/node_modules/mongodb/lib/operations/distinct.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/distinct.js.map b/node_backend/node_modules/mongodb/lib/operations/distinct.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/distinct.js.map rename to node_backend/node_modules/mongodb/lib/operations/distinct.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/drop.js b/node_backend/node_modules/mongodb/lib/operations/drop.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/drop.js rename to node_backend/node_modules/mongodb/lib/operations/drop.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/drop.js.map b/node_backend/node_modules/mongodb/lib/operations/drop.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/drop.js.map rename to node_backend/node_modules/mongodb/lib/operations/drop.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js b/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js rename to node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js.map b/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js.map rename to node_backend/node_modules/mongodb/lib/operations/estimated_document_count.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/execute_operation.js b/node_backend/node_modules/mongodb/lib/operations/execute_operation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/execute_operation.js rename to node_backend/node_modules/mongodb/lib/operations/execute_operation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/execute_operation.js.map b/node_backend/node_modules/mongodb/lib/operations/execute_operation.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/execute_operation.js.map rename to node_backend/node_modules/mongodb/lib/operations/execute_operation.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find.js b/node_backend/node_modules/mongodb/lib/operations/find.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find.js rename to node_backend/node_modules/mongodb/lib/operations/find.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find.js.map b/node_backend/node_modules/mongodb/lib/operations/find.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find.js.map rename to node_backend/node_modules/mongodb/lib/operations/find.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js b/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js rename to node_backend/node_modules/mongodb/lib/operations/find_and_modify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js.map b/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/find_and_modify.js.map rename to node_backend/node_modules/mongodb/lib/operations/find_and_modify.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/get_more.js b/node_backend/node_modules/mongodb/lib/operations/get_more.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/get_more.js rename to node_backend/node_modules/mongodb/lib/operations/get_more.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/get_more.js.map b/node_backend/node_modules/mongodb/lib/operations/get_more.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/get_more.js.map rename to node_backend/node_modules/mongodb/lib/operations/get_more.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/indexes.js b/node_backend/node_modules/mongodb/lib/operations/indexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/indexes.js rename to node_backend/node_modules/mongodb/lib/operations/indexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/indexes.js.map b/node_backend/node_modules/mongodb/lib/operations/indexes.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/indexes.js.map rename to node_backend/node_modules/mongodb/lib/operations/indexes.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/insert.js b/node_backend/node_modules/mongodb/lib/operations/insert.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/insert.js rename to node_backend/node_modules/mongodb/lib/operations/insert.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/insert.js.map b/node_backend/node_modules/mongodb/lib/operations/insert.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/insert.js.map rename to node_backend/node_modules/mongodb/lib/operations/insert.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/is_capped.js b/node_backend/node_modules/mongodb/lib/operations/is_capped.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/is_capped.js rename to node_backend/node_modules/mongodb/lib/operations/is_capped.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/is_capped.js.map b/node_backend/node_modules/mongodb/lib/operations/is_capped.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/is_capped.js.map rename to node_backend/node_modules/mongodb/lib/operations/is_capped.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js b/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js rename to node_backend/node_modules/mongodb/lib/operations/kill_cursors.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js.map b/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/kill_cursors.js.map rename to node_backend/node_modules/mongodb/lib/operations/kill_cursors.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_collections.js b/node_backend/node_modules/mongodb/lib/operations/list_collections.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_collections.js rename to node_backend/node_modules/mongodb/lib/operations/list_collections.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_collections.js.map b/node_backend/node_modules/mongodb/lib/operations/list_collections.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_collections.js.map rename to node_backend/node_modules/mongodb/lib/operations/list_collections.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_databases.js b/node_backend/node_modules/mongodb/lib/operations/list_databases.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_databases.js rename to node_backend/node_modules/mongodb/lib/operations/list_databases.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_databases.js.map b/node_backend/node_modules/mongodb/lib/operations/list_databases.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/list_databases.js.map rename to node_backend/node_modules/mongodb/lib/operations/list_databases.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/operation.js b/node_backend/node_modules/mongodb/lib/operations/operation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/operation.js rename to node_backend/node_modules/mongodb/lib/operations/operation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/operation.js.map b/node_backend/node_modules/mongodb/lib/operations/operation.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/operation.js.map rename to node_backend/node_modules/mongodb/lib/operations/operation.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/options_operation.js b/node_backend/node_modules/mongodb/lib/operations/options_operation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/options_operation.js rename to node_backend/node_modules/mongodb/lib/operations/options_operation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/options_operation.js.map b/node_backend/node_modules/mongodb/lib/operations/options_operation.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/options_operation.js.map rename to node_backend/node_modules/mongodb/lib/operations/options_operation.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/profiling_level.js b/node_backend/node_modules/mongodb/lib/operations/profiling_level.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/profiling_level.js rename to node_backend/node_modules/mongodb/lib/operations/profiling_level.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/profiling_level.js.map b/node_backend/node_modules/mongodb/lib/operations/profiling_level.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/profiling_level.js.map rename to node_backend/node_modules/mongodb/lib/operations/profiling_level.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/remove_user.js b/node_backend/node_modules/mongodb/lib/operations/remove_user.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/remove_user.js rename to node_backend/node_modules/mongodb/lib/operations/remove_user.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/remove_user.js.map b/node_backend/node_modules/mongodb/lib/operations/remove_user.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/remove_user.js.map rename to node_backend/node_modules/mongodb/lib/operations/remove_user.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/rename.js b/node_backend/node_modules/mongodb/lib/operations/rename.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/rename.js rename to node_backend/node_modules/mongodb/lib/operations/rename.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/rename.js.map b/node_backend/node_modules/mongodb/lib/operations/rename.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/rename.js.map rename to node_backend/node_modules/mongodb/lib/operations/rename.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/run_command.js b/node_backend/node_modules/mongodb/lib/operations/run_command.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/run_command.js rename to node_backend/node_modules/mongodb/lib/operations/run_command.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/run_command.js.map b/node_backend/node_modules/mongodb/lib/operations/run_command.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/run_command.js.map rename to node_backend/node_modules/mongodb/lib/operations/run_command.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js b/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js.map b/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js.map rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/create.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js b/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js.map b/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js.map rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/drop.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js b/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js.map b/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js.map rename to node_backend/node_modules/mongodb/lib/operations/search_indexes/update.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js b/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js rename to node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js.map b/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js.map rename to node_backend/node_modules/mongodb/lib/operations/set_profiling_level.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/stats.js b/node_backend/node_modules/mongodb/lib/operations/stats.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/stats.js rename to node_backend/node_modules/mongodb/lib/operations/stats.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/stats.js.map b/node_backend/node_modules/mongodb/lib/operations/stats.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/stats.js.map rename to node_backend/node_modules/mongodb/lib/operations/stats.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/update.js b/node_backend/node_modules/mongodb/lib/operations/update.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/update.js rename to node_backend/node_modules/mongodb/lib/operations/update.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/update.js.map b/node_backend/node_modules/mongodb/lib/operations/update.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/update.js.map rename to node_backend/node_modules/mongodb/lib/operations/update.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/validate_collection.js b/node_backend/node_modules/mongodb/lib/operations/validate_collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/validate_collection.js rename to node_backend/node_modules/mongodb/lib/operations/validate_collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/validate_collection.js.map b/node_backend/node_modules/mongodb/lib/operations/validate_collection.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/operations/validate_collection.js.map rename to node_backend/node_modules/mongodb/lib/operations/validate_collection.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_concern.js b/node_backend/node_modules/mongodb/lib/read_concern.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_concern.js rename to node_backend/node_modules/mongodb/lib/read_concern.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_concern.js.map b/node_backend/node_modules/mongodb/lib/read_concern.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_concern.js.map rename to node_backend/node_modules/mongodb/lib/read_concern.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_preference.js b/node_backend/node_modules/mongodb/lib/read_preference.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_preference.js rename to node_backend/node_modules/mongodb/lib/read_preference.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_preference.js.map b/node_backend/node_modules/mongodb/lib/read_preference.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/read_preference.js.map rename to node_backend/node_modules/mongodb/lib/read_preference.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/resource_management.js b/node_backend/node_modules/mongodb/lib/resource_management.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/resource_management.js rename to node_backend/node_modules/mongodb/lib/resource_management.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/resource_management.js.map b/node_backend/node_modules/mongodb/lib/resource_management.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/resource_management.js.map rename to node_backend/node_modules/mongodb/lib/resource_management.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/common.js b/node_backend/node_modules/mongodb/lib/sdam/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/common.js rename to node_backend/node_modules/mongodb/lib/sdam/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/common.js.map b/node_backend/node_modules/mongodb/lib/sdam/common.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/common.js.map rename to node_backend/node_modules/mongodb/lib/sdam/common.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/events.js b/node_backend/node_modules/mongodb/lib/sdam/events.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/events.js rename to node_backend/node_modules/mongodb/lib/sdam/events.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/events.js.map b/node_backend/node_modules/mongodb/lib/sdam/events.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/events.js.map rename to node_backend/node_modules/mongodb/lib/sdam/events.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/monitor.js b/node_backend/node_modules/mongodb/lib/sdam/monitor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/monitor.js rename to node_backend/node_modules/mongodb/lib/sdam/monitor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/monitor.js.map b/node_backend/node_modules/mongodb/lib/sdam/monitor.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/monitor.js.map rename to node_backend/node_modules/mongodb/lib/sdam/monitor.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server.js b/node_backend/node_modules/mongodb/lib/sdam/server.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server.js rename to node_backend/node_modules/mongodb/lib/sdam/server.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server.js.map b/node_backend/node_modules/mongodb/lib/sdam/server.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server.js.map rename to node_backend/node_modules/mongodb/lib/sdam/server.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_description.js b/node_backend/node_modules/mongodb/lib/sdam/server_description.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_description.js rename to node_backend/node_modules/mongodb/lib/sdam/server_description.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_description.js.map b/node_backend/node_modules/mongodb/lib/sdam/server_description.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_description.js.map rename to node_backend/node_modules/mongodb/lib/sdam/server_description.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection.js b/node_backend/node_modules/mongodb/lib/sdam/server_selection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection.js rename to node_backend/node_modules/mongodb/lib/sdam/server_selection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection.js.map b/node_backend/node_modules/mongodb/lib/sdam/server_selection.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection.js.map rename to node_backend/node_modules/mongodb/lib/sdam/server_selection.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js b/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js rename to node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js.map b/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js.map rename to node_backend/node_modules/mongodb/lib/sdam/server_selection_events.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js b/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js rename to node_backend/node_modules/mongodb/lib/sdam/srv_polling.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js.map b/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/srv_polling.js.map rename to node_backend/node_modules/mongodb/lib/sdam/srv_polling.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology.js b/node_backend/node_modules/mongodb/lib/sdam/topology.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology.js rename to node_backend/node_modules/mongodb/lib/sdam/topology.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology.js.map b/node_backend/node_modules/mongodb/lib/sdam/topology.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology.js.map rename to node_backend/node_modules/mongodb/lib/sdam/topology.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology_description.js b/node_backend/node_modules/mongodb/lib/sdam/topology_description.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology_description.js rename to node_backend/node_modules/mongodb/lib/sdam/topology_description.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology_description.js.map b/node_backend/node_modules/mongodb/lib/sdam/topology_description.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sdam/topology_description.js.map rename to node_backend/node_modules/mongodb/lib/sdam/topology_description.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sessions.js b/node_backend/node_modules/mongodb/lib/sessions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sessions.js rename to node_backend/node_modules/mongodb/lib/sessions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sessions.js.map b/node_backend/node_modules/mongodb/lib/sessions.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sessions.js.map rename to node_backend/node_modules/mongodb/lib/sessions.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sort.js b/node_backend/node_modules/mongodb/lib/sort.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sort.js rename to node_backend/node_modules/mongodb/lib/sort.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sort.js.map b/node_backend/node_modules/mongodb/lib/sort.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/sort.js.map rename to node_backend/node_modules/mongodb/lib/sort.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/timeout.js b/node_backend/node_modules/mongodb/lib/timeout.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/timeout.js rename to node_backend/node_modules/mongodb/lib/timeout.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/timeout.js.map b/node_backend/node_modules/mongodb/lib/timeout.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/timeout.js.map rename to node_backend/node_modules/mongodb/lib/timeout.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/transactions.js b/node_backend/node_modules/mongodb/lib/transactions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/transactions.js rename to node_backend/node_modules/mongodb/lib/transactions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/transactions.js.map b/node_backend/node_modules/mongodb/lib/transactions.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/transactions.js.map rename to node_backend/node_modules/mongodb/lib/transactions.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/utils.js b/node_backend/node_modules/mongodb/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/utils.js rename to node_backend/node_modules/mongodb/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/utils.js.map b/node_backend/node_modules/mongodb/lib/utils.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/utils.js.map rename to node_backend/node_modules/mongodb/lib/utils.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/write_concern.js b/node_backend/node_modules/mongodb/lib/write_concern.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/write_concern.js rename to node_backend/node_modules/mongodb/lib/write_concern.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/write_concern.js.map b/node_backend/node_modules/mongodb/lib/write_concern.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/lib/write_concern.js.map rename to node_backend/node_modules/mongodb/lib/write_concern.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/mongodb.d.ts b/node_backend/node_modules/mongodb/mongodb.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/mongodb.d.ts rename to node_backend/node_modules/mongodb/mongodb.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/package.json b/node_backend/node_modules/mongodb/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/package.json rename to node_backend/node_modules/mongodb/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/admin.ts b/node_backend/node_modules/mongodb/src/admin.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/admin.ts rename to node_backend/node_modules/mongodb/src/admin.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/beta.ts b/node_backend/node_modules/mongodb/src/beta.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/beta.ts rename to node_backend/node_modules/mongodb/src/beta.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bson.ts b/node_backend/node_modules/mongodb/src/bson.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bson.ts rename to node_backend/node_modules/mongodb/src/bson.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/common.ts b/node_backend/node_modules/mongodb/src/bulk/common.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/common.ts rename to node_backend/node_modules/mongodb/src/bulk/common.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/ordered.ts b/node_backend/node_modules/mongodb/src/bulk/ordered.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/ordered.ts rename to node_backend/node_modules/mongodb/src/bulk/ordered.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/unordered.ts b/node_backend/node_modules/mongodb/src/bulk/unordered.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/bulk/unordered.ts rename to node_backend/node_modules/mongodb/src/bulk/unordered.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/change_stream.ts b/node_backend/node_modules/mongodb/src/change_stream.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/change_stream.ts rename to node_backend/node_modules/mongodb/src/change_stream.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/auto_encrypter.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/auto_encrypter.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/auto_encrypter.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/auto_encrypter.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/client_encryption.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/client_encryption.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/client_encryption.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/client_encryption.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/crypto_callbacks.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/crypto_callbacks.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/crypto_callbacks.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/crypto_callbacks.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/errors.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/errors.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/errors.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/errors.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/mongocryptd_manager.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/mongocryptd_manager.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/mongocryptd_manager.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/mongocryptd_manager.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/aws.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/providers/aws.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/aws.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/providers/aws.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/azure.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/providers/azure.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/azure.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/providers/azure.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/gcp.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/providers/gcp.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/gcp.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/providers/gcp.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/index.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/providers/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/providers/index.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/providers/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/state_machine.ts b/node_backend/node_modules/mongodb/src/client-side-encryption/state_machine.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/client-side-encryption/state_machine.ts rename to node_backend/node_modules/mongodb/src/client-side-encryption/state_machine.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/auth_provider.ts b/node_backend/node_modules/mongodb/src/cmap/auth/auth_provider.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/auth_provider.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/auth_provider.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/aws_temporary_credentials.ts b/node_backend/node_modules/mongodb/src/cmap/auth/aws_temporary_credentials.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/aws_temporary_credentials.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/aws_temporary_credentials.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/gssapi.ts b/node_backend/node_modules/mongodb/src/cmap/auth/gssapi.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/gssapi.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/gssapi.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongo_credentials.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_aws.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/automated_callback_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/automated_callback_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/automated_callback_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/automated_callback_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/azure_machine_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/callback_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/command_builders.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/command_builders.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/command_builders.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/command_builders.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/gcp_machine_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/gcp_machine_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/gcp_machine_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/gcp_machine_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/human_callback_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/human_callback_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/human_callback_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/human_callback_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/machine_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/machine_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/machine_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/machine_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_cache.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_cache.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_cache.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_cache.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_machine_workflow.ts b/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_machine_workflow.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_machine_workflow.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/mongodb_oidc/token_machine_workflow.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/plain.ts b/node_backend/node_modules/mongodb/src/cmap/auth/plain.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/plain.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/plain.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/providers.ts b/node_backend/node_modules/mongodb/src/cmap/auth/providers.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/providers.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/providers.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/scram.ts b/node_backend/node_modules/mongodb/src/cmap/auth/scram.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/scram.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/scram.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/x509.ts b/node_backend/node_modules/mongodb/src/cmap/auth/x509.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/auth/x509.ts rename to node_backend/node_modules/mongodb/src/cmap/auth/x509.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/command_monitoring_events.ts b/node_backend/node_modules/mongodb/src/cmap/command_monitoring_events.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/command_monitoring_events.ts rename to node_backend/node_modules/mongodb/src/cmap/command_monitoring_events.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/commands.ts b/node_backend/node_modules/mongodb/src/cmap/commands.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/commands.ts rename to node_backend/node_modules/mongodb/src/cmap/commands.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connect.ts b/node_backend/node_modules/mongodb/src/cmap/connect.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connect.ts rename to node_backend/node_modules/mongodb/src/cmap/connect.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection.ts b/node_backend/node_modules/mongodb/src/cmap/connection.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection.ts rename to node_backend/node_modules/mongodb/src/cmap/connection.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection_pool.ts b/node_backend/node_modules/mongodb/src/cmap/connection_pool.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection_pool.ts rename to node_backend/node_modules/mongodb/src/cmap/connection_pool.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection_pool_events.ts b/node_backend/node_modules/mongodb/src/cmap/connection_pool_events.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/connection_pool_events.ts rename to node_backend/node_modules/mongodb/src/cmap/connection_pool_events.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/errors.ts b/node_backend/node_modules/mongodb/src/cmap/errors.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/errors.ts rename to node_backend/node_modules/mongodb/src/cmap/errors.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/handshake/client_metadata.ts b/node_backend/node_modules/mongodb/src/cmap/handshake/client_metadata.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/handshake/client_metadata.ts rename to node_backend/node_modules/mongodb/src/cmap/handshake/client_metadata.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/metrics.ts b/node_backend/node_modules/mongodb/src/cmap/metrics.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/metrics.ts rename to node_backend/node_modules/mongodb/src/cmap/metrics.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/stream_description.ts b/node_backend/node_modules/mongodb/src/cmap/stream_description.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/stream_description.ts rename to node_backend/node_modules/mongodb/src/cmap/stream_description.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/compression.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/compression.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/compression.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/compression.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/constants.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/constants.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/constants.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/constants.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_data.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_data.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_data.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_data.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_demand/document.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_demand/document.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_demand/document.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/on_demand/document.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/responses.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/responses.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/responses.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/responses.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/shared.ts b/node_backend/node_modules/mongodb/src/cmap/wire_protocol/shared.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cmap/wire_protocol/shared.ts rename to node_backend/node_modules/mongodb/src/cmap/wire_protocol/shared.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/collection.ts b/node_backend/node_modules/mongodb/src/collection.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/collection.ts rename to node_backend/node_modules/mongodb/src/collection.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/connection_string.ts b/node_backend/node_modules/mongodb/src/connection_string.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/connection_string.ts rename to node_backend/node_modules/mongodb/src/connection_string.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/constants.ts b/node_backend/node_modules/mongodb/src/constants.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/constants.ts rename to node_backend/node_modules/mongodb/src/constants.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/abstract_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/abstract_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/abstract_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/abstract_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/aggregation_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/aggregation_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/aggregation_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/aggregation_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/change_stream_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/change_stream_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/change_stream_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/change_stream_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/client_bulk_write_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/client_bulk_write_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/client_bulk_write_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/client_bulk_write_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/find_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/find_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/find_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/find_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_collections_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/list_collections_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_collections_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/list_collections_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_indexes_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/list_indexes_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_indexes_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/list_indexes_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/list_search_indexes_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/run_command_cursor.ts b/node_backend/node_modules/mongodb/src/cursor/run_command_cursor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/cursor/run_command_cursor.ts rename to node_backend/node_modules/mongodb/src/cursor/run_command_cursor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/db.ts b/node_backend/node_modules/mongodb/src/db.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/db.ts rename to node_backend/node_modules/mongodb/src/db.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/deps.ts b/node_backend/node_modules/mongodb/src/deps.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/deps.ts rename to node_backend/node_modules/mongodb/src/deps.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/encrypter.ts b/node_backend/node_modules/mongodb/src/encrypter.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/encrypter.ts rename to node_backend/node_modules/mongodb/src/encrypter.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/error.ts b/node_backend/node_modules/mongodb/src/error.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/error.ts rename to node_backend/node_modules/mongodb/src/error.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/explain.ts b/node_backend/node_modules/mongodb/src/explain.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/explain.ts rename to node_backend/node_modules/mongodb/src/explain.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/download.ts b/node_backend/node_modules/mongodb/src/gridfs/download.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/download.ts rename to node_backend/node_modules/mongodb/src/gridfs/download.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/index.ts b/node_backend/node_modules/mongodb/src/gridfs/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/index.ts rename to node_backend/node_modules/mongodb/src/gridfs/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/upload.ts b/node_backend/node_modules/mongodb/src/gridfs/upload.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/gridfs/upload.ts rename to node_backend/node_modules/mongodb/src/gridfs/upload.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/index.ts b/node_backend/node_modules/mongodb/src/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/index.ts rename to node_backend/node_modules/mongodb/src/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_client.ts b/node_backend/node_modules/mongodb/src/mongo_client.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_client.ts rename to node_backend/node_modules/mongodb/src/mongo_client.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_client_auth_providers.ts b/node_backend/node_modules/mongodb/src/mongo_client_auth_providers.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_client_auth_providers.ts rename to node_backend/node_modules/mongodb/src/mongo_client_auth_providers.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_logger.ts b/node_backend/node_modules/mongodb/src/mongo_logger.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_logger.ts rename to node_backend/node_modules/mongodb/src/mongo_logger.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_types.ts b/node_backend/node_modules/mongodb/src/mongo_types.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/mongo_types.ts rename to node_backend/node_modules/mongodb/src/mongo_types.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/aggregate.ts b/node_backend/node_modules/mongodb/src/operations/aggregate.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/aggregate.ts rename to node_backend/node_modules/mongodb/src/operations/aggregate.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/bulk_write.ts b/node_backend/node_modules/mongodb/src/operations/bulk_write.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/bulk_write.ts rename to node_backend/node_modules/mongodb/src/operations/bulk_write.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/client_bulk_write.ts b/node_backend/node_modules/mongodb/src/operations/client_bulk_write/client_bulk_write.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/client_bulk_write.ts rename to node_backend/node_modules/mongodb/src/operations/client_bulk_write/client_bulk_write.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/command_builder.ts b/node_backend/node_modules/mongodb/src/operations/client_bulk_write/command_builder.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/command_builder.ts rename to node_backend/node_modules/mongodb/src/operations/client_bulk_write/command_builder.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/common.ts b/node_backend/node_modules/mongodb/src/operations/client_bulk_write/common.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/common.ts rename to node_backend/node_modules/mongodb/src/operations/client_bulk_write/common.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/executor.ts b/node_backend/node_modules/mongodb/src/operations/client_bulk_write/executor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/executor.ts rename to node_backend/node_modules/mongodb/src/operations/client_bulk_write/executor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/results_merger.ts b/node_backend/node_modules/mongodb/src/operations/client_bulk_write/results_merger.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/client_bulk_write/results_merger.ts rename to node_backend/node_modules/mongodb/src/operations/client_bulk_write/results_merger.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/collections.ts b/node_backend/node_modules/mongodb/src/operations/collections.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/collections.ts rename to node_backend/node_modules/mongodb/src/operations/collections.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/command.ts b/node_backend/node_modules/mongodb/src/operations/command.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/command.ts rename to node_backend/node_modules/mongodb/src/operations/command.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/count.ts b/node_backend/node_modules/mongodb/src/operations/count.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/count.ts rename to node_backend/node_modules/mongodb/src/operations/count.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/create_collection.ts b/node_backend/node_modules/mongodb/src/operations/create_collection.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/create_collection.ts rename to node_backend/node_modules/mongodb/src/operations/create_collection.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/delete.ts b/node_backend/node_modules/mongodb/src/operations/delete.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/delete.ts rename to node_backend/node_modules/mongodb/src/operations/delete.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/distinct.ts b/node_backend/node_modules/mongodb/src/operations/distinct.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/distinct.ts rename to node_backend/node_modules/mongodb/src/operations/distinct.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/drop.ts b/node_backend/node_modules/mongodb/src/operations/drop.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/drop.ts rename to node_backend/node_modules/mongodb/src/operations/drop.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/estimated_document_count.ts b/node_backend/node_modules/mongodb/src/operations/estimated_document_count.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/estimated_document_count.ts rename to node_backend/node_modules/mongodb/src/operations/estimated_document_count.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/execute_operation.ts b/node_backend/node_modules/mongodb/src/operations/execute_operation.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/execute_operation.ts rename to node_backend/node_modules/mongodb/src/operations/execute_operation.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/find.ts b/node_backend/node_modules/mongodb/src/operations/find.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/find.ts rename to node_backend/node_modules/mongodb/src/operations/find.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/find_and_modify.ts b/node_backend/node_modules/mongodb/src/operations/find_and_modify.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/find_and_modify.ts rename to node_backend/node_modules/mongodb/src/operations/find_and_modify.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/get_more.ts b/node_backend/node_modules/mongodb/src/operations/get_more.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/get_more.ts rename to node_backend/node_modules/mongodb/src/operations/get_more.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/indexes.ts b/node_backend/node_modules/mongodb/src/operations/indexes.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/indexes.ts rename to node_backend/node_modules/mongodb/src/operations/indexes.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/insert.ts b/node_backend/node_modules/mongodb/src/operations/insert.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/insert.ts rename to node_backend/node_modules/mongodb/src/operations/insert.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/is_capped.ts b/node_backend/node_modules/mongodb/src/operations/is_capped.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/is_capped.ts rename to node_backend/node_modules/mongodb/src/operations/is_capped.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/kill_cursors.ts b/node_backend/node_modules/mongodb/src/operations/kill_cursors.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/kill_cursors.ts rename to node_backend/node_modules/mongodb/src/operations/kill_cursors.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/list_collections.ts b/node_backend/node_modules/mongodb/src/operations/list_collections.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/list_collections.ts rename to node_backend/node_modules/mongodb/src/operations/list_collections.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/list_databases.ts b/node_backend/node_modules/mongodb/src/operations/list_databases.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/list_databases.ts rename to node_backend/node_modules/mongodb/src/operations/list_databases.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/operation.ts b/node_backend/node_modules/mongodb/src/operations/operation.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/operation.ts rename to node_backend/node_modules/mongodb/src/operations/operation.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/options_operation.ts b/node_backend/node_modules/mongodb/src/operations/options_operation.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/options_operation.ts rename to node_backend/node_modules/mongodb/src/operations/options_operation.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/profiling_level.ts b/node_backend/node_modules/mongodb/src/operations/profiling_level.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/profiling_level.ts rename to node_backend/node_modules/mongodb/src/operations/profiling_level.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/remove_user.ts b/node_backend/node_modules/mongodb/src/operations/remove_user.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/remove_user.ts rename to node_backend/node_modules/mongodb/src/operations/remove_user.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/rename.ts b/node_backend/node_modules/mongodb/src/operations/rename.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/rename.ts rename to node_backend/node_modules/mongodb/src/operations/rename.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/run_command.ts b/node_backend/node_modules/mongodb/src/operations/run_command.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/run_command.ts rename to node_backend/node_modules/mongodb/src/operations/run_command.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/create.ts b/node_backend/node_modules/mongodb/src/operations/search_indexes/create.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/create.ts rename to node_backend/node_modules/mongodb/src/operations/search_indexes/create.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/drop.ts b/node_backend/node_modules/mongodb/src/operations/search_indexes/drop.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/drop.ts rename to node_backend/node_modules/mongodb/src/operations/search_indexes/drop.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/update.ts b/node_backend/node_modules/mongodb/src/operations/search_indexes/update.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/search_indexes/update.ts rename to node_backend/node_modules/mongodb/src/operations/search_indexes/update.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/set_profiling_level.ts b/node_backend/node_modules/mongodb/src/operations/set_profiling_level.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/set_profiling_level.ts rename to node_backend/node_modules/mongodb/src/operations/set_profiling_level.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/stats.ts b/node_backend/node_modules/mongodb/src/operations/stats.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/stats.ts rename to node_backend/node_modules/mongodb/src/operations/stats.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/update.ts b/node_backend/node_modules/mongodb/src/operations/update.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/update.ts rename to node_backend/node_modules/mongodb/src/operations/update.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/validate_collection.ts b/node_backend/node_modules/mongodb/src/operations/validate_collection.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/operations/validate_collection.ts rename to node_backend/node_modules/mongodb/src/operations/validate_collection.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/read_concern.ts b/node_backend/node_modules/mongodb/src/read_concern.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/read_concern.ts rename to node_backend/node_modules/mongodb/src/read_concern.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/read_preference.ts b/node_backend/node_modules/mongodb/src/read_preference.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/read_preference.ts rename to node_backend/node_modules/mongodb/src/read_preference.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/resource_management.ts b/node_backend/node_modules/mongodb/src/resource_management.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/resource_management.ts rename to node_backend/node_modules/mongodb/src/resource_management.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/common.ts b/node_backend/node_modules/mongodb/src/sdam/common.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/common.ts rename to node_backend/node_modules/mongodb/src/sdam/common.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/events.ts b/node_backend/node_modules/mongodb/src/sdam/events.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/events.ts rename to node_backend/node_modules/mongodb/src/sdam/events.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/monitor.ts b/node_backend/node_modules/mongodb/src/sdam/monitor.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/monitor.ts rename to node_backend/node_modules/mongodb/src/sdam/monitor.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server.ts b/node_backend/node_modules/mongodb/src/sdam/server.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server.ts rename to node_backend/node_modules/mongodb/src/sdam/server.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_description.ts b/node_backend/node_modules/mongodb/src/sdam/server_description.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_description.ts rename to node_backend/node_modules/mongodb/src/sdam/server_description.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_selection.ts b/node_backend/node_modules/mongodb/src/sdam/server_selection.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_selection.ts rename to node_backend/node_modules/mongodb/src/sdam/server_selection.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_selection_events.ts b/node_backend/node_modules/mongodb/src/sdam/server_selection_events.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/server_selection_events.ts rename to node_backend/node_modules/mongodb/src/sdam/server_selection_events.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/srv_polling.ts b/node_backend/node_modules/mongodb/src/sdam/srv_polling.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/srv_polling.ts rename to node_backend/node_modules/mongodb/src/sdam/srv_polling.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/topology.ts b/node_backend/node_modules/mongodb/src/sdam/topology.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/topology.ts rename to node_backend/node_modules/mongodb/src/sdam/topology.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/topology_description.ts b/node_backend/node_modules/mongodb/src/sdam/topology_description.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sdam/topology_description.ts rename to node_backend/node_modules/mongodb/src/sdam/topology_description.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sessions.ts b/node_backend/node_modules/mongodb/src/sessions.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sessions.ts rename to node_backend/node_modules/mongodb/src/sessions.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sort.ts b/node_backend/node_modules/mongodb/src/sort.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/sort.ts rename to node_backend/node_modules/mongodb/src/sort.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/timeout.ts b/node_backend/node_modules/mongodb/src/timeout.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/timeout.ts rename to node_backend/node_modules/mongodb/src/timeout.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/transactions.ts b/node_backend/node_modules/mongodb/src/transactions.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/transactions.ts rename to node_backend/node_modules/mongodb/src/transactions.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/utils.ts b/node_backend/node_modules/mongodb/src/utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/utils.ts rename to node_backend/node_modules/mongodb/src/utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/src/write_concern.ts b/node_backend/node_modules/mongodb/src/write_concern.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/src/write_concern.ts rename to node_backend/node_modules/mongodb/src/write_concern.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongodb/tsconfig.json b/node_backend/node_modules/mongodb/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongodb/tsconfig.json rename to node_backend/node_modules/mongodb/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/LICENSE.md b/node_backend/node_modules/mongoose/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/LICENSE.md rename to node_backend/node_modules/mongoose/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/README.md b/node_backend/node_modules/mongoose/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/README.md rename to node_backend/node_modules/mongoose/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/SECURITY.md b/node_backend/node_modules/mongoose/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/SECURITY.md rename to node_backend/node_modules/mongoose/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/browser.js b/node_backend/node_modules/mongoose/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/browser.js rename to node_backend/node_modules/mongoose/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/dist/browser.umd.js b/node_backend/node_modules/mongoose/dist/browser.umd.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/dist/browser.umd.js rename to node_backend/node_modules/mongoose/dist/browser.umd.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/index.js b/node_backend/node_modules/mongoose/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/index.js rename to node_backend/node_modules/mongoose/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/aggregate.js b/node_backend/node_modules/mongoose/lib/aggregate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/aggregate.js rename to node_backend/node_modules/mongoose/lib/aggregate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/browser.js b/node_backend/node_modules/mongoose/lib/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/browser.js rename to node_backend/node_modules/mongoose/lib/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/browserDocument.js b/node_backend/node_modules/mongoose/lib/browserDocument.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/browserDocument.js rename to node_backend/node_modules/mongoose/lib/browserDocument.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast.js b/node_backend/node_modules/mongoose/lib/cast.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast.js rename to node_backend/node_modules/mongoose/lib/cast.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/bigint.js b/node_backend/node_modules/mongoose/lib/cast/bigint.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/bigint.js rename to node_backend/node_modules/mongoose/lib/cast/bigint.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/boolean.js b/node_backend/node_modules/mongoose/lib/cast/boolean.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/boolean.js rename to node_backend/node_modules/mongoose/lib/cast/boolean.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/date.js b/node_backend/node_modules/mongoose/lib/cast/date.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/date.js rename to node_backend/node_modules/mongoose/lib/cast/date.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/decimal128.js b/node_backend/node_modules/mongoose/lib/cast/decimal128.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/decimal128.js rename to node_backend/node_modules/mongoose/lib/cast/decimal128.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/number.js b/node_backend/node_modules/mongoose/lib/cast/number.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/number.js rename to node_backend/node_modules/mongoose/lib/cast/number.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/objectid.js b/node_backend/node_modules/mongoose/lib/cast/objectid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/objectid.js rename to node_backend/node_modules/mongoose/lib/cast/objectid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/string.js b/node_backend/node_modules/mongoose/lib/cast/string.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cast/string.js rename to node_backend/node_modules/mongoose/lib/cast/string.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/collection.js b/node_backend/node_modules/mongoose/lib/collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/collection.js rename to node_backend/node_modules/mongoose/lib/collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/connection.js b/node_backend/node_modules/mongoose/lib/connection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/connection.js rename to node_backend/node_modules/mongoose/lib/connection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/connectionState.js b/node_backend/node_modules/mongoose/lib/connectionState.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/connectionState.js rename to node_backend/node_modules/mongoose/lib/connectionState.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/constants.js b/node_backend/node_modules/mongoose/lib/constants.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/constants.js rename to node_backend/node_modules/mongoose/lib/constants.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/aggregationCursor.js b/node_backend/node_modules/mongoose/lib/cursor/aggregationCursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/aggregationCursor.js rename to node_backend/node_modules/mongoose/lib/cursor/aggregationCursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/changeStream.js b/node_backend/node_modules/mongoose/lib/cursor/changeStream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/changeStream.js rename to node_backend/node_modules/mongoose/lib/cursor/changeStream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/queryCursor.js b/node_backend/node_modules/mongoose/lib/cursor/queryCursor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/cursor/queryCursor.js rename to node_backend/node_modules/mongoose/lib/cursor/queryCursor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/document.js b/node_backend/node_modules/mongoose/lib/document.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/document.js rename to node_backend/node_modules/mongoose/lib/document.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/documentProvider.js b/node_backend/node_modules/mongoose/lib/documentProvider.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/documentProvider.js rename to node_backend/node_modules/mongoose/lib/documentProvider.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/driver.js b/node_backend/node_modules/mongoose/lib/driver.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/driver.js rename to node_backend/node_modules/mongoose/lib/driver.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/SPEC.md b/node_backend/node_modules/mongoose/lib/drivers/SPEC.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/SPEC.md rename to node_backend/node_modules/mongoose/lib/drivers/SPEC.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/binary.js b/node_backend/node_modules/mongoose/lib/drivers/browser/binary.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/binary.js rename to node_backend/node_modules/mongoose/lib/drivers/browser/binary.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/decimal128.js b/node_backend/node_modules/mongoose/lib/drivers/browser/decimal128.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/decimal128.js rename to node_backend/node_modules/mongoose/lib/drivers/browser/decimal128.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/index.js b/node_backend/node_modules/mongoose/lib/drivers/browser/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/index.js rename to node_backend/node_modules/mongoose/lib/drivers/browser/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/objectid.js b/node_backend/node_modules/mongoose/lib/drivers/browser/objectid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/browser/objectid.js rename to node_backend/node_modules/mongoose/lib/drivers/browser/objectid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js b/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js rename to node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js b/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js rename to node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/connection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js b/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js rename to node_backend/node_modules/mongoose/lib/drivers/node-mongodb-native/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/browserMissingSchema.js b/node_backend/node_modules/mongoose/lib/error/browserMissingSchema.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/browserMissingSchema.js rename to node_backend/node_modules/mongoose/lib/error/browserMissingSchema.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/bulkSaveIncompleteError.js b/node_backend/node_modules/mongoose/lib/error/bulkSaveIncompleteError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/bulkSaveIncompleteError.js rename to node_backend/node_modules/mongoose/lib/error/bulkSaveIncompleteError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/bulkWriteError.js b/node_backend/node_modules/mongoose/lib/error/bulkWriteError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/bulkWriteError.js rename to node_backend/node_modules/mongoose/lib/error/bulkWriteError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/cast.js b/node_backend/node_modules/mongoose/lib/error/cast.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/cast.js rename to node_backend/node_modules/mongoose/lib/error/cast.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/createCollectionsError.js b/node_backend/node_modules/mongoose/lib/error/createCollectionsError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/createCollectionsError.js rename to node_backend/node_modules/mongoose/lib/error/createCollectionsError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/divergentArray.js b/node_backend/node_modules/mongoose/lib/error/divergentArray.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/divergentArray.js rename to node_backend/node_modules/mongoose/lib/error/divergentArray.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/eachAsyncMultiError.js b/node_backend/node_modules/mongoose/lib/error/eachAsyncMultiError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/eachAsyncMultiError.js rename to node_backend/node_modules/mongoose/lib/error/eachAsyncMultiError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/index.js b/node_backend/node_modules/mongoose/lib/error/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/index.js rename to node_backend/node_modules/mongoose/lib/error/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/invalidSchemaOption.js b/node_backend/node_modules/mongoose/lib/error/invalidSchemaOption.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/invalidSchemaOption.js rename to node_backend/node_modules/mongoose/lib/error/invalidSchemaOption.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/messages.js b/node_backend/node_modules/mongoose/lib/error/messages.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/messages.js rename to node_backend/node_modules/mongoose/lib/error/messages.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/missingSchema.js b/node_backend/node_modules/mongoose/lib/error/missingSchema.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/missingSchema.js rename to node_backend/node_modules/mongoose/lib/error/missingSchema.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/mongooseError.js b/node_backend/node_modules/mongoose/lib/error/mongooseError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/mongooseError.js rename to node_backend/node_modules/mongoose/lib/error/mongooseError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/notFound.js b/node_backend/node_modules/mongoose/lib/error/notFound.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/notFound.js rename to node_backend/node_modules/mongoose/lib/error/notFound.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/objectExpected.js b/node_backend/node_modules/mongoose/lib/error/objectExpected.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/objectExpected.js rename to node_backend/node_modules/mongoose/lib/error/objectExpected.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/objectParameter.js b/node_backend/node_modules/mongoose/lib/error/objectParameter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/objectParameter.js rename to node_backend/node_modules/mongoose/lib/error/objectParameter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/overwriteModel.js b/node_backend/node_modules/mongoose/lib/error/overwriteModel.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/overwriteModel.js rename to node_backend/node_modules/mongoose/lib/error/overwriteModel.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/parallelSave.js b/node_backend/node_modules/mongoose/lib/error/parallelSave.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/parallelSave.js rename to node_backend/node_modules/mongoose/lib/error/parallelSave.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/parallelValidate.js b/node_backend/node_modules/mongoose/lib/error/parallelValidate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/parallelValidate.js rename to node_backend/node_modules/mongoose/lib/error/parallelValidate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/serverSelection.js b/node_backend/node_modules/mongoose/lib/error/serverSelection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/serverSelection.js rename to node_backend/node_modules/mongoose/lib/error/serverSelection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/setOptionError.js b/node_backend/node_modules/mongoose/lib/error/setOptionError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/setOptionError.js rename to node_backend/node_modules/mongoose/lib/error/setOptionError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/strict.js b/node_backend/node_modules/mongoose/lib/error/strict.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/strict.js rename to node_backend/node_modules/mongoose/lib/error/strict.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/strictPopulate.js b/node_backend/node_modules/mongoose/lib/error/strictPopulate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/strictPopulate.js rename to node_backend/node_modules/mongoose/lib/error/strictPopulate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/syncIndexes.js b/node_backend/node_modules/mongoose/lib/error/syncIndexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/syncIndexes.js rename to node_backend/node_modules/mongoose/lib/error/syncIndexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/validation.js b/node_backend/node_modules/mongoose/lib/error/validation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/validation.js rename to node_backend/node_modules/mongoose/lib/error/validation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/validator.js b/node_backend/node_modules/mongoose/lib/error/validator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/validator.js rename to node_backend/node_modules/mongoose/lib/error/validator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/version.js b/node_backend/node_modules/mongoose/lib/error/version.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/error/version.js rename to node_backend/node_modules/mongoose/lib/error/version.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js b/node_backend/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js rename to node_backend/node_modules/mongoose/lib/helpers/aggregate/prepareDiscriminatorPipeline.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js b/node_backend/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js rename to node_backend/node_modules/mongoose/lib/helpers/aggregate/stringifyFunctionOperators.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/arrayDepth.js b/node_backend/node_modules/mongoose/lib/helpers/arrayDepth.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/arrayDepth.js rename to node_backend/node_modules/mongoose/lib/helpers/arrayDepth.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/clone.js b/node_backend/node_modules/mongoose/lib/helpers/clone.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/clone.js rename to node_backend/node_modules/mongoose/lib/helpers/clone.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/common.js b/node_backend/node_modules/mongoose/lib/helpers/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/common.js rename to node_backend/node_modules/mongoose/lib/helpers/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/cursor/eachAsync.js b/node_backend/node_modules/mongoose/lib/helpers/cursor/eachAsync.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/cursor/eachAsync.js rename to node_backend/node_modules/mongoose/lib/helpers/cursor/eachAsync.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/applyEmbeddedDiscriminators.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/areDiscriminatorValuesEqual.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/checkEmbeddedDiscriminatorKeyProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/getConstructor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/getDiscriminatorByValue.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/getSchemaDiscriminatorByValue.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js b/node_backend/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js rename to node_backend/node_modules/mongoose/lib/helpers/discriminator/mergeDiscriminatorSchema.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyDefaults.js b/node_backend/node_modules/mongoose/lib/helpers/document/applyDefaults.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyDefaults.js rename to node_backend/node_modules/mongoose/lib/helpers/document/applyDefaults.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyTimestamps.js b/node_backend/node_modules/mongoose/lib/helpers/document/applyTimestamps.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyTimestamps.js rename to node_backend/node_modules/mongoose/lib/helpers/document/applyTimestamps.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyVirtuals.js b/node_backend/node_modules/mongoose/lib/helpers/document/applyVirtuals.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/applyVirtuals.js rename to node_backend/node_modules/mongoose/lib/helpers/document/applyVirtuals.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js b/node_backend/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js rename to node_backend/node_modules/mongoose/lib/helpers/document/cleanModifiedSubpaths.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/compile.js b/node_backend/node_modules/mongoose/lib/helpers/document/compile.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/compile.js rename to node_backend/node_modules/mongoose/lib/helpers/document/compile.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js b/node_backend/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js rename to node_backend/node_modules/mongoose/lib/helpers/document/getDeepestSubdocumentForPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js b/node_backend/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js rename to node_backend/node_modules/mongoose/lib/helpers/document/getEmbeddedDiscriminatorPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js b/node_backend/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js rename to node_backend/node_modules/mongoose/lib/helpers/document/handleSpreadDoc.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/each.js b/node_backend/node_modules/mongoose/lib/helpers/each.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/each.js rename to node_backend/node_modules/mongoose/lib/helpers/each.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/error/combinePathErrors.js b/node_backend/node_modules/mongoose/lib/helpers/error/combinePathErrors.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/error/combinePathErrors.js rename to node_backend/node_modules/mongoose/lib/helpers/error/combinePathErrors.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/firstKey.js b/node_backend/node_modules/mongoose/lib/helpers/firstKey.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/firstKey.js rename to node_backend/node_modules/mongoose/lib/helpers/firstKey.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/get.js b/node_backend/node_modules/mongoose/lib/helpers/get.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/get.js rename to node_backend/node_modules/mongoose/lib/helpers/get.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getConstructorName.js b/node_backend/node_modules/mongoose/lib/helpers/getConstructorName.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getConstructorName.js rename to node_backend/node_modules/mongoose/lib/helpers/getConstructorName.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js b/node_backend/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js rename to node_backend/node_modules/mongoose/lib/helpers/getDefaultBulkwriteResult.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getFunctionName.js b/node_backend/node_modules/mongoose/lib/helpers/getFunctionName.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/getFunctionName.js rename to node_backend/node_modules/mongoose/lib/helpers/getFunctionName.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/immediate.js b/node_backend/node_modules/mongoose/lib/helpers/immediate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/immediate.js rename to node_backend/node_modules/mongoose/lib/helpers/immediate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/applySchemaCollation.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/decorateDiscriminatorIndexOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/getRelatedIndexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/isDefaultIdIndex.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/isIndexEqual.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/isTextIndex.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isTimeseriesIndex.js b/node_backend/node_modules/mongoose/lib/helpers/indexes/isTimeseriesIndex.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/indexes/isTimeseriesIndex.js rename to node_backend/node_modules/mongoose/lib/helpers/indexes/isTimeseriesIndex.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js b/node_backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js rename to node_backend/node_modules/mongoose/lib/helpers/isAsyncFunction.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isBsonType.js b/node_backend/node_modules/mongoose/lib/helpers/isBsonType.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isBsonType.js rename to node_backend/node_modules/mongoose/lib/helpers/isBsonType.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isMongooseObject.js b/node_backend/node_modules/mongoose/lib/helpers/isMongooseObject.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isMongooseObject.js rename to node_backend/node_modules/mongoose/lib/helpers/isMongooseObject.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isObject.js b/node_backend/node_modules/mongoose/lib/helpers/isObject.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isObject.js rename to node_backend/node_modules/mongoose/lib/helpers/isObject.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isPOJO.js b/node_backend/node_modules/mongoose/lib/helpers/isPOJO.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isPOJO.js rename to node_backend/node_modules/mongoose/lib/helpers/isPOJO.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isPromise.js b/node_backend/node_modules/mongoose/lib/helpers/isPromise.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isPromise.js rename to node_backend/node_modules/mongoose/lib/helpers/isPromise.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isSimpleValidator.js b/node_backend/node_modules/mongoose/lib/helpers/isSimpleValidator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/isSimpleValidator.js rename to node_backend/node_modules/mongoose/lib/helpers/isSimpleValidator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/minimize.js b/node_backend/node_modules/mongoose/lib/helpers/minimize.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/minimize.js rename to node_backend/node_modules/mongoose/lib/helpers/minimize.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js b/node_backend/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js rename to node_backend/node_modules/mongoose/lib/helpers/model/applyDefaultsToPOJO.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyHooks.js b/node_backend/node_modules/mongoose/lib/helpers/model/applyHooks.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyHooks.js rename to node_backend/node_modules/mongoose/lib/helpers/model/applyHooks.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyMethods.js b/node_backend/node_modules/mongoose/lib/helpers/model/applyMethods.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyMethods.js rename to node_backend/node_modules/mongoose/lib/helpers/model/applyMethods.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js b/node_backend/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js rename to node_backend/node_modules/mongoose/lib/helpers/model/applyStaticHooks.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyStatics.js b/node_backend/node_modules/mongoose/lib/helpers/model/applyStatics.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/applyStatics.js rename to node_backend/node_modules/mongoose/lib/helpers/model/applyStatics.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/castBulkWrite.js b/node_backend/node_modules/mongoose/lib/helpers/model/castBulkWrite.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/castBulkWrite.js rename to node_backend/node_modules/mongoose/lib/helpers/model/castBulkWrite.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/discriminator.js b/node_backend/node_modules/mongoose/lib/helpers/model/discriminator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/discriminator.js rename to node_backend/node_modules/mongoose/lib/helpers/model/discriminator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js b/node_backend/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js rename to node_backend/node_modules/mongoose/lib/helpers/model/pushNestedArrayPaths.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/omitUndefined.js b/node_backend/node_modules/mongoose/lib/helpers/omitUndefined.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/omitUndefined.js rename to node_backend/node_modules/mongoose/lib/helpers/omitUndefined.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/once.js b/node_backend/node_modules/mongoose/lib/helpers/once.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/once.js rename to node_backend/node_modules/mongoose/lib/helpers/once.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/parallelLimit.js b/node_backend/node_modules/mongoose/lib/helpers/parallelLimit.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/parallelLimit.js rename to node_backend/node_modules/mongoose/lib/helpers/parallelLimit.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/path/parentPaths.js b/node_backend/node_modules/mongoose/lib/helpers/path/parentPaths.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/path/parentPaths.js rename to node_backend/node_modules/mongoose/lib/helpers/path/parentPaths.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/path/setDottedPath.js b/node_backend/node_modules/mongoose/lib/helpers/path/setDottedPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/path/setDottedPath.js rename to node_backend/node_modules/mongoose/lib/helpers/path/setDottedPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/pluralize.js b/node_backend/node_modules/mongoose/lib/helpers/pluralize.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/pluralize.js rename to node_backend/node_modules/mongoose/lib/helpers/pluralize.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js b/node_backend/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/assignRawDocsToIdStructure.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/assignVals.js b/node_backend/node_modules/mongoose/lib/helpers/populate/assignVals.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/assignVals.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/assignVals.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js b/node_backend/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/createPopulateQueryFilter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js b/node_backend/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/getModelsMapForPopulate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js b/node_backend/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/getSchemaTypes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getVirtual.js b/node_backend/node_modules/mongoose/lib/helpers/populate/getVirtual.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/getVirtual.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/getVirtual.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js b/node_backend/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/leanPopulateMap.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js b/node_backend/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/lookupLocalFields.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js b/node_backend/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/markArraySubdocsPopulated.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js b/node_backend/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/modelNamesFromRefPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js b/node_backend/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/removeDeselectedForeignField.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/setPopulatedVirtualValue.js b/node_backend/node_modules/mongoose/lib/helpers/populate/setPopulatedVirtualValue.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/setPopulatedVirtualValue.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/setPopulatedVirtualValue.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js b/node_backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/skipPopulateValue.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/validateRef.js b/node_backend/node_modules/mongoose/lib/helpers/populate/validateRef.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/populate/validateRef.js rename to node_backend/node_modules/mongoose/lib/helpers/populate/validateRef.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/printJestWarning.js b/node_backend/node_modules/mongoose/lib/helpers/printJestWarning.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/printJestWarning.js rename to node_backend/node_modules/mongoose/lib/helpers/printJestWarning.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/processConnectionOptions.js b/node_backend/node_modules/mongoose/lib/helpers/processConnectionOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/processConnectionOptions.js rename to node_backend/node_modules/mongoose/lib/helpers/processConnectionOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/applyProjection.js b/node_backend/node_modules/mongoose/lib/helpers/projection/applyProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/applyProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/applyProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js b/node_backend/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/hasIncludedChildren.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isDefiningProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isExclusive.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isExclusive.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isExclusive.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isExclusive.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isInclusive.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isInclusive.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isInclusive.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isInclusive.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isNestedProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isPathExcluded.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isPathSelectedInclusive.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isSubpath.js b/node_backend/node_modules/mongoose/lib/helpers/projection/isSubpath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/isSubpath.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/isSubpath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/parseProjection.js b/node_backend/node_modules/mongoose/lib/helpers/projection/parseProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/projection/parseProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/projection/parseProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js b/node_backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js rename to node_backend/node_modules/mongoose/lib/helpers/promiseOrCallback.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js b/node_backend/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js rename to node_backend/node_modules/mongoose/lib/helpers/query/applyGlobalOption.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/cast$expr.js b/node_backend/node_modules/mongoose/lib/helpers/query/cast$expr.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/cast$expr.js rename to node_backend/node_modules/mongoose/lib/helpers/query/cast$expr.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/castFilterPath.js b/node_backend/node_modules/mongoose/lib/helpers/query/castFilterPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/castFilterPath.js rename to node_backend/node_modules/mongoose/lib/helpers/query/castFilterPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/castUpdate.js b/node_backend/node_modules/mongoose/lib/helpers/query/castUpdate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/castUpdate.js rename to node_backend/node_modules/mongoose/lib/helpers/query/castUpdate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js b/node_backend/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js rename to node_backend/node_modules/mongoose/lib/helpers/query/getEmbeddedDiscriminatorPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/handleImmutable.js b/node_backend/node_modules/mongoose/lib/helpers/query/handleImmutable.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/handleImmutable.js rename to node_backend/node_modules/mongoose/lib/helpers/query/handleImmutable.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js b/node_backend/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js rename to node_backend/node_modules/mongoose/lib/helpers/query/handleReadPreferenceAliases.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js b/node_backend/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js rename to node_backend/node_modules/mongoose/lib/helpers/query/hasDollarKeys.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/isOperator.js b/node_backend/node_modules/mongoose/lib/helpers/query/isOperator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/isOperator.js rename to node_backend/node_modules/mongoose/lib/helpers/query/isOperator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js b/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js rename to node_backend/node_modules/mongoose/lib/helpers/query/sanitizeFilter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js b/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js rename to node_backend/node_modules/mongoose/lib/helpers/query/sanitizeProjection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js b/node_backend/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js rename to node_backend/node_modules/mongoose/lib/helpers/query/selectPopulatedFields.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/trusted.js b/node_backend/node_modules/mongoose/lib/helpers/query/trusted.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/trusted.js rename to node_backend/node_modules/mongoose/lib/helpers/query/trusted.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/validOps.js b/node_backend/node_modules/mongoose/lib/helpers/query/validOps.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/query/validOps.js rename to node_backend/node_modules/mongoose/lib/helpers/query/validOps.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/addAutoId.js b/node_backend/node_modules/mongoose/lib/helpers/schema/addAutoId.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/addAutoId.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/addAutoId.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js b/node_backend/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/applyBuiltinPlugins.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyPlugins.js b/node_backend/node_modules/mongoose/lib/helpers/schema/applyPlugins.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyPlugins.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/applyPlugins.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyReadConcern.js b/node_backend/node_modules/mongoose/lib/helpers/schema/applyReadConcern.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyReadConcern.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/applyReadConcern.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js b/node_backend/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/applyWriteConcern.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js b/node_backend/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/cleanPositionalOperators.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getIndexes.js b/node_backend/node_modules/mongoose/lib/helpers/schema/getIndexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getIndexes.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/getIndexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js b/node_backend/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/getKeysInSchemaOrder.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getPath.js b/node_backend/node_modules/mongoose/lib/helpers/schema/getPath.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getPath.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/getPath.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js b/node_backend/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/getSubdocumentStrictValue.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/handleIdOption.js b/node_backend/node_modules/mongoose/lib/helpers/schema/handleIdOption.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/handleIdOption.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/handleIdOption.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js b/node_backend/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/handleTimestampOption.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/idGetter.js b/node_backend/node_modules/mongoose/lib/helpers/schema/idGetter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/idGetter.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/idGetter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/merge.js b/node_backend/node_modules/mongoose/lib/helpers/schema/merge.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schema/merge.js rename to node_backend/node_modules/mongoose/lib/helpers/schema/merge.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js b/node_backend/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js rename to node_backend/node_modules/mongoose/lib/helpers/schematype/handleImmutable.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js b/node_backend/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js rename to node_backend/node_modules/mongoose/lib/helpers/setDefaultsOnInsert.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/specialProperties.js b/node_backend/node_modules/mongoose/lib/helpers/specialProperties.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/specialProperties.js rename to node_backend/node_modules/mongoose/lib/helpers/specialProperties.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/symbols.js b/node_backend/node_modules/mongoose/lib/helpers/symbols.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/symbols.js rename to node_backend/node_modules/mongoose/lib/helpers/symbols.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timers.js b/node_backend/node_modules/mongoose/lib/helpers/timers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timers.js rename to node_backend/node_modules/mongoose/lib/helpers/timers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js b/node_backend/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js rename to node_backend/node_modules/mongoose/lib/helpers/timestamps/setDocumentTimestamps.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js b/node_backend/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js rename to node_backend/node_modules/mongoose/lib/helpers/timestamps/setupTimestamps.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js b/node_backend/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js rename to node_backend/node_modules/mongoose/lib/helpers/topology/allServersUnknown.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/isAtlas.js b/node_backend/node_modules/mongoose/lib/helpers/topology/isAtlas.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/isAtlas.js rename to node_backend/node_modules/mongoose/lib/helpers/topology/isAtlas.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/isSSLError.js b/node_backend/node_modules/mongoose/lib/helpers/topology/isSSLError.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/topology/isSSLError.js rename to node_backend/node_modules/mongoose/lib/helpers/topology/isSSLError.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js b/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js rename to node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToChildren.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js b/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js rename to node_backend/node_modules/mongoose/lib/helpers/update/applyTimestampsToUpdate.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/castArrayFilters.js b/node_backend/node_modules/mongoose/lib/helpers/update/castArrayFilters.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/castArrayFilters.js rename to node_backend/node_modules/mongoose/lib/helpers/update/castArrayFilters.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js b/node_backend/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js rename to node_backend/node_modules/mongoose/lib/helpers/update/decorateUpdateWithVersionKey.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/modifiedPaths.js b/node_backend/node_modules/mongoose/lib/helpers/update/modifiedPaths.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/modifiedPaths.js rename to node_backend/node_modules/mongoose/lib/helpers/update/modifiedPaths.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js b/node_backend/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js rename to node_backend/node_modules/mongoose/lib/helpers/update/moveImmutableProperties.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js b/node_backend/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js rename to node_backend/node_modules/mongoose/lib/helpers/update/removeUnusedArrayFilters.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js b/node_backend/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js rename to node_backend/node_modules/mongoose/lib/helpers/update/updatedPathsByArrayFilter.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/updateValidators.js b/node_backend/node_modules/mongoose/lib/helpers/updateValidators.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/helpers/updateValidators.js rename to node_backend/node_modules/mongoose/lib/helpers/updateValidators.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/index.js b/node_backend/node_modules/mongoose/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/index.js rename to node_backend/node_modules/mongoose/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/internal.js b/node_backend/node_modules/mongoose/lib/internal.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/internal.js rename to node_backend/node_modules/mongoose/lib/internal.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/model.js b/node_backend/node_modules/mongoose/lib/model.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/model.js rename to node_backend/node_modules/mongoose/lib/model.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/modifiedPathsSnapshot.js b/node_backend/node_modules/mongoose/lib/modifiedPathsSnapshot.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/modifiedPathsSnapshot.js rename to node_backend/node_modules/mongoose/lib/modifiedPathsSnapshot.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/mongoose.js b/node_backend/node_modules/mongoose/lib/mongoose.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/mongoose.js rename to node_backend/node_modules/mongoose/lib/mongoose.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options.js b/node_backend/node_modules/mongoose/lib/options.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options.js rename to node_backend/node_modules/mongoose/lib/options.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/populateOptions.js b/node_backend/node_modules/mongoose/lib/options/populateOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/populateOptions.js rename to node_backend/node_modules/mongoose/lib/options/populateOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/propertyOptions.js b/node_backend/node_modules/mongoose/lib/options/propertyOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/propertyOptions.js rename to node_backend/node_modules/mongoose/lib/options/propertyOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/saveOptions.js b/node_backend/node_modules/mongoose/lib/options/saveOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/saveOptions.js rename to node_backend/node_modules/mongoose/lib/options/saveOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaArrayOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaArrayOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaArrayOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaArrayOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaBufferOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaBufferOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaBufferOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaBufferOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaDateOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaDateOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaDateOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaDateOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaDocumentArrayOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaDocumentArrayOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaDocumentArrayOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaDocumentArrayOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaMapOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaMapOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaMapOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaMapOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaNumberOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaNumberOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaNumberOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaNumberOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaObjectIdOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaObjectIdOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaObjectIdOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaObjectIdOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaStringOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaStringOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaStringOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaStringOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaSubdocumentOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaSubdocumentOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaSubdocumentOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaSubdocumentOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaTypeOptions.js b/node_backend/node_modules/mongoose/lib/options/schemaTypeOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/schemaTypeOptions.js rename to node_backend/node_modules/mongoose/lib/options/schemaTypeOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/virtualOptions.js b/node_backend/node_modules/mongoose/lib/options/virtualOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/options/virtualOptions.js rename to node_backend/node_modules/mongoose/lib/options/virtualOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/index.js b/node_backend/node_modules/mongoose/lib/plugins/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/index.js rename to node_backend/node_modules/mongoose/lib/plugins/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/saveSubdocs.js b/node_backend/node_modules/mongoose/lib/plugins/saveSubdocs.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/saveSubdocs.js rename to node_backend/node_modules/mongoose/lib/plugins/saveSubdocs.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/sharding.js b/node_backend/node_modules/mongoose/lib/plugins/sharding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/sharding.js rename to node_backend/node_modules/mongoose/lib/plugins/sharding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/trackTransaction.js b/node_backend/node_modules/mongoose/lib/plugins/trackTransaction.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/trackTransaction.js rename to node_backend/node_modules/mongoose/lib/plugins/trackTransaction.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/validateBeforeSave.js b/node_backend/node_modules/mongoose/lib/plugins/validateBeforeSave.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/plugins/validateBeforeSave.js rename to node_backend/node_modules/mongoose/lib/plugins/validateBeforeSave.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/query.js b/node_backend/node_modules/mongoose/lib/query.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/query.js rename to node_backend/node_modules/mongoose/lib/query.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/queryHelpers.js b/node_backend/node_modules/mongoose/lib/queryHelpers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/queryHelpers.js rename to node_backend/node_modules/mongoose/lib/queryHelpers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema.js b/node_backend/node_modules/mongoose/lib/schema.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema.js rename to node_backend/node_modules/mongoose/lib/schema.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/array.js b/node_backend/node_modules/mongoose/lib/schema/array.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/array.js rename to node_backend/node_modules/mongoose/lib/schema/array.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/bigint.js b/node_backend/node_modules/mongoose/lib/schema/bigint.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/bigint.js rename to node_backend/node_modules/mongoose/lib/schema/bigint.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/boolean.js b/node_backend/node_modules/mongoose/lib/schema/boolean.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/boolean.js rename to node_backend/node_modules/mongoose/lib/schema/boolean.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/buffer.js b/node_backend/node_modules/mongoose/lib/schema/buffer.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/buffer.js rename to node_backend/node_modules/mongoose/lib/schema/buffer.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/date.js b/node_backend/node_modules/mongoose/lib/schema/date.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/date.js rename to node_backend/node_modules/mongoose/lib/schema/date.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/decimal128.js b/node_backend/node_modules/mongoose/lib/schema/decimal128.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/decimal128.js rename to node_backend/node_modules/mongoose/lib/schema/decimal128.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/documentArray.js b/node_backend/node_modules/mongoose/lib/schema/documentArray.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/documentArray.js rename to node_backend/node_modules/mongoose/lib/schema/documentArray.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/documentArrayElement.js b/node_backend/node_modules/mongoose/lib/schema/documentArrayElement.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/documentArrayElement.js rename to node_backend/node_modules/mongoose/lib/schema/documentArrayElement.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/index.js b/node_backend/node_modules/mongoose/lib/schema/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/index.js rename to node_backend/node_modules/mongoose/lib/schema/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/map.js b/node_backend/node_modules/mongoose/lib/schema/map.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/map.js rename to node_backend/node_modules/mongoose/lib/schema/map.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/mixed.js b/node_backend/node_modules/mongoose/lib/schema/mixed.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/mixed.js rename to node_backend/node_modules/mongoose/lib/schema/mixed.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/number.js b/node_backend/node_modules/mongoose/lib/schema/number.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/number.js rename to node_backend/node_modules/mongoose/lib/schema/number.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/objectId.js b/node_backend/node_modules/mongoose/lib/schema/objectId.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/objectId.js rename to node_backend/node_modules/mongoose/lib/schema/objectId.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/bitwise.js b/node_backend/node_modules/mongoose/lib/schema/operators/bitwise.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/bitwise.js rename to node_backend/node_modules/mongoose/lib/schema/operators/bitwise.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/exists.js b/node_backend/node_modules/mongoose/lib/schema/operators/exists.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/exists.js rename to node_backend/node_modules/mongoose/lib/schema/operators/exists.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/geospatial.js b/node_backend/node_modules/mongoose/lib/schema/operators/geospatial.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/geospatial.js rename to node_backend/node_modules/mongoose/lib/schema/operators/geospatial.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/helpers.js b/node_backend/node_modules/mongoose/lib/schema/operators/helpers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/helpers.js rename to node_backend/node_modules/mongoose/lib/schema/operators/helpers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/text.js b/node_backend/node_modules/mongoose/lib/schema/operators/text.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/text.js rename to node_backend/node_modules/mongoose/lib/schema/operators/text.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/type.js b/node_backend/node_modules/mongoose/lib/schema/operators/type.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/operators/type.js rename to node_backend/node_modules/mongoose/lib/schema/operators/type.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/string.js b/node_backend/node_modules/mongoose/lib/schema/string.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/string.js rename to node_backend/node_modules/mongoose/lib/schema/string.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/subdocument.js b/node_backend/node_modules/mongoose/lib/schema/subdocument.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/subdocument.js rename to node_backend/node_modules/mongoose/lib/schema/subdocument.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/symbols.js b/node_backend/node_modules/mongoose/lib/schema/symbols.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/symbols.js rename to node_backend/node_modules/mongoose/lib/schema/symbols.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/uuid.js b/node_backend/node_modules/mongoose/lib/schema/uuid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schema/uuid.js rename to node_backend/node_modules/mongoose/lib/schema/uuid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schemaType.js b/node_backend/node_modules/mongoose/lib/schemaType.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/schemaType.js rename to node_backend/node_modules/mongoose/lib/schemaType.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/stateMachine.js b/node_backend/node_modules/mongoose/lib/stateMachine.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/stateMachine.js rename to node_backend/node_modules/mongoose/lib/stateMachine.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/index.js b/node_backend/node_modules/mongoose/lib/types/array/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/index.js rename to node_backend/node_modules/mongoose/lib/types/array/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/isMongooseArray.js b/node_backend/node_modules/mongoose/lib/types/array/isMongooseArray.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/isMongooseArray.js rename to node_backend/node_modules/mongoose/lib/types/array/isMongooseArray.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/methods/index.js b/node_backend/node_modules/mongoose/lib/types/array/methods/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/array/methods/index.js rename to node_backend/node_modules/mongoose/lib/types/array/methods/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/arraySubdocument.js b/node_backend/node_modules/mongoose/lib/types/arraySubdocument.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/arraySubdocument.js rename to node_backend/node_modules/mongoose/lib/types/arraySubdocument.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/buffer.js b/node_backend/node_modules/mongoose/lib/types/buffer.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/buffer.js rename to node_backend/node_modules/mongoose/lib/types/buffer.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/decimal128.js b/node_backend/node_modules/mongoose/lib/types/decimal128.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/decimal128.js rename to node_backend/node_modules/mongoose/lib/types/decimal128.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/index.js b/node_backend/node_modules/mongoose/lib/types/documentArray/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/index.js rename to node_backend/node_modules/mongoose/lib/types/documentArray/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/isMongooseDocumentArray.js b/node_backend/node_modules/mongoose/lib/types/documentArray/isMongooseDocumentArray.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/isMongooseDocumentArray.js rename to node_backend/node_modules/mongoose/lib/types/documentArray/isMongooseDocumentArray.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/methods/index.js b/node_backend/node_modules/mongoose/lib/types/documentArray/methods/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/documentArray/methods/index.js rename to node_backend/node_modules/mongoose/lib/types/documentArray/methods/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/index.js b/node_backend/node_modules/mongoose/lib/types/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/index.js rename to node_backend/node_modules/mongoose/lib/types/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/map.js b/node_backend/node_modules/mongoose/lib/types/map.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/map.js rename to node_backend/node_modules/mongoose/lib/types/map.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/objectid.js b/node_backend/node_modules/mongoose/lib/types/objectid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/objectid.js rename to node_backend/node_modules/mongoose/lib/types/objectid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/subdocument.js b/node_backend/node_modules/mongoose/lib/types/subdocument.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/subdocument.js rename to node_backend/node_modules/mongoose/lib/types/subdocument.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/uuid.js b/node_backend/node_modules/mongoose/lib/types/uuid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/types/uuid.js rename to node_backend/node_modules/mongoose/lib/types/uuid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/utils.js b/node_backend/node_modules/mongoose/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/utils.js rename to node_backend/node_modules/mongoose/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/validOptions.js b/node_backend/node_modules/mongoose/lib/validOptions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/validOptions.js rename to node_backend/node_modules/mongoose/lib/validOptions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/virtualType.js b/node_backend/node_modules/mongoose/lib/virtualType.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/lib/virtualType.js rename to node_backend/node_modules/mongoose/lib/virtualType.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/index.js b/node_backend/node_modules/mongoose/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/index.js rename to node_backend/node_modules/mongoose/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/license.md b/node_backend/node_modules/mongoose/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/license.md rename to node_backend/node_modules/mongoose/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/package.json b/node_backend/node_modules/mongoose/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/package.json rename to node_backend/node_modules/mongoose/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/readme.md b/node_backend/node_modules/mongoose/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/node_modules/ms/readme.md rename to node_backend/node_modules/mongoose/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/package.json b/node_backend/node_modules/mongoose/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/package.json rename to node_backend/node_modules/mongoose/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/aggregate.d.ts b/node_backend/node_modules/mongoose/types/aggregate.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/aggregate.d.ts rename to node_backend/node_modules/mongoose/types/aggregate.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/augmentations.d.ts b/node_backend/node_modules/mongoose/types/augmentations.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/augmentations.d.ts rename to node_backend/node_modules/mongoose/types/augmentations.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/callback.d.ts b/node_backend/node_modules/mongoose/types/callback.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/callback.d.ts rename to node_backend/node_modules/mongoose/types/callback.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/collection.d.ts b/node_backend/node_modules/mongoose/types/collection.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/collection.d.ts rename to node_backend/node_modules/mongoose/types/collection.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/connection.d.ts b/node_backend/node_modules/mongoose/types/connection.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/connection.d.ts rename to node_backend/node_modules/mongoose/types/connection.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/cursor.d.ts b/node_backend/node_modules/mongoose/types/cursor.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/cursor.d.ts rename to node_backend/node_modules/mongoose/types/cursor.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/document.d.ts b/node_backend/node_modules/mongoose/types/document.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/document.d.ts rename to node_backend/node_modules/mongoose/types/document.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/error.d.ts b/node_backend/node_modules/mongoose/types/error.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/error.d.ts rename to node_backend/node_modules/mongoose/types/error.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/expressions.d.ts b/node_backend/node_modules/mongoose/types/expressions.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/expressions.d.ts rename to node_backend/node_modules/mongoose/types/expressions.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/helpers.d.ts b/node_backend/node_modules/mongoose/types/helpers.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/helpers.d.ts rename to node_backend/node_modules/mongoose/types/helpers.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/index.d.ts b/node_backend/node_modules/mongoose/types/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/index.d.ts rename to node_backend/node_modules/mongoose/types/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/indexes.d.ts b/node_backend/node_modules/mongoose/types/indexes.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/indexes.d.ts rename to node_backend/node_modules/mongoose/types/indexes.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/inferrawdoctype.d.ts b/node_backend/node_modules/mongoose/types/inferrawdoctype.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/inferrawdoctype.d.ts rename to node_backend/node_modules/mongoose/types/inferrawdoctype.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/inferschematype.d.ts b/node_backend/node_modules/mongoose/types/inferschematype.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/inferschematype.d.ts rename to node_backend/node_modules/mongoose/types/inferschematype.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/middlewares.d.ts b/node_backend/node_modules/mongoose/types/middlewares.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/middlewares.d.ts rename to node_backend/node_modules/mongoose/types/middlewares.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/models.d.ts b/node_backend/node_modules/mongoose/types/models.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/models.d.ts rename to node_backend/node_modules/mongoose/types/models.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/mongooseoptions.d.ts b/node_backend/node_modules/mongoose/types/mongooseoptions.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/mongooseoptions.d.ts rename to node_backend/node_modules/mongoose/types/mongooseoptions.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/pipelinestage.d.ts b/node_backend/node_modules/mongoose/types/pipelinestage.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/pipelinestage.d.ts rename to node_backend/node_modules/mongoose/types/pipelinestage.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/populate.d.ts b/node_backend/node_modules/mongoose/types/populate.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/populate.d.ts rename to node_backend/node_modules/mongoose/types/populate.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/query.d.ts b/node_backend/node_modules/mongoose/types/query.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/query.d.ts rename to node_backend/node_modules/mongoose/types/query.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/schemaoptions.d.ts b/node_backend/node_modules/mongoose/types/schemaoptions.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/schemaoptions.d.ts rename to node_backend/node_modules/mongoose/types/schemaoptions.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/schematypes.d.ts b/node_backend/node_modules/mongoose/types/schematypes.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/schematypes.d.ts rename to node_backend/node_modules/mongoose/types/schematypes.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/session.d.ts b/node_backend/node_modules/mongoose/types/session.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/session.d.ts rename to node_backend/node_modules/mongoose/types/session.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/types.d.ts b/node_backend/node_modules/mongoose/types/types.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/types.d.ts rename to node_backend/node_modules/mongoose/types/types.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/utility.d.ts b/node_backend/node_modules/mongoose/types/utility.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/utility.d.ts rename to node_backend/node_modules/mongoose/types/utility.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/validation.d.ts b/node_backend/node_modules/mongoose/types/validation.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/validation.d.ts rename to node_backend/node_modules/mongoose/types/validation.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mongoose/types/virtuals.d.ts b/node_backend/node_modules/mongoose/types/virtuals.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mongoose/types/virtuals.d.ts rename to node_backend/node_modules/mongoose/types/virtuals.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/.travis.yml b/node_backend/node_modules/mpath/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/.travis.yml rename to node_backend/node_modules/mpath/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/History.md b/node_backend/node_modules/mpath/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/History.md rename to node_backend/node_modules/mpath/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/LICENSE b/node_backend/node_modules/mpath/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/LICENSE rename to node_backend/node_modules/mpath/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/README.md b/node_backend/node_modules/mpath/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/README.md rename to node_backend/node_modules/mpath/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/SECURITY.md b/node_backend/node_modules/mpath/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/SECURITY.md rename to node_backend/node_modules/mpath/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/index.js b/node_backend/node_modules/mpath/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/index.js rename to node_backend/node_modules/mpath/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/lib/index.js b/node_backend/node_modules/mpath/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/lib/index.js rename to node_backend/node_modules/mpath/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/lib/stringToParts.js b/node_backend/node_modules/mpath/lib/stringToParts.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/lib/stringToParts.js rename to node_backend/node_modules/mpath/lib/stringToParts.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/package.json b/node_backend/node_modules/mpath/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/package.json rename to node_backend/node_modules/mpath/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/test/.eslintrc.yml b/node_backend/node_modules/mpath/test/.eslintrc.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/test/.eslintrc.yml rename to node_backend/node_modules/mpath/test/.eslintrc.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/test/index.js b/node_backend/node_modules/mpath/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/test/index.js rename to node_backend/node_modules/mpath/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mpath/test/stringToParts.js b/node_backend/node_modules/mpath/test/stringToParts.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mpath/test/stringToParts.js rename to node_backend/node_modules/mpath/test/stringToParts.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/.github/ISSUE_TEMPLATE.md b/node_backend/node_modules/mquery/.github/ISSUE_TEMPLATE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/.github/ISSUE_TEMPLATE.md rename to node_backend/node_modules/mquery/.github/ISSUE_TEMPLATE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md b/node_backend/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md rename to node_backend/node_modules/mquery/.github/PULL_REQUEST_TEMPLATE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/History.md b/node_backend/node_modules/mquery/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/History.md rename to node_backend/node_modules/mquery/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/LICENSE b/node_backend/node_modules/mquery/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/LICENSE rename to node_backend/node_modules/mquery/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/README.md b/node_backend/node_modules/mquery/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/README.md rename to node_backend/node_modules/mquery/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/SECURITY.md b/node_backend/node_modules/mquery/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/SECURITY.md rename to node_backend/node_modules/mquery/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/collection.js b/node_backend/node_modules/mquery/lib/collection/collection.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/collection.js rename to node_backend/node_modules/mquery/lib/collection/collection.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/index.js b/node_backend/node_modules/mquery/lib/collection/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/index.js rename to node_backend/node_modules/mquery/lib/collection/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/node.js b/node_backend/node_modules/mquery/lib/collection/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/collection/node.js rename to node_backend/node_modules/mquery/lib/collection/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/env.js b/node_backend/node_modules/mquery/lib/env.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/env.js rename to node_backend/node_modules/mquery/lib/env.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/mquery.js b/node_backend/node_modules/mquery/lib/mquery.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/mquery.js rename to node_backend/node_modules/mquery/lib/mquery.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/permissions.js b/node_backend/node_modules/mquery/lib/permissions.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/permissions.js rename to node_backend/node_modules/mquery/lib/permissions.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/lib/utils.js b/node_backend/node_modules/mquery/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/lib/utils.js rename to node_backend/node_modules/mquery/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/LICENSE b/node_backend/node_modules/mquery/node_modules/debug/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/LICENSE rename to node_backend/node_modules/mquery/node_modules/debug/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/README.md b/node_backend/node_modules/mquery/node_modules/debug/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/README.md rename to node_backend/node_modules/mquery/node_modules/debug/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/package.json b/node_backend/node_modules/mquery/node_modules/debug/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/package.json rename to node_backend/node_modules/mquery/node_modules/debug/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/browser.js b/node_backend/node_modules/mquery/node_modules/debug/src/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/browser.js rename to node_backend/node_modules/mquery/node_modules/debug/src/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/common.js b/node_backend/node_modules/mquery/node_modules/debug/src/common.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/common.js rename to node_backend/node_modules/mquery/node_modules/debug/src/common.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/index.js b/node_backend/node_modules/mquery/node_modules/debug/src/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/index.js rename to node_backend/node_modules/mquery/node_modules/debug/src/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/node.js b/node_backend/node_modules/mquery/node_modules/debug/src/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/debug/src/node.js rename to node_backend/node_modules/mquery/node_modules/debug/src/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/index.js b/node_backend/node_modules/mquery/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/index.js rename to node_backend/node_modules/mquery/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/license.md b/node_backend/node_modules/mquery/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/license.md rename to node_backend/node_modules/mquery/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/package.json b/node_backend/node_modules/mquery/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/package.json rename to node_backend/node_modules/mquery/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/readme.md b/node_backend/node_modules/mquery/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/node_modules/ms/readme.md rename to node_backend/node_modules/mquery/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/mquery/package.json b/node_backend/node_modules/mquery/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/mquery/package.json rename to node_backend/node_modules/mquery/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ms/index.js b/node_backend/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ms/index.js rename to node_backend/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/ms/license.md b/node_backend/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ms/license.md rename to node_backend/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/ms/package.json b/node_backend/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ms/package.json rename to node_backend/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/ms/readme.md b/node_backend/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/ms/readme.md rename to node_backend/node_modules/ms/readme.md diff --git a/node_backend/node_modules/multer/LICENSE b/node_backend/node_modules/multer/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..6c011b18fa16e456f63b662d75047e376306874b --- /dev/null +++ b/node_backend/node_modules/multer/LICENSE @@ -0,0 +1,17 @@ +Copyright (c) 2014 Hage Yaapa <[http://www.hacksparrow.com](http://www.hacksparrow.com)> + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/node_backend/node_modules/multer/README.md b/node_backend/node_modules/multer/README.md new file mode 100644 index 0000000000000000000000000000000000000000..7f5d08071cae3afc6a9547e2381ec59f13cfc9f8 --- /dev/null +++ b/node_backend/node_modules/multer/README.md @@ -0,0 +1,333 @@ +# Multer [![Build Status](https://travis-ci.org/expressjs/multer.svg?branch=master)](https://travis-ci.org/expressjs/multer) [![NPM version](https://badge.fury.io/js/multer.svg)](https://badge.fury.io/js/multer) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) + +Multer is a node.js middleware for handling `multipart/form-data`, which is primarily used for uploading files. It is written +on top of [busboy](https://github.com/mscdex/busboy) for maximum efficiency. + +**NOTE**: Multer will not process any form which is not multipart (`multipart/form-data`). + +## Translations + +This README is also available in other languages: + +- [Español](https://github.com/expressjs/multer/blob/master/doc/README-es.md) (Spanish) +- [简体中文](https://github.com/expressjs/multer/blob/master/doc/README-zh-cn.md) (Chinese) +- [한국어](https://github.com/expressjs/multer/blob/master/doc/README-ko.md) (Korean) +- [Русский язык](https://github.com/expressjs/multer/blob/master/doc/README-ru.md) (Russian) +- [Việt Nam](https://github.com/expressjs/multer/blob/master/doc/README-vi.md) (Vietnam) +- [Português](https://github.com/expressjs/multer/blob/master/doc/README-pt-br.md) (Portuguese Brazil) + +## Installation + +```sh +$ npm install --save multer +``` + +## Usage + +Multer adds a `body` object and a `file` or `files` object to the `request` object. The `body` object contains the values of the text fields of the form, the `file` or `files` object contains the files uploaded via the form. + +Basic usage example: + +Don't forget the `enctype="multipart/form-data"` in your form. + +```html +
+ +
+``` + +```javascript +const express = require('express') +const multer = require('multer') +const upload = multer({ dest: 'uploads/' }) + +const app = express() + +app.post('/profile', upload.single('avatar'), function (req, res, next) { + // req.file is the `avatar` file + // req.body will hold the text fields, if there were any +}) + +app.post('/photos/upload', upload.array('photos', 12), function (req, res, next) { + // req.files is array of `photos` files + // req.body will contain the text fields, if there were any +}) + +const cpUpload = upload.fields([{ name: 'avatar', maxCount: 1 }, { name: 'gallery', maxCount: 8 }]) +app.post('/cool-profile', cpUpload, function (req, res, next) { + // req.files is an object (String -> Array) where fieldname is the key, and the value is array of files + // + // e.g. + // req.files['avatar'][0] -> File + // req.files['gallery'] -> Array + // + // req.body will contain the text fields, if there were any +}) +``` + +In case you need to handle a text-only multipart form, you should use the `.none()` method: + +```javascript +const express = require('express') +const app = express() +const multer = require('multer') +const upload = multer() + +app.post('/profile', upload.none(), function (req, res, next) { + // req.body contains the text fields +}) +``` + +Here's an example on how multer is used an HTML form. Take special note of the `enctype="multipart/form-data"` and `name="uploaded_file"` fields: + +```html +
+
+ + + +
+
+``` + +Then in your javascript file you would add these lines to access both the file and the body. It is important that you use the `name` field value from the form in your upload function. This tells multer which field on the request it should look for the files in. If these fields aren't the same in the HTML form and on your server, your upload will fail: + +```javascript +const multer = require('multer') +const upload = multer({ dest: './public/data/uploads/' }) +app.post('/stats', upload.single('uploaded_file'), function (req, res) { + // req.file is the name of your file in the form above, here 'uploaded_file' + // req.body will hold the text fields, if there were any + console.log(req.file, req.body) +}); +``` + + + +## API + +### File information + +Each file contains the following information: + +Key | Description | Note +--- | --- | --- +`fieldname` | Field name specified in the form | +`originalname` | Name of the file on the user's computer | +`encoding` | Encoding type of the file | +`mimetype` | Mime type of the file | +`size` | Size of the file in bytes | +`destination` | The folder to which the file has been saved | `DiskStorage` +`filename` | The name of the file within the `destination` | `DiskStorage` +`path` | The full path to the uploaded file | `DiskStorage` +`buffer` | A `Buffer` of the entire file | `MemoryStorage` + +### `multer(opts)` + +Multer accepts an options object, the most basic of which is the `dest` +property, which tells Multer where to upload the files. In case you omit the +options object, the files will be kept in memory and never written to disk. + +By default, Multer will rename the files so as to avoid naming conflicts. The +renaming function can be customized according to your needs. + +The following are the options that can be passed to Multer. + +Key | Description +--- | --- +`dest` or `storage` | Where to store the files +`fileFilter` | Function to control which files are accepted +`limits` | Limits of the uploaded data +`preservePath` | Keep the full path of files instead of just the base name + +In an average web app, only `dest` might be required, and configured as shown in +the following example. + +```javascript +const upload = multer({ dest: 'uploads/' }) +``` + +If you want more control over your uploads, you'll want to use the `storage` +option instead of `dest`. Multer ships with storage engines `DiskStorage` +and `MemoryStorage`; More engines are available from third parties. + +#### `.single(fieldname)` + +Accept a single file with the name `fieldname`. The single file will be stored +in `req.file`. + +#### `.array(fieldname[, maxCount])` + +Accept an array of files, all with the name `fieldname`. Optionally error out if +more than `maxCount` files are uploaded. The array of files will be stored in +`req.files`. + +#### `.fields(fields)` + +Accept a mix of files, specified by `fields`. An object with arrays of files +will be stored in `req.files`. + +`fields` should be an array of objects with `name` and optionally a `maxCount`. +Example: + +```javascript +[ + { name: 'avatar', maxCount: 1 }, + { name: 'gallery', maxCount: 8 } +] +``` + +#### `.none()` + +Accept only text fields. If any file upload is made, error with code +"LIMIT\_UNEXPECTED\_FILE" will be issued. + +#### `.any()` + +Accepts all files that comes over the wire. An array of files will be stored in +`req.files`. + +**WARNING:** Make sure that you always handle the files that a user uploads. +Never add multer as a global middleware since a malicious user could upload +files to a route that you didn't anticipate. Only use this function on routes +where you are handling the uploaded files. + +### `storage` + +#### `DiskStorage` + +The disk storage engine gives you full control on storing files to disk. + +```javascript +const storage = multer.diskStorage({ + destination: function (req, file, cb) { + cb(null, '/tmp/my-uploads') + }, + filename: function (req, file, cb) { + const uniqueSuffix = Date.now() + '-' + Math.round(Math.random() * 1E9) + cb(null, file.fieldname + '-' + uniqueSuffix) + } +}) + +const upload = multer({ storage: storage }) +``` + +There are two options available, `destination` and `filename`. They are both +functions that determine where the file should be stored. + +`destination` is used to determine within which folder the uploaded files should +be stored. This can also be given as a `string` (e.g. `'/tmp/uploads'`). If no +`destination` is given, the operating system's default directory for temporary +files is used. + +**Note:** You are responsible for creating the directory when providing +`destination` as a function. When passing a string, multer will make sure that +the directory is created for you. + +`filename` is used to determine what the file should be named inside the folder. +If no `filename` is given, each file will be given a random name that doesn't +include any file extension. + +**Note:** Multer will not append any file extension for you, your function +should return a filename complete with an file extension. + +Each function gets passed both the request (`req`) and some information about +the file (`file`) to aid with the decision. + +Note that `req.body` might not have been fully populated yet. It depends on the +order that the client transmits fields and files to the server. + +For understanding the calling convention used in the callback (needing to pass +null as the first param), refer to +[Node.js error handling](https://www.joyent.com/node-js/production/design/errors) + +#### `MemoryStorage` + +The memory storage engine stores the files in memory as `Buffer` objects. It +doesn't have any options. + +```javascript +const storage = multer.memoryStorage() +const upload = multer({ storage: storage }) +``` + +When using memory storage, the file info will contain a field called +`buffer` that contains the entire file. + +**WARNING**: Uploading very large files, or relatively small files in large +numbers very quickly, can cause your application to run out of memory when +memory storage is used. + +### `limits` + +An object specifying the size limits of the following optional properties. Multer passes this object into busboy directly, and the details of the properties can be found on [busboy's page](https://github.com/mscdex/busboy#busboy-methods). + +The following integer values are available: + +Key | Description | Default +--- | --- | --- +`fieldNameSize` | Max field name size | 100 bytes +`fieldSize` | Max field value size (in bytes) | 1MB +`fields` | Max number of non-file fields | Infinity +`fileSize` | For multipart forms, the max file size (in bytes) | Infinity +`files` | For multipart forms, the max number of file fields | Infinity +`parts` | For multipart forms, the max number of parts (fields + files) | Infinity +`headerPairs` | For multipart forms, the max number of header key=>value pairs to parse | 2000 + +Specifying the limits can help protect your site against denial of service (DoS) attacks. + +### `fileFilter` + +Set this to a function to control which files should be uploaded and which +should be skipped. The function should look like this: + +```javascript +function fileFilter (req, file, cb) { + + // The function should call `cb` with a boolean + // to indicate if the file should be accepted + + // To reject this file pass `false`, like so: + cb(null, false) + + // To accept the file pass `true`, like so: + cb(null, true) + + // You can always pass an error if something goes wrong: + cb(new Error('I don\'t have a clue!')) + +} +``` + +## Error handling + +When encountering an error, Multer will delegate the error to Express. You can +display a nice error page using [the standard express way](http://expressjs.com/guide/error-handling.html). + +If you want to catch errors specifically from Multer, you can call the +middleware function by yourself. Also, if you want to catch only [the Multer errors](https://github.com/expressjs/multer/blob/master/lib/multer-error.js), you can use the `MulterError` class that is attached to the `multer` object itself (e.g. `err instanceof multer.MulterError`). + +```javascript +const multer = require('multer') +const upload = multer().single('avatar') + +app.post('/profile', function (req, res) { + upload(req, res, function (err) { + if (err instanceof multer.MulterError) { + // A Multer error occurred when uploading. + } else if (err) { + // An unknown error occurred when uploading. + } + + // Everything went fine. + }) +}) +``` + +## Custom storage engine + +For information on how to build your own storage engine, see [Multer Storage Engine](https://github.com/expressjs/multer/blob/master/StorageEngine.md). + +## License + +[MIT](LICENSE) diff --git a/node_backend/node_modules/multer/index.js b/node_backend/node_modules/multer/index.js new file mode 100644 index 0000000000000000000000000000000000000000..d5b67eba3a7d9b37840270102aa78486b0e8376b --- /dev/null +++ b/node_backend/node_modules/multer/index.js @@ -0,0 +1,104 @@ +var makeMiddleware = require('./lib/make-middleware') + +var diskStorage = require('./storage/disk') +var memoryStorage = require('./storage/memory') +var MulterError = require('./lib/multer-error') + +function allowAll (req, file, cb) { + cb(null, true) +} + +function Multer (options) { + if (options.storage) { + this.storage = options.storage + } else if (options.dest) { + this.storage = diskStorage({ destination: options.dest }) + } else { + this.storage = memoryStorage() + } + + this.limits = options.limits + this.preservePath = options.preservePath + this.fileFilter = options.fileFilter || allowAll +} + +Multer.prototype._makeMiddleware = function (fields, fileStrategy) { + function setup () { + var fileFilter = this.fileFilter + var filesLeft = Object.create(null) + + fields.forEach(function (field) { + if (typeof field.maxCount === 'number') { + filesLeft[field.name] = field.maxCount + } else { + filesLeft[field.name] = Infinity + } + }) + + function wrappedFileFilter (req, file, cb) { + if ((filesLeft[file.fieldname] || 0) <= 0) { + return cb(new MulterError('LIMIT_UNEXPECTED_FILE', file.fieldname)) + } + + filesLeft[file.fieldname] -= 1 + fileFilter(req, file, cb) + } + + return { + limits: this.limits, + preservePath: this.preservePath, + storage: this.storage, + fileFilter: wrappedFileFilter, + fileStrategy: fileStrategy + } + } + + return makeMiddleware(setup.bind(this)) +} + +Multer.prototype.single = function (name) { + return this._makeMiddleware([{ name: name, maxCount: 1 }], 'VALUE') +} + +Multer.prototype.array = function (name, maxCount) { + return this._makeMiddleware([{ name: name, maxCount: maxCount }], 'ARRAY') +} + +Multer.prototype.fields = function (fields) { + return this._makeMiddleware(fields, 'OBJECT') +} + +Multer.prototype.none = function () { + return this._makeMiddleware([], 'NONE') +} + +Multer.prototype.any = function () { + function setup () { + return { + limits: this.limits, + preservePath: this.preservePath, + storage: this.storage, + fileFilter: this.fileFilter, + fileStrategy: 'ARRAY' + } + } + + return makeMiddleware(setup.bind(this)) +} + +function multer (options) { + if (options === undefined) { + return new Multer({}) + } + + if (typeof options === 'object' && options !== null) { + return new Multer(options) + } + + throw new TypeError('Expected object for argument options') +} + +module.exports = multer +module.exports.diskStorage = diskStorage +module.exports.memoryStorage = memoryStorage +module.exports.MulterError = MulterError diff --git a/node_backend/node_modules/multer/lib/counter.js b/node_backend/node_modules/multer/lib/counter.js new file mode 100644 index 0000000000000000000000000000000000000000..29c410c7b4850d2640fef61629508a534fc98a74 --- /dev/null +++ b/node_backend/node_modules/multer/lib/counter.js @@ -0,0 +1,28 @@ +var EventEmitter = require('events').EventEmitter + +function Counter () { + EventEmitter.call(this) + this.value = 0 +} + +Counter.prototype = Object.create(EventEmitter.prototype) + +Counter.prototype.increment = function increment () { + this.value++ +} + +Counter.prototype.decrement = function decrement () { + if (--this.value === 0) this.emit('zero') +} + +Counter.prototype.isZero = function isZero () { + return (this.value === 0) +} + +Counter.prototype.onceZero = function onceZero (fn) { + if (this.isZero()) return fn() + + this.once('zero', fn) +} + +module.exports = Counter diff --git a/node_backend/node_modules/multer/lib/file-appender.js b/node_backend/node_modules/multer/lib/file-appender.js new file mode 100644 index 0000000000000000000000000000000000000000..1a2c5e76e98c539fc855924111c054d3df943857 --- /dev/null +++ b/node_backend/node_modules/multer/lib/file-appender.js @@ -0,0 +1,67 @@ +var objectAssign = require('object-assign') + +function arrayRemove (arr, item) { + var idx = arr.indexOf(item) + if (~idx) arr.splice(idx, 1) +} + +function FileAppender (strategy, req) { + this.strategy = strategy + this.req = req + + switch (strategy) { + case 'NONE': break + case 'VALUE': break + case 'ARRAY': req.files = []; break + case 'OBJECT': req.files = Object.create(null); break + default: throw new Error('Unknown file strategy: ' + strategy) + } +} + +FileAppender.prototype.insertPlaceholder = function (file) { + var placeholder = { + fieldname: file.fieldname + } + + switch (this.strategy) { + case 'NONE': break + case 'VALUE': break + case 'ARRAY': this.req.files.push(placeholder); break + case 'OBJECT': + if (this.req.files[file.fieldname]) { + this.req.files[file.fieldname].push(placeholder) + } else { + this.req.files[file.fieldname] = [placeholder] + } + break + } + + return placeholder +} + +FileAppender.prototype.removePlaceholder = function (placeholder) { + switch (this.strategy) { + case 'NONE': break + case 'VALUE': break + case 'ARRAY': arrayRemove(this.req.files, placeholder); break + case 'OBJECT': + if (this.req.files[placeholder.fieldname].length === 1) { + delete this.req.files[placeholder.fieldname] + } else { + arrayRemove(this.req.files[placeholder.fieldname], placeholder) + } + break + } +} + +FileAppender.prototype.replacePlaceholder = function (placeholder, file) { + if (this.strategy === 'VALUE') { + this.req.file = file + return + } + + delete placeholder.fieldname + objectAssign(placeholder, file) +} + +module.exports = FileAppender diff --git a/node_backend/node_modules/multer/lib/make-middleware.js b/node_backend/node_modules/multer/lib/make-middleware.js new file mode 100644 index 0000000000000000000000000000000000000000..6627cf4c335f38bb777b868a13047a145a13d81a --- /dev/null +++ b/node_backend/node_modules/multer/lib/make-middleware.js @@ -0,0 +1,173 @@ +var is = require('type-is') +var Busboy = require('busboy') +var extend = require('xtend') +var appendField = require('append-field') + +var Counter = require('./counter') +var MulterError = require('./multer-error') +var FileAppender = require('./file-appender') +var removeUploadedFiles = require('./remove-uploaded-files') + +function makeMiddleware (setup) { + return function multerMiddleware (req, res, next) { + if (!is(req, ['multipart'])) return next() + + var options = setup() + + var limits = options.limits + var storage = options.storage + var fileFilter = options.fileFilter + var fileStrategy = options.fileStrategy + var preservePath = options.preservePath + + req.body = Object.create(null) + + var busboy + + try { + busboy = Busboy({ headers: req.headers, limits: limits, preservePath: preservePath }) + } catch (err) { + return next(err) + } + + var appender = new FileAppender(fileStrategy, req) + var isDone = false + var readFinished = false + var errorOccured = false + var pendingWrites = new Counter() + var uploadedFiles = [] + + function done (err) { + if (isDone) return + isDone = true + req.unpipe(busboy) + busboy.removeAllListeners() + next(err) + } + + function indicateDone () { + if (readFinished && pendingWrites.isZero() && !errorOccured) done() + } + + function abortWithError (uploadError) { + if (errorOccured) return + errorOccured = true + + pendingWrites.onceZero(function () { + function remove (file, cb) { + storage._removeFile(req, file, cb) + } + + removeUploadedFiles(uploadedFiles, remove, function (err, storageErrors) { + if (err) return done(err) + + uploadError.storageErrors = storageErrors + done(uploadError) + }) + }) + } + + function abortWithCode (code, optionalField) { + abortWithError(new MulterError(code, optionalField)) + } + + // handle text field data + busboy.on('field', function (fieldname, value, { nameTruncated, valueTruncated }) { + if (fieldname == null) return abortWithCode('MISSING_FIELD_NAME') + if (nameTruncated) return abortWithCode('LIMIT_FIELD_KEY') + if (valueTruncated) return abortWithCode('LIMIT_FIELD_VALUE', fieldname) + + // Work around bug in Busboy (https://github.com/mscdex/busboy/issues/6) + if (limits && Object.prototype.hasOwnProperty.call(limits, 'fieldNameSize')) { + if (fieldname.length > limits.fieldNameSize) return abortWithCode('LIMIT_FIELD_KEY') + } + + appendField(req.body, fieldname, value) + }) + + // handle files + busboy.on('file', function (fieldname, fileStream, { filename, encoding, mimeType }) { + // don't attach to the files object, if there is no file + if (!filename) return fileStream.resume() + + // Work around bug in Busboy (https://github.com/mscdex/busboy/issues/6) + if (limits && Object.prototype.hasOwnProperty.call(limits, 'fieldNameSize')) { + if (fieldname.length > limits.fieldNameSize) return abortWithCode('LIMIT_FIELD_KEY') + } + + var file = { + fieldname: fieldname, + originalname: filename, + encoding: encoding, + mimetype: mimeType + } + + var placeholder = appender.insertPlaceholder(file) + + fileFilter(req, file, function (err, includeFile) { + if (err) { + appender.removePlaceholder(placeholder) + return abortWithError(err) + } + + if (!includeFile) { + appender.removePlaceholder(placeholder) + return fileStream.resume() + } + + var aborting = false + pendingWrites.increment() + + Object.defineProperty(file, 'stream', { + configurable: true, + enumerable: false, + value: fileStream + }) + + fileStream.on('error', function (err) { + pendingWrites.decrement() + abortWithError(err) + }) + + fileStream.on('limit', function () { + aborting = true + abortWithCode('LIMIT_FILE_SIZE', fieldname) + }) + + storage._handleFile(req, file, function (err, info) { + if (aborting) { + appender.removePlaceholder(placeholder) + uploadedFiles.push(extend(file, info)) + return pendingWrites.decrement() + } + + if (err) { + appender.removePlaceholder(placeholder) + pendingWrites.decrement() + return abortWithError(err) + } + + var fileInfo = extend(file, info) + + appender.replacePlaceholder(placeholder, fileInfo) + uploadedFiles.push(fileInfo) + pendingWrites.decrement() + indicateDone() + }) + }) + }) + + busboy.on('error', function (err) { abortWithError(err) }) + busboy.on('partsLimit', function () { abortWithCode('LIMIT_PART_COUNT') }) + busboy.on('filesLimit', function () { abortWithCode('LIMIT_FILE_COUNT') }) + busboy.on('fieldsLimit', function () { abortWithCode('LIMIT_FIELD_COUNT') }) + busboy.on('close', function () { + readFinished = true + indicateDone() + }) + + req.pipe(busboy) + } +} + +module.exports = makeMiddleware diff --git a/node_backend/node_modules/multer/lib/multer-error.js b/node_backend/node_modules/multer/lib/multer-error.js new file mode 100644 index 0000000000000000000000000000000000000000..d56b00e88cc59deb83a5cfec9d7bea3de29400ed --- /dev/null +++ b/node_backend/node_modules/multer/lib/multer-error.js @@ -0,0 +1,24 @@ +var util = require('util') + +var errorMessages = { + LIMIT_PART_COUNT: 'Too many parts', + LIMIT_FILE_SIZE: 'File too large', + LIMIT_FILE_COUNT: 'Too many files', + LIMIT_FIELD_KEY: 'Field name too long', + LIMIT_FIELD_VALUE: 'Field value too long', + LIMIT_FIELD_COUNT: 'Too many fields', + LIMIT_UNEXPECTED_FILE: 'Unexpected field', + MISSING_FIELD_NAME: 'Field name missing' +} + +function MulterError (code, field) { + Error.captureStackTrace(this, this.constructor) + this.name = this.constructor.name + this.message = errorMessages[code] + this.code = code + if (field) this.field = field +} + +util.inherits(MulterError, Error) + +module.exports = MulterError diff --git a/node_backend/node_modules/multer/lib/remove-uploaded-files.js b/node_backend/node_modules/multer/lib/remove-uploaded-files.js new file mode 100644 index 0000000000000000000000000000000000000000..f0b16ea506ad69bc1b5f5b37f143a20b21f44569 --- /dev/null +++ b/node_backend/node_modules/multer/lib/remove-uploaded-files.js @@ -0,0 +1,28 @@ +function removeUploadedFiles (uploadedFiles, remove, cb) { + var length = uploadedFiles.length + var errors = [] + + if (length === 0) return cb(null, errors) + + function handleFile (idx) { + var file = uploadedFiles[idx] + + remove(file, function (err) { + if (err) { + err.file = file + err.field = file.fieldname + errors.push(err) + } + + if (idx < length - 1) { + handleFile(idx + 1) + } else { + cb(null, errors) + } + }) + } + + handleFile(0) +} + +module.exports = removeUploadedFiles diff --git a/node_backend/node_modules/multer/node_modules/.bin/mkdirp b/node_backend/node_modules/multer/node_modules/.bin/mkdirp new file mode 100644 index 0000000000000000000000000000000000000000..6ba5765a8cd217d8965731b917977e786e4d97b7 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/.bin/mkdirp @@ -0,0 +1,12 @@ +#!/bin/sh +basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')") + +case `uname` in + *CYGWIN*|*MINGW*|*MSYS*) basedir=`cygpath -w "$basedir"`;; +esac + +if [ -x "$basedir/node" ]; then + exec "$basedir/node" "$basedir/../mkdirp/bin/cmd.js" "$@" +else + exec node "$basedir/../mkdirp/bin/cmd.js" "$@" +fi diff --git a/node_backend/node_modules/multer/node_modules/.bin/mkdirp.cmd b/node_backend/node_modules/multer/node_modules/.bin/mkdirp.cmd new file mode 100644 index 0000000000000000000000000000000000000000..a865dd9f3a2ef7c26f9cb350ee12041578808e79 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/.bin/mkdirp.cmd @@ -0,0 +1,17 @@ +@ECHO off +GOTO start +:find_dp0 +SET dp0=%~dp0 +EXIT /b +:start +SETLOCAL +CALL :find_dp0 + +IF EXIST "%dp0%\node.exe" ( + SET "_prog=%dp0%\node.exe" +) ELSE ( + SET "_prog=node" + SET PATHEXT=%PATHEXT:;.JS;=;% +) + +endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\mkdirp\bin\cmd.js" %* diff --git a/node_backend/node_modules/multer/node_modules/.bin/mkdirp.ps1 b/node_backend/node_modules/multer/node_modules/.bin/mkdirp.ps1 new file mode 100644 index 0000000000000000000000000000000000000000..911e85466417449a40e584cce49fa18f1c513c3d --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/.bin/mkdirp.ps1 @@ -0,0 +1,28 @@ +#!/usr/bin/env pwsh +$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent + +$exe="" +if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) { + # Fix case when both the Windows and Linux builds of Node + # are installed in the same directory + $exe=".exe" +} +$ret=0 +if (Test-Path "$basedir/node$exe") { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } else { + & "$basedir/node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } + $ret=$LASTEXITCODE +} else { + # Support pipeline input + if ($MyInvocation.ExpectingInput) { + $input | & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } else { + & "node$exe" "$basedir/../mkdirp/bin/cmd.js" $args + } + $ret=$LASTEXITCODE +} +exit $ret diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/LICENSE b/node_backend/node_modules/multer/node_modules/mkdirp/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..432d1aeb01df666910230893f78e0d1ee7635a61 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/LICENSE @@ -0,0 +1,21 @@ +Copyright 2010 James Halliday (mail@substack.net) + +This project is free software released under the MIT/X11 license: + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/bin/cmd.js b/node_backend/node_modules/multer/node_modules/mkdirp/bin/cmd.js new file mode 100644 index 0000000000000000000000000000000000000000..d95de15ae9743fc3b9e901d6fa6e8e1876c630cf --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/bin/cmd.js @@ -0,0 +1,33 @@ +#!/usr/bin/env node + +var mkdirp = require('../'); +var minimist = require('minimist'); +var fs = require('fs'); + +var argv = minimist(process.argv.slice(2), { + alias: { m: 'mode', h: 'help' }, + string: [ 'mode' ] +}); +if (argv.help) { + fs.createReadStream(__dirname + '/usage.txt').pipe(process.stdout); + return; +} + +var paths = argv._.slice(); +var mode = argv.mode ? parseInt(argv.mode, 8) : undefined; + +(function next () { + if (paths.length === 0) return; + var p = paths.shift(); + + if (mode === undefined) mkdirp(p, cb) + else mkdirp(p, mode, cb) + + function cb (err) { + if (err) { + console.error(err.message); + process.exit(1); + } + else next(); + } +})(); diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/bin/usage.txt b/node_backend/node_modules/multer/node_modules/mkdirp/bin/usage.txt new file mode 100644 index 0000000000000000000000000000000000000000..f952aa2c7a979e7ccb2ef81b7b5010b26b6b9e53 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/bin/usage.txt @@ -0,0 +1,12 @@ +usage: mkdirp [DIR1,DIR2..] {OPTIONS} + + Create each supplied directory including any necessary parent directories that + don't yet exist. + + If the directory already exists, do nothing. + +OPTIONS are: + + -m, --mode If a directory needs to be created, set the mode as an octal + permission string. + diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/index.js b/node_backend/node_modules/multer/node_modules/mkdirp/index.js new file mode 100644 index 0000000000000000000000000000000000000000..0890ac3bd6a8833dad7e8e8926cb69b3a54a2a47 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/index.js @@ -0,0 +1,102 @@ +var path = require('path'); +var fs = require('fs'); +var _0777 = parseInt('0777', 8); + +module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP; + +function mkdirP (p, opts, f, made) { + if (typeof opts === 'function') { + f = opts; + opts = {}; + } + else if (!opts || typeof opts !== 'object') { + opts = { mode: opts }; + } + + var mode = opts.mode; + var xfs = opts.fs || fs; + + if (mode === undefined) { + mode = _0777 + } + if (!made) made = null; + + var cb = f || /* istanbul ignore next */ function () {}; + p = path.resolve(p); + + xfs.mkdir(p, mode, function (er) { + if (!er) { + made = made || p; + return cb(null, made); + } + switch (er.code) { + case 'ENOENT': + /* istanbul ignore if */ + if (path.dirname(p) === p) return cb(er); + mkdirP(path.dirname(p), opts, function (er, made) { + /* istanbul ignore if */ + if (er) cb(er, made); + else mkdirP(p, opts, cb, made); + }); + break; + + // In the case of any other error, just see if there's a dir + // there already. If so, then hooray! If not, then something + // is borked. + default: + xfs.stat(p, function (er2, stat) { + // if the stat fails, then that's super weird. + // let the original error be the failure reason. + if (er2 || !stat.isDirectory()) cb(er, made) + else cb(null, made); + }); + break; + } + }); +} + +mkdirP.sync = function sync (p, opts, made) { + if (!opts || typeof opts !== 'object') { + opts = { mode: opts }; + } + + var mode = opts.mode; + var xfs = opts.fs || fs; + + if (mode === undefined) { + mode = _0777 + } + if (!made) made = null; + + p = path.resolve(p); + + try { + xfs.mkdirSync(p, mode); + made = made || p; + } + catch (err0) { + switch (err0.code) { + case 'ENOENT' : + made = sync(path.dirname(p), opts, made); + sync(p, opts, made); + break; + + // In the case of any other error, just see if there's a dir + // there already. If so, then hooray! If not, then something + // is borked. + default: + var stat; + try { + stat = xfs.statSync(p); + } + catch (err1) /* istanbul ignore next */ { + throw err0; + } + /* istanbul ignore if */ + if (!stat.isDirectory()) throw err0; + break; + } + } + + return made; +}; diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/package.json b/node_backend/node_modules/multer/node_modules/mkdirp/package.json new file mode 100644 index 0000000000000000000000000000000000000000..951e58da975ee9aca80b40e40ae9a3d1047d1b66 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/package.json @@ -0,0 +1,33 @@ +{ + "name": "mkdirp", + "description": "Recursively mkdir, like `mkdir -p`", + "version": "0.5.6", + "publishConfig": { + "tag": "legacy" + }, + "author": "James Halliday (http://substack.net)", + "main": "index.js", + "keywords": [ + "mkdir", + "directory" + ], + "repository": { + "type": "git", + "url": "https://github.com/substack/node-mkdirp.git" + }, + "scripts": { + "test": "tap test/*.js" + }, + "dependencies": { + "minimist": "^1.2.6" + }, + "devDependencies": { + "tap": "^16.0.1" + }, + "bin": "bin/cmd.js", + "license": "MIT", + "files": [ + "bin", + "index.js" + ] +} diff --git a/node_backend/node_modules/multer/node_modules/mkdirp/readme.markdown b/node_backend/node_modules/multer/node_modules/mkdirp/readme.markdown new file mode 100644 index 0000000000000000000000000000000000000000..fc314bfbd662cf9bb8a7290c77765b3f824d5ac8 --- /dev/null +++ b/node_backend/node_modules/multer/node_modules/mkdirp/readme.markdown @@ -0,0 +1,100 @@ +# mkdirp + +Like `mkdir -p`, but in node.js! + +[![build status](https://secure.travis-ci.org/substack/node-mkdirp.png)](http://travis-ci.org/substack/node-mkdirp) + +# example + +## pow.js + +```js +var mkdirp = require('mkdirp'); + +mkdirp('/tmp/foo/bar/baz', function (err) { + if (err) console.error(err) + else console.log('pow!') +}); +``` + +Output + +``` +pow! +``` + +And now /tmp/foo/bar/baz exists, huzzah! + +# methods + +```js +var mkdirp = require('mkdirp'); +``` + +## mkdirp(dir, opts, cb) + +Create a new directory and any necessary subdirectories at `dir` with octal +permission string `opts.mode`. If `opts` is a non-object, it will be treated as +the `opts.mode`. + +If `opts.mode` isn't specified, it defaults to `0777`. + +`cb(err, made)` fires with the error or the first directory `made` +that had to be created, if any. + +You can optionally pass in an alternate `fs` implementation by passing in +`opts.fs`. Your implementation should have `opts.fs.mkdir(path, mode, cb)` and +`opts.fs.stat(path, cb)`. + +## mkdirp.sync(dir, opts) + +Synchronously create a new directory and any necessary subdirectories at `dir` +with octal permission string `opts.mode`. If `opts` is a non-object, it will be +treated as the `opts.mode`. + +If `opts.mode` isn't specified, it defaults to `0777`. + +Returns the first directory that had to be created, if any. + +You can optionally pass in an alternate `fs` implementation by passing in +`opts.fs`. Your implementation should have `opts.fs.mkdirSync(path, mode)` and +`opts.fs.statSync(path)`. + +# usage + +This package also ships with a `mkdirp` command. + +``` +usage: mkdirp [DIR1,DIR2..] {OPTIONS} + + Create each supplied directory including any necessary parent directories that + don't yet exist. + + If the directory already exists, do nothing. + +OPTIONS are: + + -m, --mode If a directory needs to be created, set the mode as an octal + permission string. + +``` + +# install + +With [npm](http://npmjs.org) do: + +``` +npm install mkdirp +``` + +to get the library, or + +``` +npm install -g mkdirp +``` + +to get the command. + +# license + +MIT diff --git a/node_backend/node_modules/multer/package.json b/node_backend/node_modules/multer/package.json new file mode 100644 index 0000000000000000000000000000000000000000..8545a73d304da06d58bde7243faba96b8d71224e --- /dev/null +++ b/node_backend/node_modules/multer/package.json @@ -0,0 +1,52 @@ +{ + "name": "multer", + "description": "Middleware for handling `multipart/form-data`.", + "version": "1.4.5-lts.1", + "contributors": [ + "Hage Yaapa (http://www.hacksparrow.com)", + "Jaret Pfluger ", + "Linus Unnebäck " + ], + "license": "MIT", + "repository": "expressjs/multer", + "keywords": [ + "form", + "post", + "multipart", + "form-data", + "formdata", + "express", + "middleware" + ], + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "devDependencies": { + "deep-equal": "^2.0.3", + "express": "^4.13.1", + "form-data": "^1.0.0-rc1", + "fs-temp": "^1.1.2", + "mocha": "^3.5.3", + "rimraf": "^2.4.1", + "standard": "^14.3.3", + "testdata-w3c-json-form": "^1.0.0" + }, + "engines": { + "node": ">= 6.0.0" + }, + "files": [ + "LICENSE", + "index.js", + "storage/", + "lib/" + ], + "scripts": { + "test": "standard && mocha" + } +} diff --git a/node_backend/node_modules/multer/storage/disk.js b/node_backend/node_modules/multer/storage/disk.js new file mode 100644 index 0000000000000000000000000000000000000000..2f77c9f133c9fd21662fd07e9ef546dae19bc53c --- /dev/null +++ b/node_backend/node_modules/multer/storage/disk.js @@ -0,0 +1,66 @@ +var fs = require('fs') +var os = require('os') +var path = require('path') +var crypto = require('crypto') +var mkdirp = require('mkdirp') + +function getFilename (req, file, cb) { + crypto.randomBytes(16, function (err, raw) { + cb(err, err ? undefined : raw.toString('hex')) + }) +} + +function getDestination (req, file, cb) { + cb(null, os.tmpdir()) +} + +function DiskStorage (opts) { + this.getFilename = (opts.filename || getFilename) + + if (typeof opts.destination === 'string') { + mkdirp.sync(opts.destination) + this.getDestination = function ($0, $1, cb) { cb(null, opts.destination) } + } else { + this.getDestination = (opts.destination || getDestination) + } +} + +DiskStorage.prototype._handleFile = function _handleFile (req, file, cb) { + var that = this + + that.getDestination(req, file, function (err, destination) { + if (err) return cb(err) + + that.getFilename(req, file, function (err, filename) { + if (err) return cb(err) + + var finalPath = path.join(destination, filename) + var outStream = fs.createWriteStream(finalPath) + + file.stream.pipe(outStream) + outStream.on('error', cb) + outStream.on('finish', function () { + cb(null, { + destination: destination, + filename: filename, + path: finalPath, + size: outStream.bytesWritten + }) + }) + }) + }) +} + +DiskStorage.prototype._removeFile = function _removeFile (req, file, cb) { + var path = file.path + + delete file.destination + delete file.filename + delete file.path + + fs.unlink(path, cb) +} + +module.exports = function (opts) { + return new DiskStorage(opts) +} diff --git a/node_backend/node_modules/multer/storage/memory.js b/node_backend/node_modules/multer/storage/memory.js new file mode 100644 index 0000000000000000000000000000000000000000..f953ded15a2baf5cf59d3c2a716a8d5576db086c --- /dev/null +++ b/node_backend/node_modules/multer/storage/memory.js @@ -0,0 +1,21 @@ +var concat = require('concat-stream') + +function MemoryStorage (opts) {} + +MemoryStorage.prototype._handleFile = function _handleFile (req, file, cb) { + file.stream.pipe(concat({ encoding: 'buffer' }, function (data) { + cb(null, { + buffer: data, + size: data.length + }) + })) +} + +MemoryStorage.prototype._removeFile = function _removeFile (req, file, cb) { + delete file.buffer + cb(null) +} + +module.exports = function (opts) { + return new MemoryStorage(opts) +} diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/HISTORY.md b/node_backend/node_modules/negotiator/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/HISTORY.md rename to node_backend/node_modules/negotiator/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/LICENSE b/node_backend/node_modules/negotiator/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/LICENSE rename to node_backend/node_modules/negotiator/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/README.md b/node_backend/node_modules/negotiator/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/README.md rename to node_backend/node_modules/negotiator/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/index.js b/node_backend/node_modules/negotiator/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/index.js rename to node_backend/node_modules/negotiator/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/charset.js b/node_backend/node_modules/negotiator/lib/charset.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/charset.js rename to node_backend/node_modules/negotiator/lib/charset.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/encoding.js b/node_backend/node_modules/negotiator/lib/encoding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/encoding.js rename to node_backend/node_modules/negotiator/lib/encoding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/language.js b/node_backend/node_modules/negotiator/lib/language.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/language.js rename to node_backend/node_modules/negotiator/lib/language.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/mediaType.js b/node_backend/node_modules/negotiator/lib/mediaType.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/lib/mediaType.js rename to node_backend/node_modules/negotiator/lib/mediaType.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/negotiator/package.json b/node_backend/node_modules/negotiator/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/negotiator/package.json rename to node_backend/node_modules/negotiator/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/LICENSE.md b/node_backend/node_modules/node-addon-api/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/LICENSE.md rename to node_backend/node_modules/node-addon-api/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/README.md b/node_backend/node_modules/node-addon-api/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/README.md rename to node_backend/node_modules/node-addon-api/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/common.gypi b/node_backend/node_modules/node-addon-api/common.gypi similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/common.gypi rename to node_backend/node_modules/node-addon-api/common.gypi diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/except.gypi b/node_backend/node_modules/node-addon-api/except.gypi similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/except.gypi rename to node_backend/node_modules/node-addon-api/except.gypi diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/index.js b/node_backend/node_modules/node-addon-api/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/index.js rename to node_backend/node_modules/node-addon-api/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi-inl.deprecated.h b/node_backend/node_modules/node-addon-api/napi-inl.deprecated.h similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi-inl.deprecated.h rename to node_backend/node_modules/node-addon-api/napi-inl.deprecated.h diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi-inl.h b/node_backend/node_modules/node-addon-api/napi-inl.h similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi-inl.h rename to node_backend/node_modules/node-addon-api/napi-inl.h diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi.h b/node_backend/node_modules/node-addon-api/napi.h similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/napi.h rename to node_backend/node_modules/node-addon-api/napi.h diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/node_api.gyp b/node_backend/node_modules/node-addon-api/node_api.gyp similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/node_api.gyp rename to node_backend/node_modules/node-addon-api/node_api.gyp diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/noexcept.gypi b/node_backend/node_modules/node-addon-api/noexcept.gypi similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/noexcept.gypi rename to node_backend/node_modules/node-addon-api/noexcept.gypi diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/nothing.c b/node_backend/node_modules/node-addon-api/nothing.c similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/nothing.c rename to node_backend/node_modules/node-addon-api/nothing.c diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/package-support.json b/node_backend/node_modules/node-addon-api/package-support.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/package-support.json rename to node_backend/node_modules/node-addon-api/package-support.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/package.json b/node_backend/node_modules/node-addon-api/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/package.json rename to node_backend/node_modules/node-addon-api/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/README.md b/node_backend/node_modules/node-addon-api/tools/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/README.md rename to node_backend/node_modules/node-addon-api/tools/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/check-napi.js b/node_backend/node_modules/node-addon-api/tools/check-napi.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/check-napi.js rename to node_backend/node_modules/node-addon-api/tools/check-napi.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/clang-format.js b/node_backend/node_modules/node-addon-api/tools/clang-format.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/clang-format.js rename to node_backend/node_modules/node-addon-api/tools/clang-format.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/conversion.js b/node_backend/node_modules/node-addon-api/tools/conversion.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/conversion.js rename to node_backend/node_modules/node-addon-api/tools/conversion.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/eslint-format.js b/node_backend/node_modules/node-addon-api/tools/eslint-format.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-addon-api/tools/eslint-format.js rename to node_backend/node_modules/node-addon-api/tools/eslint-format.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/LICENSE.md b/node_backend/node_modules/node-fetch/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/LICENSE.md rename to node_backend/node_modules/node-fetch/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/README.md b/node_backend/node_modules/node-fetch/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/README.md rename to node_backend/node_modules/node-fetch/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/browser.js b/node_backend/node_modules/node-fetch/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/browser.js rename to node_backend/node_modules/node-fetch/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.es.js b/node_backend/node_modules/node-fetch/lib/index.es.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.es.js rename to node_backend/node_modules/node-fetch/lib/index.es.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.js b/node_backend/node_modules/node-fetch/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.js rename to node_backend/node_modules/node-fetch/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.mjs b/node_backend/node_modules/node-fetch/lib/index.mjs similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/lib/index.mjs rename to node_backend/node_modules/node-fetch/lib/index.mjs diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/.npmignore b/node_backend/node_modules/node-fetch/node_modules/tr46/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/.npmignore rename to node_backend/node_modules/node-fetch/node_modules/tr46/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/index.js b/node_backend/node_modules/node-fetch/node_modules/tr46/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/index.js rename to node_backend/node_modules/node-fetch/node_modules/tr46/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/lib/.gitkeep b/node_backend/node_modules/node-fetch/node_modules/tr46/lib/.gitkeep similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/lib/.gitkeep rename to node_backend/node_modules/node-fetch/node_modules/tr46/lib/.gitkeep diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json b/node_backend/node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json rename to node_backend/node_modules/node-fetch/node_modules/tr46/lib/mappingTable.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/package.json b/node_backend/node_modules/node-fetch/node_modules/tr46/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/tr46/package.json rename to node_backend/node_modules/node-fetch/node_modules/tr46/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md b/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md rename to node_backend/node_modules/node-fetch/node_modules/webidl-conversions/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/README.md b/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/README.md rename to node_backend/node_modules/node-fetch/node_modules/webidl-conversions/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js b/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js rename to node_backend/node_modules/node-fetch/node_modules/webidl-conversions/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/package.json b/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/webidl-conversions/package.json rename to node_backend/node_modules/node-fetch/node_modules/webidl-conversions/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/README.md b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/README.md rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL-impl.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/URL.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/public-api.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/url-state-machine.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/package.json b/node_backend/node_modules/node-fetch/node_modules/whatwg-url/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/node_modules/whatwg-url/package.json rename to node_backend/node_modules/node-fetch/node_modules/whatwg-url/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/node-fetch/package.json b/node_backend/node_modules/node-fetch/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/node-fetch/package.json rename to node_backend/node_modules/node-fetch/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/CHANGELOG.md b/node_backend/node_modules/nopt/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/CHANGELOG.md rename to node_backend/node_modules/nopt/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/LICENSE b/node_backend/node_modules/nopt/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/LICENSE rename to node_backend/node_modules/nopt/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/README.md b/node_backend/node_modules/nopt/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/README.md rename to node_backend/node_modules/nopt/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/bin/nopt.js b/node_backend/node_modules/nopt/bin/nopt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/bin/nopt.js rename to node_backend/node_modules/nopt/bin/nopt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/lib/nopt.js b/node_backend/node_modules/nopt/lib/nopt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/lib/nopt.js rename to node_backend/node_modules/nopt/lib/nopt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/nopt/package.json b/node_backend/node_modules/nopt/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/nopt/package.json rename to node_backend/node_modules/nopt/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/npmlog/LICENSE b/node_backend/node_modules/npmlog/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/npmlog/LICENSE rename to node_backend/node_modules/npmlog/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/npmlog/README.md b/node_backend/node_modules/npmlog/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/npmlog/README.md rename to node_backend/node_modules/npmlog/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/npmlog/log.js b/node_backend/node_modules/npmlog/log.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/npmlog/log.js rename to node_backend/node_modules/npmlog/log.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/npmlog/package.json b/node_backend/node_modules/npmlog/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/npmlog/package.json rename to node_backend/node_modules/npmlog/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-assign/index.js b/node_backend/node_modules/object-assign/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-assign/index.js rename to node_backend/node_modules/object-assign/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-assign/license b/node_backend/node_modules/object-assign/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-assign/license rename to node_backend/node_modules/object-assign/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-assign/package.json b/node_backend/node_modules/object-assign/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-assign/package.json rename to node_backend/node_modules/object-assign/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-assign/readme.md b/node_backend/node_modules/object-assign/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-assign/readme.md rename to node_backend/node_modules/object-assign/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/.eslintrc b/node_backend/node_modules/object-inspect/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/.eslintrc rename to node_backend/node_modules/object-inspect/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/.github/FUNDING.yml b/node_backend/node_modules/object-inspect/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/.github/FUNDING.yml rename to node_backend/node_modules/object-inspect/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/.nycrc b/node_backend/node_modules/object-inspect/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/.nycrc rename to node_backend/node_modules/object-inspect/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/CHANGELOG.md b/node_backend/node_modules/object-inspect/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/CHANGELOG.md rename to node_backend/node_modules/object-inspect/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/LICENSE b/node_backend/node_modules/object-inspect/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/LICENSE rename to node_backend/node_modules/object-inspect/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/all.js b/node_backend/node_modules/object-inspect/example/all.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/all.js rename to node_backend/node_modules/object-inspect/example/all.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/circular.js b/node_backend/node_modules/object-inspect/example/circular.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/circular.js rename to node_backend/node_modules/object-inspect/example/circular.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/fn.js b/node_backend/node_modules/object-inspect/example/fn.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/fn.js rename to node_backend/node_modules/object-inspect/example/fn.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/inspect.js b/node_backend/node_modules/object-inspect/example/inspect.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/example/inspect.js rename to node_backend/node_modules/object-inspect/example/inspect.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/index.js b/node_backend/node_modules/object-inspect/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/index.js rename to node_backend/node_modules/object-inspect/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/package-support.json b/node_backend/node_modules/object-inspect/package-support.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/package-support.json rename to node_backend/node_modules/object-inspect/package-support.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/package.json b/node_backend/node_modules/object-inspect/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/package.json rename to node_backend/node_modules/object-inspect/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/readme.markdown b/node_backend/node_modules/object-inspect/readme.markdown similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/readme.markdown rename to node_backend/node_modules/object-inspect/readme.markdown diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test-core-js.js b/node_backend/node_modules/object-inspect/test-core-js.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test-core-js.js rename to node_backend/node_modules/object-inspect/test-core-js.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/bigint.js b/node_backend/node_modules/object-inspect/test/bigint.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/bigint.js rename to node_backend/node_modules/object-inspect/test/bigint.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/browser/dom.js b/node_backend/node_modules/object-inspect/test/browser/dom.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/browser/dom.js rename to node_backend/node_modules/object-inspect/test/browser/dom.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/circular.js b/node_backend/node_modules/object-inspect/test/circular.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/circular.js rename to node_backend/node_modules/object-inspect/test/circular.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/deep.js b/node_backend/node_modules/object-inspect/test/deep.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/deep.js rename to node_backend/node_modules/object-inspect/test/deep.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/element.js b/node_backend/node_modules/object-inspect/test/element.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/element.js rename to node_backend/node_modules/object-inspect/test/element.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/err.js b/node_backend/node_modules/object-inspect/test/err.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/err.js rename to node_backend/node_modules/object-inspect/test/err.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/fakes.js b/node_backend/node_modules/object-inspect/test/fakes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/fakes.js rename to node_backend/node_modules/object-inspect/test/fakes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/fn.js b/node_backend/node_modules/object-inspect/test/fn.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/fn.js rename to node_backend/node_modules/object-inspect/test/fn.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/global.js b/node_backend/node_modules/object-inspect/test/global.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/global.js rename to node_backend/node_modules/object-inspect/test/global.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/has.js b/node_backend/node_modules/object-inspect/test/has.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/has.js rename to node_backend/node_modules/object-inspect/test/has.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/holes.js b/node_backend/node_modules/object-inspect/test/holes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/holes.js rename to node_backend/node_modules/object-inspect/test/holes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/indent-option.js b/node_backend/node_modules/object-inspect/test/indent-option.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/indent-option.js rename to node_backend/node_modules/object-inspect/test/indent-option.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/inspect.js b/node_backend/node_modules/object-inspect/test/inspect.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/inspect.js rename to node_backend/node_modules/object-inspect/test/inspect.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/lowbyte.js b/node_backend/node_modules/object-inspect/test/lowbyte.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/lowbyte.js rename to node_backend/node_modules/object-inspect/test/lowbyte.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/number.js b/node_backend/node_modules/object-inspect/test/number.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/number.js rename to node_backend/node_modules/object-inspect/test/number.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/quoteStyle.js b/node_backend/node_modules/object-inspect/test/quoteStyle.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/quoteStyle.js rename to node_backend/node_modules/object-inspect/test/quoteStyle.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/toStringTag.js b/node_backend/node_modules/object-inspect/test/toStringTag.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/toStringTag.js rename to node_backend/node_modules/object-inspect/test/toStringTag.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/undef.js b/node_backend/node_modules/object-inspect/test/undef.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/undef.js rename to node_backend/node_modules/object-inspect/test/undef.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/values.js b/node_backend/node_modules/object-inspect/test/values.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/test/values.js rename to node_backend/node_modules/object-inspect/test/values.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/object-inspect/util.inspect.js b/node_backend/node_modules/object-inspect/util.inspect.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/object-inspect/util.inspect.js rename to node_backend/node_modules/object-inspect/util.inspect.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/on-finished/HISTORY.md b/node_backend/node_modules/on-finished/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/on-finished/HISTORY.md rename to node_backend/node_modules/on-finished/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/on-finished/LICENSE b/node_backend/node_modules/on-finished/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/on-finished/LICENSE rename to node_backend/node_modules/on-finished/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/on-finished/README.md b/node_backend/node_modules/on-finished/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/on-finished/README.md rename to node_backend/node_modules/on-finished/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/on-finished/index.js b/node_backend/node_modules/on-finished/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/on-finished/index.js rename to node_backend/node_modules/on-finished/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/on-finished/package.json b/node_backend/node_modules/on-finished/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/on-finished/package.json rename to node_backend/node_modules/on-finished/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/once/LICENSE b/node_backend/node_modules/once/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/once/LICENSE rename to node_backend/node_modules/once/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/once/README.md b/node_backend/node_modules/once/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/once/README.md rename to node_backend/node_modules/once/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/once/once.js b/node_backend/node_modules/once/once.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/once/once.js rename to node_backend/node_modules/once/once.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/once/package.json b/node_backend/node_modules/once/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/once/package.json rename to node_backend/node_modules/once/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/parseurl/HISTORY.md b/node_backend/node_modules/parseurl/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/parseurl/HISTORY.md rename to node_backend/node_modules/parseurl/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/parseurl/LICENSE b/node_backend/node_modules/parseurl/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/parseurl/LICENSE rename to node_backend/node_modules/parseurl/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/parseurl/README.md b/node_backend/node_modules/parseurl/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/parseurl/README.md rename to node_backend/node_modules/parseurl/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/parseurl/index.js b/node_backend/node_modules/parseurl/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/parseurl/index.js rename to node_backend/node_modules/parseurl/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/parseurl/package.json b/node_backend/node_modules/parseurl/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/parseurl/package.json rename to node_backend/node_modules/parseurl/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/index.js b/node_backend/node_modules/path-is-absolute/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/index.js rename to node_backend/node_modules/path-is-absolute/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/license b/node_backend/node_modules/path-is-absolute/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/license rename to node_backend/node_modules/path-is-absolute/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/package.json b/node_backend/node_modules/path-is-absolute/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/package.json rename to node_backend/node_modules/path-is-absolute/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/readme.md b/node_backend/node_modules/path-is-absolute/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-is-absolute/readme.md rename to node_backend/node_modules/path-is-absolute/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/LICENSE b/node_backend/node_modules/path-to-regexp/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/LICENSE rename to node_backend/node_modules/path-to-regexp/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/Readme.md b/node_backend/node_modules/path-to-regexp/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/Readme.md rename to node_backend/node_modules/path-to-regexp/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/index.js b/node_backend/node_modules/path-to-regexp/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/index.js rename to node_backend/node_modules/path-to-regexp/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/package.json b/node_backend/node_modules/path-to-regexp/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/path-to-regexp/package.json rename to node_backend/node_modules/path-to-regexp/package.json diff --git a/node_backend/node_modules/process-nextick-args/index.js b/node_backend/node_modules/process-nextick-args/index.js new file mode 100644 index 0000000000000000000000000000000000000000..3eecf11488531cd40aed422f0a68bdf0e6a8611a --- /dev/null +++ b/node_backend/node_modules/process-nextick-args/index.js @@ -0,0 +1,45 @@ +'use strict'; + +if (typeof process === 'undefined' || + !process.version || + process.version.indexOf('v0.') === 0 || + process.version.indexOf('v1.') === 0 && process.version.indexOf('v1.8.') !== 0) { + module.exports = { nextTick: nextTick }; +} else { + module.exports = process +} + +function nextTick(fn, arg1, arg2, arg3) { + if (typeof fn !== 'function') { + throw new TypeError('"callback" argument must be a function'); + } + var len = arguments.length; + var args, i; + switch (len) { + case 0: + case 1: + return process.nextTick(fn); + case 2: + return process.nextTick(function afterTickOne() { + fn.call(null, arg1); + }); + case 3: + return process.nextTick(function afterTickTwo() { + fn.call(null, arg1, arg2); + }); + case 4: + return process.nextTick(function afterTickThree() { + fn.call(null, arg1, arg2, arg3); + }); + default: + args = new Array(len - 1); + i = 0; + while (i < args.length) { + args[i++] = arguments[i]; + } + return process.nextTick(function afterTick() { + fn.apply(null, args); + }); + } +} + diff --git a/node_backend/node_modules/process-nextick-args/license.md b/node_backend/node_modules/process-nextick-args/license.md new file mode 100644 index 0000000000000000000000000000000000000000..c67e3532b542455fad8c4004ef297534d7f480b2 --- /dev/null +++ b/node_backend/node_modules/process-nextick-args/license.md @@ -0,0 +1,19 @@ +# Copyright (c) 2015 Calvin Metcalf + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +**THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE.** diff --git a/node_backend/node_modules/process-nextick-args/package.json b/node_backend/node_modules/process-nextick-args/package.json new file mode 100644 index 0000000000000000000000000000000000000000..6070b723fcd3476052a28040412e61d7df2511f4 --- /dev/null +++ b/node_backend/node_modules/process-nextick-args/package.json @@ -0,0 +1,25 @@ +{ + "name": "process-nextick-args", + "version": "2.0.1", + "description": "process.nextTick but always with args", + "main": "index.js", + "files": [ + "index.js" + ], + "scripts": { + "test": "node test.js" + }, + "repository": { + "type": "git", + "url": "https://github.com/calvinmetcalf/process-nextick-args.git" + }, + "author": "", + "license": "MIT", + "bugs": { + "url": "https://github.com/calvinmetcalf/process-nextick-args/issues" + }, + "homepage": "https://github.com/calvinmetcalf/process-nextick-args", + "devDependencies": { + "tap": "~0.2.6" + } +} diff --git a/node_backend/node_modules/process-nextick-args/readme.md b/node_backend/node_modules/process-nextick-args/readme.md new file mode 100644 index 0000000000000000000000000000000000000000..ecb432c9b21ffd44bded842812586d3dab132c69 --- /dev/null +++ b/node_backend/node_modules/process-nextick-args/readme.md @@ -0,0 +1,18 @@ +process-nextick-args +===== + +[![Build Status](https://travis-ci.org/calvinmetcalf/process-nextick-args.svg?branch=master)](https://travis-ci.org/calvinmetcalf/process-nextick-args) + +```bash +npm install --save process-nextick-args +``` + +Always be able to pass arguments to process.nextTick, no matter the platform + +```js +var pna = require('process-nextick-args'); + +pna.nextTick(function (a, b, c) { + console.log(a, b, c); +}, 'step', 3, 'profit'); +``` diff --git a/Inscripciones_UAIE/node_backend/node_modules/proxy-addr/HISTORY.md b/node_backend/node_modules/proxy-addr/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/proxy-addr/HISTORY.md rename to node_backend/node_modules/proxy-addr/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/proxy-addr/LICENSE b/node_backend/node_modules/proxy-addr/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/proxy-addr/LICENSE rename to node_backend/node_modules/proxy-addr/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/proxy-addr/README.md b/node_backend/node_modules/proxy-addr/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/proxy-addr/README.md rename to node_backend/node_modules/proxy-addr/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/proxy-addr/index.js b/node_backend/node_modules/proxy-addr/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/proxy-addr/index.js rename to node_backend/node_modules/proxy-addr/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/proxy-addr/package.json b/node_backend/node_modules/proxy-addr/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/proxy-addr/package.json rename to node_backend/node_modules/proxy-addr/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/punycode/LICENSE-MIT.txt b/node_backend/node_modules/punycode/LICENSE-MIT.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/punycode/LICENSE-MIT.txt rename to node_backend/node_modules/punycode/LICENSE-MIT.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/punycode/README.md b/node_backend/node_modules/punycode/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/punycode/README.md rename to node_backend/node_modules/punycode/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/punycode/package.json b/node_backend/node_modules/punycode/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/punycode/package.json rename to node_backend/node_modules/punycode/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/punycode/punycode.es6.js b/node_backend/node_modules/punycode/punycode.es6.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/punycode/punycode.es6.js rename to node_backend/node_modules/punycode/punycode.es6.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/punycode/punycode.js b/node_backend/node_modules/punycode/punycode.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/punycode/punycode.js rename to node_backend/node_modules/punycode/punycode.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/.editorconfig b/node_backend/node_modules/qs/.editorconfig similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/.editorconfig rename to node_backend/node_modules/qs/.editorconfig diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/.eslintrc b/node_backend/node_modules/qs/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/.eslintrc rename to node_backend/node_modules/qs/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/.github/FUNDING.yml b/node_backend/node_modules/qs/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/.github/FUNDING.yml rename to node_backend/node_modules/qs/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/.nycrc b/node_backend/node_modules/qs/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/.nycrc rename to node_backend/node_modules/qs/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/CHANGELOG.md b/node_backend/node_modules/qs/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/CHANGELOG.md rename to node_backend/node_modules/qs/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/LICENSE.md b/node_backend/node_modules/qs/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/LICENSE.md rename to node_backend/node_modules/qs/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/README.md b/node_backend/node_modules/qs/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/README.md rename to node_backend/node_modules/qs/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/dist/qs.js b/node_backend/node_modules/qs/dist/qs.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/dist/qs.js rename to node_backend/node_modules/qs/dist/qs.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/lib/formats.js b/node_backend/node_modules/qs/lib/formats.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/lib/formats.js rename to node_backend/node_modules/qs/lib/formats.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/lib/index.js b/node_backend/node_modules/qs/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/lib/index.js rename to node_backend/node_modules/qs/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/lib/parse.js b/node_backend/node_modules/qs/lib/parse.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/lib/parse.js rename to node_backend/node_modules/qs/lib/parse.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/lib/stringify.js b/node_backend/node_modules/qs/lib/stringify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/lib/stringify.js rename to node_backend/node_modules/qs/lib/stringify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/lib/utils.js b/node_backend/node_modules/qs/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/lib/utils.js rename to node_backend/node_modules/qs/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/package.json b/node_backend/node_modules/qs/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/package.json rename to node_backend/node_modules/qs/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/test/empty-keys-cases.js b/node_backend/node_modules/qs/test/empty-keys-cases.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/test/empty-keys-cases.js rename to node_backend/node_modules/qs/test/empty-keys-cases.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/test/parse.js b/node_backend/node_modules/qs/test/parse.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/test/parse.js rename to node_backend/node_modules/qs/test/parse.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/test/stringify.js b/node_backend/node_modules/qs/test/stringify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/test/stringify.js rename to node_backend/node_modules/qs/test/stringify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/qs/test/utils.js b/node_backend/node_modules/qs/test/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/qs/test/utils.js rename to node_backend/node_modules/qs/test/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/range-parser/HISTORY.md b/node_backend/node_modules/range-parser/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/range-parser/HISTORY.md rename to node_backend/node_modules/range-parser/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/range-parser/LICENSE b/node_backend/node_modules/range-parser/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/range-parser/LICENSE rename to node_backend/node_modules/range-parser/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/range-parser/README.md b/node_backend/node_modules/range-parser/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/range-parser/README.md rename to node_backend/node_modules/range-parser/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/range-parser/index.js b/node_backend/node_modules/range-parser/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/range-parser/index.js rename to node_backend/node_modules/range-parser/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/range-parser/package.json b/node_backend/node_modules/range-parser/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/range-parser/package.json rename to node_backend/node_modules/range-parser/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/HISTORY.md b/node_backend/node_modules/raw-body/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/HISTORY.md rename to node_backend/node_modules/raw-body/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/LICENSE b/node_backend/node_modules/raw-body/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/LICENSE rename to node_backend/node_modules/raw-body/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/README.md b/node_backend/node_modules/raw-body/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/README.md rename to node_backend/node_modules/raw-body/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/SECURITY.md b/node_backend/node_modules/raw-body/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/SECURITY.md rename to node_backend/node_modules/raw-body/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/index.d.ts b/node_backend/node_modules/raw-body/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/index.d.ts rename to node_backend/node_modules/raw-body/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/index.js b/node_backend/node_modules/raw-body/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/index.js rename to node_backend/node_modules/raw-body/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/raw-body/package.json b/node_backend/node_modules/raw-body/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/raw-body/package.json rename to node_backend/node_modules/raw-body/package.json diff --git a/node_backend/node_modules/readable-stream/CONTRIBUTING.md b/node_backend/node_modules/readable-stream/CONTRIBUTING.md new file mode 100644 index 0000000000000000000000000000000000000000..f478d58dca85b2c396e2da8a2251be0071c4e9e0 --- /dev/null +++ b/node_backend/node_modules/readable-stream/CONTRIBUTING.md @@ -0,0 +1,38 @@ +# Developer's Certificate of Origin 1.1 + +By making a contribution to this project, I certify that: + +* (a) The contribution was created in whole or in part by me and I + have the right to submit it under the open source license + indicated in the file; or + +* (b) The contribution is based upon previous work that, to the best + of my knowledge, is covered under an appropriate open source + license and I have the right under that license to submit that + work with modifications, whether created in whole or in part + by me, under the same open source license (unless I am + permitted to submit under a different license), as indicated + in the file; or + +* (c) The contribution was provided directly to me by some other + person who certified (a), (b) or (c) and I have not modified + it. + +* (d) I understand and agree that this project and the contribution + are public and that a record of the contribution (including all + personal information I submit with it, including my sign-off) is + maintained indefinitely and may be redistributed consistent with + this project or the open source license(s) involved. + +## Moderation Policy + +The [Node.js Moderation Policy] applies to this WG. + +## Code of Conduct + +The [Node.js Code of Conduct][] applies to this WG. + +[Node.js Code of Conduct]: +https://github.com/nodejs/node/blob/master/CODE_OF_CONDUCT.md +[Node.js Moderation Policy]: +https://github.com/nodejs/TSC/blob/master/Moderation-Policy.md diff --git a/node_backend/node_modules/readable-stream/GOVERNANCE.md b/node_backend/node_modules/readable-stream/GOVERNANCE.md new file mode 100644 index 0000000000000000000000000000000000000000..16ffb93f24bece9519cc4a220a0c1d3c91481453 --- /dev/null +++ b/node_backend/node_modules/readable-stream/GOVERNANCE.md @@ -0,0 +1,136 @@ +### Streams Working Group + +The Node.js Streams is jointly governed by a Working Group +(WG) +that is responsible for high-level guidance of the project. + +The WG has final authority over this project including: + +* Technical direction +* Project governance and process (including this policy) +* Contribution policy +* GitHub repository hosting +* Conduct guidelines +* Maintaining the list of additional Collaborators + +For the current list of WG members, see the project +[README.md](./README.md#current-project-team-members). + +### Collaborators + +The readable-stream GitHub repository is +maintained by the WG and additional Collaborators who are added by the +WG on an ongoing basis. + +Individuals making significant and valuable contributions are made +Collaborators and given commit-access to the project. These +individuals are identified by the WG and their addition as +Collaborators is discussed during the WG meeting. + +_Note:_ If you make a significant contribution and are not considered +for commit-access log an issue or contact a WG member directly and it +will be brought up in the next WG meeting. + +Modifications of the contents of the readable-stream repository are +made on +a collaborative basis. Anybody with a GitHub account may propose a +modification via pull request and it will be considered by the project +Collaborators. All pull requests must be reviewed and accepted by a +Collaborator with sufficient expertise who is able to take full +responsibility for the change. In the case of pull requests proposed +by an existing Collaborator, an additional Collaborator is required +for sign-off. Consensus should be sought if additional Collaborators +participate and there is disagreement around a particular +modification. See _Consensus Seeking Process_ below for further detail +on the consensus model used for governance. + +Collaborators may opt to elevate significant or controversial +modifications, or modifications that have not found consensus to the +WG for discussion by assigning the ***WG-agenda*** tag to a pull +request or issue. The WG should serve as the final arbiter where +required. + +For the current list of Collaborators, see the project +[README.md](./README.md#members). + +### WG Membership + +WG seats are not time-limited. There is no fixed size of the WG. +However, the expected target is between 6 and 12, to ensure adequate +coverage of important areas of expertise, balanced with the ability to +make decisions efficiently. + +There is no specific set of requirements or qualifications for WG +membership beyond these rules. + +The WG may add additional members to the WG by unanimous consensus. + +A WG member may be removed from the WG by voluntary resignation, or by +unanimous consensus of all other WG members. + +Changes to WG membership should be posted in the agenda, and may be +suggested as any other agenda item (see "WG Meetings" below). + +If an addition or removal is proposed during a meeting, and the full +WG is not in attendance to participate, then the addition or removal +is added to the agenda for the subsequent meeting. This is to ensure +that all members are given the opportunity to participate in all +membership decisions. If a WG member is unable to attend a meeting +where a planned membership decision is being made, then their consent +is assumed. + +No more than 1/3 of the WG members may be affiliated with the same +employer. If removal or resignation of a WG member, or a change of +employment by a WG member, creates a situation where more than 1/3 of +the WG membership shares an employer, then the situation must be +immediately remedied by the resignation or removal of one or more WG +members affiliated with the over-represented employer(s). + +### WG Meetings + +The WG meets occasionally on a Google Hangout On Air. A designated moderator +approved by the WG runs the meeting. Each meeting should be +published to YouTube. + +Items are added to the WG agenda that are considered contentious or +are modifications of governance, contribution policy, WG membership, +or release process. + +The intention of the agenda is not to approve or review all patches; +that should happen continuously on GitHub and be handled by the larger +group of Collaborators. + +Any community member or contributor can ask that something be added to +the next meeting's agenda by logging a GitHub Issue. Any Collaborator, +WG member or the moderator can add the item to the agenda by adding +the ***WG-agenda*** tag to the issue. + +Prior to each WG meeting the moderator will share the Agenda with +members of the WG. WG members can add any items they like to the +agenda at the beginning of each meeting. The moderator and the WG +cannot veto or remove items. + +The WG may invite persons or representatives from certain projects to +participate in a non-voting capacity. + +The moderator is responsible for summarizing the discussion of each +agenda item and sends it as a pull request after the meeting. + +### Consensus Seeking Process + +The WG follows a +[Consensus +Seeking](http://en.wikipedia.org/wiki/Consensus-seeking_decision-making) +decision-making model. + +When an agenda item has appeared to reach a consensus the moderator +will ask "Does anyone object?" as a final call for dissent from the +consensus. + +If an agenda item cannot reach a consensus a WG member can call for +either a closing vote or a vote to table the issue to the next +meeting. The call for a vote must be seconded by a majority of the WG +or else the discussion will continue. Simple majority wins. + +Note that changes to WG membership require a majority consensus. See +"WG Membership" above. diff --git a/node_backend/node_modules/readable-stream/LICENSE b/node_backend/node_modules/readable-stream/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..2873b3b2e595072e66330369d83e8af46655970c --- /dev/null +++ b/node_backend/node_modules/readable-stream/LICENSE @@ -0,0 +1,47 @@ +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/README.md b/node_backend/node_modules/readable-stream/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/README.md rename to node_backend/node_modules/readable-stream/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/errors-browser.js b/node_backend/node_modules/readable-stream/errors-browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/errors-browser.js rename to node_backend/node_modules/readable-stream/errors-browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/errors.js b/node_backend/node_modules/readable-stream/errors.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/errors.js rename to node_backend/node_modules/readable-stream/errors.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/experimentalWarning.js b/node_backend/node_modules/readable-stream/experimentalWarning.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/experimentalWarning.js rename to node_backend/node_modules/readable-stream/experimentalWarning.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_duplex.js b/node_backend/node_modules/readable-stream/lib/_stream_duplex.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_duplex.js rename to node_backend/node_modules/readable-stream/lib/_stream_duplex.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_passthrough.js b/node_backend/node_modules/readable-stream/lib/_stream_passthrough.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_passthrough.js rename to node_backend/node_modules/readable-stream/lib/_stream_passthrough.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_readable.js b/node_backend/node_modules/readable-stream/lib/_stream_readable.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_readable.js rename to node_backend/node_modules/readable-stream/lib/_stream_readable.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_transform.js b/node_backend/node_modules/readable-stream/lib/_stream_transform.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_transform.js rename to node_backend/node_modules/readable-stream/lib/_stream_transform.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_writable.js b/node_backend/node_modules/readable-stream/lib/_stream_writable.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/_stream_writable.js rename to node_backend/node_modules/readable-stream/lib/_stream_writable.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/async_iterator.js b/node_backend/node_modules/readable-stream/lib/internal/streams/async_iterator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/async_iterator.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/async_iterator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/buffer_list.js b/node_backend/node_modules/readable-stream/lib/internal/streams/buffer_list.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/buffer_list.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/buffer_list.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/destroy.js b/node_backend/node_modules/readable-stream/lib/internal/streams/destroy.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/destroy.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/destroy.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/end-of-stream.js b/node_backend/node_modules/readable-stream/lib/internal/streams/end-of-stream.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/end-of-stream.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/end-of-stream.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/from-browser.js b/node_backend/node_modules/readable-stream/lib/internal/streams/from-browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/from-browser.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/from-browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/from.js b/node_backend/node_modules/readable-stream/lib/internal/streams/from.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/from.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/from.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/pipeline.js b/node_backend/node_modules/readable-stream/lib/internal/streams/pipeline.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/pipeline.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/pipeline.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/state.js b/node_backend/node_modules/readable-stream/lib/internal/streams/state.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/lib/internal/streams/state.js rename to node_backend/node_modules/readable-stream/lib/internal/streams/state.js diff --git a/node_backend/node_modules/readable-stream/lib/internal/streams/stream-browser.js b/node_backend/node_modules/readable-stream/lib/internal/streams/stream-browser.js new file mode 100644 index 0000000000000000000000000000000000000000..9332a3fdae7060505c0a081614e697fa6cb56dc0 --- /dev/null +++ b/node_backend/node_modules/readable-stream/lib/internal/streams/stream-browser.js @@ -0,0 +1 @@ +module.exports = require('events').EventEmitter; diff --git a/node_backend/node_modules/readable-stream/lib/internal/streams/stream.js b/node_backend/node_modules/readable-stream/lib/internal/streams/stream.js new file mode 100644 index 0000000000000000000000000000000000000000..ce2ad5b6ee57f4778a1f4838f7970093c7941c1c --- /dev/null +++ b/node_backend/node_modules/readable-stream/lib/internal/streams/stream.js @@ -0,0 +1 @@ +module.exports = require('stream'); diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/package.json b/node_backend/node_modules/readable-stream/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/package.json rename to node_backend/node_modules/readable-stream/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/readable-browser.js b/node_backend/node_modules/readable-stream/readable-browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/readable-browser.js rename to node_backend/node_modules/readable-stream/readable-browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/readable-stream/readable.js b/node_backend/node_modules/readable-stream/readable.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/readable-stream/readable.js rename to node_backend/node_modules/readable-stream/readable.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/CHANGELOG.md b/node_backend/node_modules/rimraf/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/CHANGELOG.md rename to node_backend/node_modules/rimraf/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/LICENSE b/node_backend/node_modules/rimraf/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/LICENSE rename to node_backend/node_modules/rimraf/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/README.md b/node_backend/node_modules/rimraf/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/README.md rename to node_backend/node_modules/rimraf/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/bin.js b/node_backend/node_modules/rimraf/bin.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/bin.js rename to node_backend/node_modules/rimraf/bin.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/package.json b/node_backend/node_modules/rimraf/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/package.json rename to node_backend/node_modules/rimraf/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/rimraf/rimraf.js b/node_backend/node_modules/rimraf/rimraf.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/rimraf/rimraf.js rename to node_backend/node_modules/rimraf/rimraf.js diff --git a/node_backend/node_modules/safe-buffer/LICENSE b/node_backend/node_modules/safe-buffer/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..0c068ceecbd48fc4e8279e6451793fec2bf12178 --- /dev/null +++ b/node_backend/node_modules/safe-buffer/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) Feross Aboukhadijeh + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_backend/node_modules/safe-buffer/README.md b/node_backend/node_modules/safe-buffer/README.md new file mode 100644 index 0000000000000000000000000000000000000000..e9a81afd0406f030ba21169f0c7a1dba70b3a93b --- /dev/null +++ b/node_backend/node_modules/safe-buffer/README.md @@ -0,0 +1,584 @@ +# safe-buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url] + +[travis-image]: https://img.shields.io/travis/feross/safe-buffer/master.svg +[travis-url]: https://travis-ci.org/feross/safe-buffer +[npm-image]: https://img.shields.io/npm/v/safe-buffer.svg +[npm-url]: https://npmjs.org/package/safe-buffer +[downloads-image]: https://img.shields.io/npm/dm/safe-buffer.svg +[downloads-url]: https://npmjs.org/package/safe-buffer +[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg +[standard-url]: https://standardjs.com + +#### Safer Node.js Buffer API + +**Use the new Node.js Buffer APIs (`Buffer.from`, `Buffer.alloc`, +`Buffer.allocUnsafe`, `Buffer.allocUnsafeSlow`) in all versions of Node.js.** + +**Uses the built-in implementation when available.** + +## install + +``` +npm install safe-buffer +``` + +## usage + +The goal of this package is to provide a safe replacement for the node.js `Buffer`. + +It's a drop-in replacement for `Buffer`. You can use it by adding one `require` line to +the top of your node.js modules: + +```js +var Buffer = require('safe-buffer').Buffer + +// Existing buffer code will continue to work without issues: + +new Buffer('hey', 'utf8') +new Buffer([1, 2, 3], 'utf8') +new Buffer(obj) +new Buffer(16) // create an uninitialized buffer (potentially unsafe) + +// But you can use these new explicit APIs to make clear what you want: + +Buffer.from('hey', 'utf8') // convert from many types to a Buffer +Buffer.alloc(16) // create a zero-filled buffer (safe) +Buffer.allocUnsafe(16) // create an uninitialized buffer (potentially unsafe) +``` + +## api + +### Class Method: Buffer.from(array) + + +* `array` {Array} + +Allocates a new `Buffer` using an `array` of octets. + +```js +const buf = Buffer.from([0x62,0x75,0x66,0x66,0x65,0x72]); + // creates a new Buffer containing ASCII bytes + // ['b','u','f','f','e','r'] +``` + +A `TypeError` will be thrown if `array` is not an `Array`. + +### Class Method: Buffer.from(arrayBuffer[, byteOffset[, length]]) + + +* `arrayBuffer` {ArrayBuffer} The `.buffer` property of a `TypedArray` or + a `new ArrayBuffer()` +* `byteOffset` {Number} Default: `0` +* `length` {Number} Default: `arrayBuffer.length - byteOffset` + +When passed a reference to the `.buffer` property of a `TypedArray` instance, +the newly created `Buffer` will share the same allocated memory as the +TypedArray. + +```js +const arr = new Uint16Array(2); +arr[0] = 5000; +arr[1] = 4000; + +const buf = Buffer.from(arr.buffer); // shares the memory with arr; + +console.log(buf); + // Prints: + +// changing the TypedArray changes the Buffer also +arr[1] = 6000; + +console.log(buf); + // Prints: +``` + +The optional `byteOffset` and `length` arguments specify a memory range within +the `arrayBuffer` that will be shared by the `Buffer`. + +```js +const ab = new ArrayBuffer(10); +const buf = Buffer.from(ab, 0, 2); +console.log(buf.length); + // Prints: 2 +``` + +A `TypeError` will be thrown if `arrayBuffer` is not an `ArrayBuffer`. + +### Class Method: Buffer.from(buffer) + + +* `buffer` {Buffer} + +Copies the passed `buffer` data onto a new `Buffer` instance. + +```js +const buf1 = Buffer.from('buffer'); +const buf2 = Buffer.from(buf1); + +buf1[0] = 0x61; +console.log(buf1.toString()); + // 'auffer' +console.log(buf2.toString()); + // 'buffer' (copy is not changed) +``` + +A `TypeError` will be thrown if `buffer` is not a `Buffer`. + +### Class Method: Buffer.from(str[, encoding]) + + +* `str` {String} String to encode. +* `encoding` {String} Encoding to use, Default: `'utf8'` + +Creates a new `Buffer` containing the given JavaScript string `str`. If +provided, the `encoding` parameter identifies the character encoding. +If not provided, `encoding` defaults to `'utf8'`. + +```js +const buf1 = Buffer.from('this is a tést'); +console.log(buf1.toString()); + // prints: this is a tést +console.log(buf1.toString('ascii')); + // prints: this is a tC)st + +const buf2 = Buffer.from('7468697320697320612074c3a97374', 'hex'); +console.log(buf2.toString()); + // prints: this is a tést +``` + +A `TypeError` will be thrown if `str` is not a string. + +### Class Method: Buffer.alloc(size[, fill[, encoding]]) + + +* `size` {Number} +* `fill` {Value} Default: `undefined` +* `encoding` {String} Default: `utf8` + +Allocates a new `Buffer` of `size` bytes. If `fill` is `undefined`, the +`Buffer` will be *zero-filled*. + +```js +const buf = Buffer.alloc(5); +console.log(buf); + // +``` + +The `size` must be less than or equal to the value of +`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is +`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will +be created if a `size` less than or equal to 0 is specified. + +If `fill` is specified, the allocated `Buffer` will be initialized by calling +`buf.fill(fill)`. See [`buf.fill()`][] for more information. + +```js +const buf = Buffer.alloc(5, 'a'); +console.log(buf); + // +``` + +If both `fill` and `encoding` are specified, the allocated `Buffer` will be +initialized by calling `buf.fill(fill, encoding)`. For example: + +```js +const buf = Buffer.alloc(11, 'aGVsbG8gd29ybGQ=', 'base64'); +console.log(buf); + // +``` + +Calling `Buffer.alloc(size)` can be significantly slower than the alternative +`Buffer.allocUnsafe(size)` but ensures that the newly created `Buffer` instance +contents will *never contain sensitive data*. + +A `TypeError` will be thrown if `size` is not a number. + +### Class Method: Buffer.allocUnsafe(size) + + +* `size` {Number} + +Allocates a new *non-zero-filled* `Buffer` of `size` bytes. The `size` must +be less than or equal to the value of `require('buffer').kMaxLength` (on 64-bit +architectures, `kMaxLength` is `(2^31)-1`). Otherwise, a [`RangeError`][] is +thrown. A zero-length Buffer will be created if a `size` less than or equal to +0 is specified. + +The underlying memory for `Buffer` instances created in this way is *not +initialized*. The contents of the newly created `Buffer` are unknown and +*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such +`Buffer` instances to zeroes. + +```js +const buf = Buffer.allocUnsafe(5); +console.log(buf); + // + // (octets will be different, every time) +buf.fill(0); +console.log(buf); + // +``` + +A `TypeError` will be thrown if `size` is not a number. + +Note that the `Buffer` module pre-allocates an internal `Buffer` instance of +size `Buffer.poolSize` that is used as a pool for the fast allocation of new +`Buffer` instances created using `Buffer.allocUnsafe(size)` (and the deprecated +`new Buffer(size)` constructor) only when `size` is less than or equal to +`Buffer.poolSize >> 1` (floor of `Buffer.poolSize` divided by two). The default +value of `Buffer.poolSize` is `8192` but can be modified. + +Use of this pre-allocated internal memory pool is a key difference between +calling `Buffer.alloc(size, fill)` vs. `Buffer.allocUnsafe(size).fill(fill)`. +Specifically, `Buffer.alloc(size, fill)` will *never* use the internal Buffer +pool, while `Buffer.allocUnsafe(size).fill(fill)` *will* use the internal +Buffer pool if `size` is less than or equal to half `Buffer.poolSize`. The +difference is subtle but can be important when an application requires the +additional performance that `Buffer.allocUnsafe(size)` provides. + +### Class Method: Buffer.allocUnsafeSlow(size) + + +* `size` {Number} + +Allocates a new *non-zero-filled* and non-pooled `Buffer` of `size` bytes. The +`size` must be less than or equal to the value of +`require('buffer').kMaxLength` (on 64-bit architectures, `kMaxLength` is +`(2^31)-1`). Otherwise, a [`RangeError`][] is thrown. A zero-length Buffer will +be created if a `size` less than or equal to 0 is specified. + +The underlying memory for `Buffer` instances created in this way is *not +initialized*. The contents of the newly created `Buffer` are unknown and +*may contain sensitive data*. Use [`buf.fill(0)`][] to initialize such +`Buffer` instances to zeroes. + +When using `Buffer.allocUnsafe()` to allocate new `Buffer` instances, +allocations under 4KB are, by default, sliced from a single pre-allocated +`Buffer`. This allows applications to avoid the garbage collection overhead of +creating many individually allocated Buffers. This approach improves both +performance and memory usage by eliminating the need to track and cleanup as +many `Persistent` objects. + +However, in the case where a developer may need to retain a small chunk of +memory from a pool for an indeterminate amount of time, it may be appropriate +to create an un-pooled Buffer instance using `Buffer.allocUnsafeSlow()` then +copy out the relevant bits. + +```js +// need to keep around a few small chunks of memory +const store = []; + +socket.on('readable', () => { + const data = socket.read(); + // allocate for retained data + const sb = Buffer.allocUnsafeSlow(10); + // copy the data into the new allocation + data.copy(sb, 0, 0, 10); + store.push(sb); +}); +``` + +Use of `Buffer.allocUnsafeSlow()` should be used only as a last resort *after* +a developer has observed undue memory retention in their applications. + +A `TypeError` will be thrown if `size` is not a number. + +### All the Rest + +The rest of the `Buffer` API is exactly the same as in node.js. +[See the docs](https://nodejs.org/api/buffer.html). + + +## Related links + +- [Node.js issue: Buffer(number) is unsafe](https://github.com/nodejs/node/issues/4660) +- [Node.js Enhancement Proposal: Buffer.from/Buffer.alloc/Buffer.zalloc/Buffer() soft-deprecate](https://github.com/nodejs/node-eps/pull/4) + +## Why is `Buffer` unsafe? + +Today, the node.js `Buffer` constructor is overloaded to handle many different argument +types like `String`, `Array`, `Object`, `TypedArrayView` (`Uint8Array`, etc.), +`ArrayBuffer`, and also `Number`. + +The API is optimized for convenience: you can throw any type at it, and it will try to do +what you want. + +Because the Buffer constructor is so powerful, you often see code like this: + +```js +// Convert UTF-8 strings to hex +function toHex (str) { + return new Buffer(str).toString('hex') +} +``` + +***But what happens if `toHex` is called with a `Number` argument?*** + +### Remote Memory Disclosure + +If an attacker can make your program call the `Buffer` constructor with a `Number` +argument, then they can make it allocate uninitialized memory from the node.js process. +This could potentially disclose TLS private keys, user data, or database passwords. + +When the `Buffer` constructor is passed a `Number` argument, it returns an +**UNINITIALIZED** block of memory of the specified `size`. When you create a `Buffer` like +this, you **MUST** overwrite the contents before returning it to the user. + +From the [node.js docs](https://nodejs.org/api/buffer.html#buffer_new_buffer_size): + +> `new Buffer(size)` +> +> - `size` Number +> +> The underlying memory for `Buffer` instances created in this way is not initialized. +> **The contents of a newly created `Buffer` are unknown and could contain sensitive +> data.** Use `buf.fill(0)` to initialize a Buffer to zeroes. + +(Emphasis our own.) + +Whenever the programmer intended to create an uninitialized `Buffer` you often see code +like this: + +```js +var buf = new Buffer(16) + +// Immediately overwrite the uninitialized buffer with data from another buffer +for (var i = 0; i < buf.length; i++) { + buf[i] = otherBuf[i] +} +``` + + +### Would this ever be a problem in real code? + +Yes. It's surprisingly common to forget to check the type of your variables in a +dynamically-typed language like JavaScript. + +Usually the consequences of assuming the wrong type is that your program crashes with an +uncaught exception. But the failure mode for forgetting to check the type of arguments to +the `Buffer` constructor is more catastrophic. + +Here's an example of a vulnerable service that takes a JSON payload and converts it to +hex: + +```js +// Take a JSON payload {str: "some string"} and convert it to hex +var server = http.createServer(function (req, res) { + var data = '' + req.setEncoding('utf8') + req.on('data', function (chunk) { + data += chunk + }) + req.on('end', function () { + var body = JSON.parse(data) + res.end(new Buffer(body.str).toString('hex')) + }) +}) + +server.listen(8080) +``` + +In this example, an http client just has to send: + +```json +{ + "str": 1000 +} +``` + +and it will get back 1,000 bytes of uninitialized memory from the server. + +This is a very serious bug. It's similar in severity to the +[the Heartbleed bug](http://heartbleed.com/) that allowed disclosure of OpenSSL process +memory by remote attackers. + + +### Which real-world packages were vulnerable? + +#### [`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht) + +[Mathias Buus](https://github.com/mafintosh) and I +([Feross Aboukhadijeh](http://feross.org/)) found this issue in one of our own packages, +[`bittorrent-dht`](https://www.npmjs.com/package/bittorrent-dht). The bug would allow +anyone on the internet to send a series of messages to a user of `bittorrent-dht` and get +them to reveal 20 bytes at a time of uninitialized memory from the node.js process. + +Here's +[the commit](https://github.com/feross/bittorrent-dht/commit/6c7da04025d5633699800a99ec3fbadf70ad35b8) +that fixed it. We released a new fixed version, created a +[Node Security Project disclosure](https://nodesecurity.io/advisories/68), and deprecated all +vulnerable versions on npm so users will get a warning to upgrade to a newer version. + +#### [`ws`](https://www.npmjs.com/package/ws) + +That got us wondering if there were other vulnerable packages. Sure enough, within a short +period of time, we found the same issue in [`ws`](https://www.npmjs.com/package/ws), the +most popular WebSocket implementation in node.js. + +If certain APIs were called with `Number` parameters instead of `String` or `Buffer` as +expected, then uninitialized server memory would be disclosed to the remote peer. + +These were the vulnerable methods: + +```js +socket.send(number) +socket.ping(number) +socket.pong(number) +``` + +Here's a vulnerable socket server with some echo functionality: + +```js +server.on('connection', function (socket) { + socket.on('message', function (message) { + message = JSON.parse(message) + if (message.type === 'echo') { + socket.send(message.data) // send back the user's message + } + }) +}) +``` + +`socket.send(number)` called on the server, will disclose server memory. + +Here's [the release](https://github.com/websockets/ws/releases/tag/1.0.1) where the issue +was fixed, with a more detailed explanation. Props to +[Arnout Kazemier](https://github.com/3rd-Eden) for the quick fix. Here's the +[Node Security Project disclosure](https://nodesecurity.io/advisories/67). + + +### What's the solution? + +It's important that node.js offers a fast way to get memory otherwise performance-critical +applications would needlessly get a lot slower. + +But we need a better way to *signal our intent* as programmers. **When we want +uninitialized memory, we should request it explicitly.** + +Sensitive functionality should not be packed into a developer-friendly API that loosely +accepts many different types. This type of API encourages the lazy practice of passing +variables in without checking the type very carefully. + +#### A new API: `Buffer.allocUnsafe(number)` + +The functionality of creating buffers with uninitialized memory should be part of another +API. We propose `Buffer.allocUnsafe(number)`. This way, it's not part of an API that +frequently gets user input of all sorts of different types passed into it. + +```js +var buf = Buffer.allocUnsafe(16) // careful, uninitialized memory! + +// Immediately overwrite the uninitialized buffer with data from another buffer +for (var i = 0; i < buf.length; i++) { + buf[i] = otherBuf[i] +} +``` + + +### How do we fix node.js core? + +We sent [a PR to node.js core](https://github.com/nodejs/node/pull/4514) (merged as +`semver-major`) which defends against one case: + +```js +var str = 16 +new Buffer(str, 'utf8') +``` + +In this situation, it's implied that the programmer intended the first argument to be a +string, since they passed an encoding as a second argument. Today, node.js will allocate +uninitialized memory in the case of `new Buffer(number, encoding)`, which is probably not +what the programmer intended. + +But this is only a partial solution, since if the programmer does `new Buffer(variable)` +(without an `encoding` parameter) there's no way to know what they intended. If `variable` +is sometimes a number, then uninitialized memory will sometimes be returned. + +### What's the real long-term fix? + +We could deprecate and remove `new Buffer(number)` and use `Buffer.allocUnsafe(number)` when +we need uninitialized memory. But that would break 1000s of packages. + +~~We believe the best solution is to:~~ + +~~1. Change `new Buffer(number)` to return safe, zeroed-out memory~~ + +~~2. Create a new API for creating uninitialized Buffers. We propose: `Buffer.allocUnsafe(number)`~~ + +#### Update + +We now support adding three new APIs: + +- `Buffer.from(value)` - convert from any type to a buffer +- `Buffer.alloc(size)` - create a zero-filled buffer +- `Buffer.allocUnsafe(size)` - create an uninitialized buffer with given size + +This solves the core problem that affected `ws` and `bittorrent-dht` which is +`Buffer(variable)` getting tricked into taking a number argument. + +This way, existing code continues working and the impact on the npm ecosystem will be +minimal. Over time, npm maintainers can migrate performance-critical code to use +`Buffer.allocUnsafe(number)` instead of `new Buffer(number)`. + + +### Conclusion + +We think there's a serious design issue with the `Buffer` API as it exists today. It +promotes insecure software by putting high-risk functionality into a convenient API +with friendly "developer ergonomics". + +This wasn't merely a theoretical exercise because we found the issue in some of the +most popular npm packages. + +Fortunately, there's an easy fix that can be applied today. Use `safe-buffer` in place of +`buffer`. + +```js +var Buffer = require('safe-buffer').Buffer +``` + +Eventually, we hope that node.js core can switch to this new, safer behavior. We believe +the impact on the ecosystem would be minimal since it's not a breaking change. +Well-maintained, popular packages would be updated to use `Buffer.alloc` quickly, while +older, insecure packages would magically become safe from this attack vector. + + +## links + +- [Node.js PR: buffer: throw if both length and enc are passed](https://github.com/nodejs/node/pull/4514) +- [Node Security Project disclosure for `ws`](https://nodesecurity.io/advisories/67) +- [Node Security Project disclosure for`bittorrent-dht`](https://nodesecurity.io/advisories/68) + + +## credit + +The original issues in `bittorrent-dht` +([disclosure](https://nodesecurity.io/advisories/68)) and +`ws` ([disclosure](https://nodesecurity.io/advisories/67)) were discovered by +[Mathias Buus](https://github.com/mafintosh) and +[Feross Aboukhadijeh](http://feross.org/). + +Thanks to [Adam Baldwin](https://github.com/evilpacket) for helping disclose these issues +and for his work running the [Node Security Project](https://nodesecurity.io/). + +Thanks to [John Hiesey](https://github.com/jhiesey) for proofreading this README and +auditing the code. + + +## license + +MIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org) diff --git a/node_backend/node_modules/safe-buffer/index.d.ts b/node_backend/node_modules/safe-buffer/index.d.ts new file mode 100644 index 0000000000000000000000000000000000000000..e9fed809a5ab515658d6e71f7ba5f631be769be4 --- /dev/null +++ b/node_backend/node_modules/safe-buffer/index.d.ts @@ -0,0 +1,187 @@ +declare module "safe-buffer" { + export class Buffer { + length: number + write(string: string, offset?: number, length?: number, encoding?: string): number; + toString(encoding?: string, start?: number, end?: number): string; + toJSON(): { type: 'Buffer', data: any[] }; + equals(otherBuffer: Buffer): boolean; + compare(otherBuffer: Buffer, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number; + copy(targetBuffer: Buffer, targetStart?: number, sourceStart?: number, sourceEnd?: number): number; + slice(start?: number, end?: number): Buffer; + writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number; + readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntLE(offset: number, byteLength: number, noAssert?: boolean): number; + readIntBE(offset: number, byteLength: number, noAssert?: boolean): number; + readUInt8(offset: number, noAssert?: boolean): number; + readUInt16LE(offset: number, noAssert?: boolean): number; + readUInt16BE(offset: number, noAssert?: boolean): number; + readUInt32LE(offset: number, noAssert?: boolean): number; + readUInt32BE(offset: number, noAssert?: boolean): number; + readInt8(offset: number, noAssert?: boolean): number; + readInt16LE(offset: number, noAssert?: boolean): number; + readInt16BE(offset: number, noAssert?: boolean): number; + readInt32LE(offset: number, noAssert?: boolean): number; + readInt32BE(offset: number, noAssert?: boolean): number; + readFloatLE(offset: number, noAssert?: boolean): number; + readFloatBE(offset: number, noAssert?: boolean): number; + readDoubleLE(offset: number, noAssert?: boolean): number; + readDoubleBE(offset: number, noAssert?: boolean): number; + swap16(): Buffer; + swap32(): Buffer; + swap64(): Buffer; + writeUInt8(value: number, offset: number, noAssert?: boolean): number; + writeUInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeUInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeInt8(value: number, offset: number, noAssert?: boolean): number; + writeInt16LE(value: number, offset: number, noAssert?: boolean): number; + writeInt16BE(value: number, offset: number, noAssert?: boolean): number; + writeInt32LE(value: number, offset: number, noAssert?: boolean): number; + writeInt32BE(value: number, offset: number, noAssert?: boolean): number; + writeFloatLE(value: number, offset: number, noAssert?: boolean): number; + writeFloatBE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleLE(value: number, offset: number, noAssert?: boolean): number; + writeDoubleBE(value: number, offset: number, noAssert?: boolean): number; + fill(value: any, offset?: number, end?: number): this; + indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: string): number; + includes(value: string | number | Buffer, byteOffset?: number, encoding?: string): boolean; + + /** + * Allocates a new buffer containing the given {str}. + * + * @param str String to store in buffer. + * @param encoding encoding to use, optional. Default is 'utf8' + */ + constructor (str: string, encoding?: string); + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + */ + constructor (size: number); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor (array: Uint8Array); + /** + * Produces a Buffer backed by the same allocated memory as + * the given {ArrayBuffer}. + * + * + * @param arrayBuffer The ArrayBuffer with which to share memory. + */ + constructor (arrayBuffer: ArrayBuffer); + /** + * Allocates a new buffer containing the given {array} of octets. + * + * @param array The octets to store. + */ + constructor (array: any[]); + /** + * Copies the passed {buffer} data onto a new {Buffer} instance. + * + * @param buffer The buffer to copy. + */ + constructor (buffer: Buffer); + prototype: Buffer; + /** + * Allocates a new Buffer using an {array} of octets. + * + * @param array + */ + static from(array: any[]): Buffer; + /** + * When passed a reference to the .buffer property of a TypedArray instance, + * the newly created Buffer will share the same allocated memory as the TypedArray. + * The optional {byteOffset} and {length} arguments specify a memory range + * within the {arrayBuffer} that will be shared by the Buffer. + * + * @param arrayBuffer The .buffer property of a TypedArray or a new ArrayBuffer() + * @param byteOffset + * @param length + */ + static from(arrayBuffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer; + /** + * Copies the passed {buffer} data onto a new Buffer instance. + * + * @param buffer + */ + static from(buffer: Buffer): Buffer; + /** + * Creates a new Buffer containing the given JavaScript string {str}. + * If provided, the {encoding} parameter identifies the character encoding. + * If not provided, {encoding} defaults to 'utf8'. + * + * @param str + */ + static from(str: string, encoding?: string): Buffer; + /** + * Returns true if {obj} is a Buffer + * + * @param obj object to test. + */ + static isBuffer(obj: any): obj is Buffer; + /** + * Returns true if {encoding} is a valid encoding argument. + * Valid string encodings in Node 0.12: 'ascii'|'utf8'|'utf16le'|'ucs2'(alias of 'utf16le')|'base64'|'binary'(deprecated)|'hex' + * + * @param encoding string to test. + */ + static isEncoding(encoding: string): boolean; + /** + * Gives the actual byte length of a string. encoding defaults to 'utf8'. + * This is not the same as String.prototype.length since that returns the number of characters in a string. + * + * @param string string to test. + * @param encoding encoding used to evaluate (defaults to 'utf8') + */ + static byteLength(string: string, encoding?: string): number; + /** + * Returns a buffer which is the result of concatenating all the buffers in the list together. + * + * If the list has no items, or if the totalLength is 0, then it returns a zero-length buffer. + * If the list has exactly one item, then the first item of the list is returned. + * If the list has more than one item, then a new Buffer is created. + * + * @param list An array of Buffer objects to concatenate + * @param totalLength Total length of the buffers when concatenated. + * If totalLength is not provided, it is read from the buffers in the list. However, this adds an additional loop to the function, so it is faster to provide the length explicitly. + */ + static concat(list: Buffer[], totalLength?: number): Buffer; + /** + * The same as buf1.compare(buf2). + */ + static compare(buf1: Buffer, buf2: Buffer): number; + /** + * Allocates a new buffer of {size} octets. + * + * @param size count of octets to allocate. + * @param fill if specified, buffer will be initialized by calling buf.fill(fill). + * If parameter is omitted, buffer will be filled with zeros. + * @param encoding encoding used for call to buf.fill while initalizing + */ + static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer; + /** + * Allocates a new buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + static allocUnsafe(size: number): Buffer; + /** + * Allocates a new non-pooled buffer of {size} octets, leaving memory not initialized, so the contents + * of the newly created Buffer are unknown and may contain sensitive data. + * + * @param size count of octets to allocate + */ + static allocUnsafeSlow(size: number): Buffer; + } +} \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/node_modules/safe-buffer/index.js b/node_backend/node_modules/safe-buffer/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safe-buffer/index.js rename to node_backend/node_modules/safe-buffer/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/safe-buffer/package.json b/node_backend/node_modules/safe-buffer/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safe-buffer/package.json rename to node_backend/node_modules/safe-buffer/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/LICENSE b/node_backend/node_modules/safer-buffer/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/LICENSE rename to node_backend/node_modules/safer-buffer/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/Porting-Buffer.md b/node_backend/node_modules/safer-buffer/Porting-Buffer.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/Porting-Buffer.md rename to node_backend/node_modules/safer-buffer/Porting-Buffer.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/Readme.md b/node_backend/node_modules/safer-buffer/Readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/Readme.md rename to node_backend/node_modules/safer-buffer/Readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/dangerous.js b/node_backend/node_modules/safer-buffer/dangerous.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/dangerous.js rename to node_backend/node_modules/safer-buffer/dangerous.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/package.json b/node_backend/node_modules/safer-buffer/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/package.json rename to node_backend/node_modules/safer-buffer/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/safer.js b/node_backend/node_modules/safer-buffer/safer.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/safer.js rename to node_backend/node_modules/safer-buffer/safer.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/safer-buffer/tests.js b/node_backend/node_modules/safer-buffer/tests.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/safer-buffer/tests.js rename to node_backend/node_modules/safer-buffer/tests.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/LICENSE b/node_backend/node_modules/semver/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/LICENSE rename to node_backend/node_modules/semver/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/README.md b/node_backend/node_modules/semver/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/README.md rename to node_backend/node_modules/semver/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/bin/semver.js b/node_backend/node_modules/semver/bin/semver.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/bin/semver.js rename to node_backend/node_modules/semver/bin/semver.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/classes/comparator.js b/node_backend/node_modules/semver/classes/comparator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/classes/comparator.js rename to node_backend/node_modules/semver/classes/comparator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/classes/index.js b/node_backend/node_modules/semver/classes/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/classes/index.js rename to node_backend/node_modules/semver/classes/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/classes/range.js b/node_backend/node_modules/semver/classes/range.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/classes/range.js rename to node_backend/node_modules/semver/classes/range.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/classes/semver.js b/node_backend/node_modules/semver/classes/semver.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/classes/semver.js rename to node_backend/node_modules/semver/classes/semver.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/clean.js b/node_backend/node_modules/semver/functions/clean.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/clean.js rename to node_backend/node_modules/semver/functions/clean.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/cmp.js b/node_backend/node_modules/semver/functions/cmp.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/cmp.js rename to node_backend/node_modules/semver/functions/cmp.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/coerce.js b/node_backend/node_modules/semver/functions/coerce.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/coerce.js rename to node_backend/node_modules/semver/functions/coerce.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare-build.js b/node_backend/node_modules/semver/functions/compare-build.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare-build.js rename to node_backend/node_modules/semver/functions/compare-build.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare-loose.js b/node_backend/node_modules/semver/functions/compare-loose.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare-loose.js rename to node_backend/node_modules/semver/functions/compare-loose.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare.js b/node_backend/node_modules/semver/functions/compare.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/compare.js rename to node_backend/node_modules/semver/functions/compare.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/diff.js b/node_backend/node_modules/semver/functions/diff.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/diff.js rename to node_backend/node_modules/semver/functions/diff.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/eq.js b/node_backend/node_modules/semver/functions/eq.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/eq.js rename to node_backend/node_modules/semver/functions/eq.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/gt.js b/node_backend/node_modules/semver/functions/gt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/gt.js rename to node_backend/node_modules/semver/functions/gt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/gte.js b/node_backend/node_modules/semver/functions/gte.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/gte.js rename to node_backend/node_modules/semver/functions/gte.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/inc.js b/node_backend/node_modules/semver/functions/inc.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/inc.js rename to node_backend/node_modules/semver/functions/inc.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/lt.js b/node_backend/node_modules/semver/functions/lt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/lt.js rename to node_backend/node_modules/semver/functions/lt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/lte.js b/node_backend/node_modules/semver/functions/lte.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/lte.js rename to node_backend/node_modules/semver/functions/lte.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/major.js b/node_backend/node_modules/semver/functions/major.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/major.js rename to node_backend/node_modules/semver/functions/major.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/minor.js b/node_backend/node_modules/semver/functions/minor.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/minor.js rename to node_backend/node_modules/semver/functions/minor.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/neq.js b/node_backend/node_modules/semver/functions/neq.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/neq.js rename to node_backend/node_modules/semver/functions/neq.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/parse.js b/node_backend/node_modules/semver/functions/parse.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/parse.js rename to node_backend/node_modules/semver/functions/parse.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/patch.js b/node_backend/node_modules/semver/functions/patch.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/patch.js rename to node_backend/node_modules/semver/functions/patch.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/prerelease.js b/node_backend/node_modules/semver/functions/prerelease.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/prerelease.js rename to node_backend/node_modules/semver/functions/prerelease.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/rcompare.js b/node_backend/node_modules/semver/functions/rcompare.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/rcompare.js rename to node_backend/node_modules/semver/functions/rcompare.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/rsort.js b/node_backend/node_modules/semver/functions/rsort.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/rsort.js rename to node_backend/node_modules/semver/functions/rsort.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/satisfies.js b/node_backend/node_modules/semver/functions/satisfies.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/satisfies.js rename to node_backend/node_modules/semver/functions/satisfies.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/sort.js b/node_backend/node_modules/semver/functions/sort.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/sort.js rename to node_backend/node_modules/semver/functions/sort.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/functions/valid.js b/node_backend/node_modules/semver/functions/valid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/functions/valid.js rename to node_backend/node_modules/semver/functions/valid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/index.js b/node_backend/node_modules/semver/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/index.js rename to node_backend/node_modules/semver/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/constants.js b/node_backend/node_modules/semver/internal/constants.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/constants.js rename to node_backend/node_modules/semver/internal/constants.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/debug.js b/node_backend/node_modules/semver/internal/debug.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/debug.js rename to node_backend/node_modules/semver/internal/debug.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/identifiers.js b/node_backend/node_modules/semver/internal/identifiers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/identifiers.js rename to node_backend/node_modules/semver/internal/identifiers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/lrucache.js b/node_backend/node_modules/semver/internal/lrucache.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/lrucache.js rename to node_backend/node_modules/semver/internal/lrucache.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/parse-options.js b/node_backend/node_modules/semver/internal/parse-options.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/parse-options.js rename to node_backend/node_modules/semver/internal/parse-options.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/internal/re.js b/node_backend/node_modules/semver/internal/re.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/internal/re.js rename to node_backend/node_modules/semver/internal/re.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/package.json b/node_backend/node_modules/semver/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/package.json rename to node_backend/node_modules/semver/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/preload.js b/node_backend/node_modules/semver/preload.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/preload.js rename to node_backend/node_modules/semver/preload.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/range.bnf b/node_backend/node_modules/semver/range.bnf similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/range.bnf rename to node_backend/node_modules/semver/range.bnf diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/gtr.js b/node_backend/node_modules/semver/ranges/gtr.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/gtr.js rename to node_backend/node_modules/semver/ranges/gtr.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/intersects.js b/node_backend/node_modules/semver/ranges/intersects.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/intersects.js rename to node_backend/node_modules/semver/ranges/intersects.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/ltr.js b/node_backend/node_modules/semver/ranges/ltr.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/ltr.js rename to node_backend/node_modules/semver/ranges/ltr.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/max-satisfying.js b/node_backend/node_modules/semver/ranges/max-satisfying.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/max-satisfying.js rename to node_backend/node_modules/semver/ranges/max-satisfying.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/min-satisfying.js b/node_backend/node_modules/semver/ranges/min-satisfying.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/min-satisfying.js rename to node_backend/node_modules/semver/ranges/min-satisfying.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/min-version.js b/node_backend/node_modules/semver/ranges/min-version.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/min-version.js rename to node_backend/node_modules/semver/ranges/min-version.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/outside.js b/node_backend/node_modules/semver/ranges/outside.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/outside.js rename to node_backend/node_modules/semver/ranges/outside.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/simplify.js b/node_backend/node_modules/semver/ranges/simplify.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/simplify.js rename to node_backend/node_modules/semver/ranges/simplify.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/subset.js b/node_backend/node_modules/semver/ranges/subset.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/subset.js rename to node_backend/node_modules/semver/ranges/subset.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/to-comparators.js b/node_backend/node_modules/semver/ranges/to-comparators.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/to-comparators.js rename to node_backend/node_modules/semver/ranges/to-comparators.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/semver/ranges/valid.js b/node_backend/node_modules/semver/ranges/valid.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/semver/ranges/valid.js rename to node_backend/node_modules/semver/ranges/valid.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/HISTORY.md b/node_backend/node_modules/send/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/HISTORY.md rename to node_backend/node_modules/send/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/LICENSE b/node_backend/node_modules/send/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/LICENSE rename to node_backend/node_modules/send/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/README.md b/node_backend/node_modules/send/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/README.md rename to node_backend/node_modules/send/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/SECURITY.md b/node_backend/node_modules/send/SECURITY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/SECURITY.md rename to node_backend/node_modules/send/SECURITY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/index.js b/node_backend/node_modules/send/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/index.js rename to node_backend/node_modules/send/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/HISTORY.md b/node_backend/node_modules/send/node_modules/encodeurl/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/HISTORY.md rename to node_backend/node_modules/send/node_modules/encodeurl/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/LICENSE b/node_backend/node_modules/send/node_modules/encodeurl/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/LICENSE rename to node_backend/node_modules/send/node_modules/encodeurl/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/README.md b/node_backend/node_modules/send/node_modules/encodeurl/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/README.md rename to node_backend/node_modules/send/node_modules/encodeurl/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/index.js b/node_backend/node_modules/send/node_modules/encodeurl/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/index.js rename to node_backend/node_modules/send/node_modules/encodeurl/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/package.json b/node_backend/node_modules/send/node_modules/encodeurl/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/encodeurl/package.json rename to node_backend/node_modules/send/node_modules/encodeurl/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/index.js b/node_backend/node_modules/send/node_modules/ms/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/index.js rename to node_backend/node_modules/send/node_modules/ms/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/license.md b/node_backend/node_modules/send/node_modules/ms/license.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/license.md rename to node_backend/node_modules/send/node_modules/ms/license.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/package.json b/node_backend/node_modules/send/node_modules/ms/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/package.json rename to node_backend/node_modules/send/node_modules/ms/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/readme.md b/node_backend/node_modules/send/node_modules/ms/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/node_modules/ms/readme.md rename to node_backend/node_modules/send/node_modules/ms/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/send/package.json b/node_backend/node_modules/send/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/send/package.json rename to node_backend/node_modules/send/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/serve-static/HISTORY.md b/node_backend/node_modules/serve-static/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/serve-static/HISTORY.md rename to node_backend/node_modules/serve-static/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/serve-static/LICENSE b/node_backend/node_modules/serve-static/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/serve-static/LICENSE rename to node_backend/node_modules/serve-static/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/serve-static/README.md b/node_backend/node_modules/serve-static/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/serve-static/README.md rename to node_backend/node_modules/serve-static/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/serve-static/index.js b/node_backend/node_modules/serve-static/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/serve-static/index.js rename to node_backend/node_modules/serve-static/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/serve-static/package.json b/node_backend/node_modules/serve-static/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/serve-static/package.json rename to node_backend/node_modules/serve-static/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-blocking/CHANGELOG.md b/node_backend/node_modules/set-blocking/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-blocking/CHANGELOG.md rename to node_backend/node_modules/set-blocking/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-blocking/LICENSE.txt b/node_backend/node_modules/set-blocking/LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-blocking/LICENSE.txt rename to node_backend/node_modules/set-blocking/LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-blocking/README.md b/node_backend/node_modules/set-blocking/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-blocking/README.md rename to node_backend/node_modules/set-blocking/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-blocking/index.js b/node_backend/node_modules/set-blocking/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-blocking/index.js rename to node_backend/node_modules/set-blocking/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-blocking/package.json b/node_backend/node_modules/set-blocking/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-blocking/package.json rename to node_backend/node_modules/set-blocking/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/.eslintrc b/node_backend/node_modules/set-function-length/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/.eslintrc rename to node_backend/node_modules/set-function-length/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/.github/FUNDING.yml b/node_backend/node_modules/set-function-length/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/.github/FUNDING.yml rename to node_backend/node_modules/set-function-length/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/.nycrc b/node_backend/node_modules/set-function-length/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/.nycrc rename to node_backend/node_modules/set-function-length/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/CHANGELOG.md b/node_backend/node_modules/set-function-length/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/CHANGELOG.md rename to node_backend/node_modules/set-function-length/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/LICENSE b/node_backend/node_modules/set-function-length/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/LICENSE rename to node_backend/node_modules/set-function-length/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/README.md b/node_backend/node_modules/set-function-length/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/README.md rename to node_backend/node_modules/set-function-length/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/env.d.ts b/node_backend/node_modules/set-function-length/env.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/env.d.ts rename to node_backend/node_modules/set-function-length/env.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/env.js b/node_backend/node_modules/set-function-length/env.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/env.js rename to node_backend/node_modules/set-function-length/env.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/index.d.ts b/node_backend/node_modules/set-function-length/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/index.d.ts rename to node_backend/node_modules/set-function-length/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/index.js b/node_backend/node_modules/set-function-length/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/index.js rename to node_backend/node_modules/set-function-length/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/package.json b/node_backend/node_modules/set-function-length/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/package.json rename to node_backend/node_modules/set-function-length/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/set-function-length/tsconfig.json b/node_backend/node_modules/set-function-length/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/set-function-length/tsconfig.json rename to node_backend/node_modules/set-function-length/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/LICENSE b/node_backend/node_modules/setprototypeof/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/LICENSE rename to node_backend/node_modules/setprototypeof/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/README.md b/node_backend/node_modules/setprototypeof/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/README.md rename to node_backend/node_modules/setprototypeof/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/index.d.ts b/node_backend/node_modules/setprototypeof/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/index.d.ts rename to node_backend/node_modules/setprototypeof/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/index.js b/node_backend/node_modules/setprototypeof/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/index.js rename to node_backend/node_modules/setprototypeof/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/package.json b/node_backend/node_modules/setprototypeof/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/package.json rename to node_backend/node_modules/setprototypeof/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/setprototypeof/test/index.js b/node_backend/node_modules/setprototypeof/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/setprototypeof/test/index.js rename to node_backend/node_modules/setprototypeof/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/.editorconfig b/node_backend/node_modules/side-channel/.editorconfig similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/.editorconfig rename to node_backend/node_modules/side-channel/.editorconfig diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/.eslintrc b/node_backend/node_modules/side-channel/.eslintrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/.eslintrc rename to node_backend/node_modules/side-channel/.eslintrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/.github/FUNDING.yml b/node_backend/node_modules/side-channel/.github/FUNDING.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/.github/FUNDING.yml rename to node_backend/node_modules/side-channel/.github/FUNDING.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/.nycrc b/node_backend/node_modules/side-channel/.nycrc similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/.nycrc rename to node_backend/node_modules/side-channel/.nycrc diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/CHANGELOG.md b/node_backend/node_modules/side-channel/CHANGELOG.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/CHANGELOG.md rename to node_backend/node_modules/side-channel/CHANGELOG.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/LICENSE b/node_backend/node_modules/side-channel/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/LICENSE rename to node_backend/node_modules/side-channel/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/README.md b/node_backend/node_modules/side-channel/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/README.md rename to node_backend/node_modules/side-channel/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/index.d.ts b/node_backend/node_modules/side-channel/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/index.d.ts rename to node_backend/node_modules/side-channel/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/index.js b/node_backend/node_modules/side-channel/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/index.js rename to node_backend/node_modules/side-channel/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/package.json b/node_backend/node_modules/side-channel/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/package.json rename to node_backend/node_modules/side-channel/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/test/index.js b/node_backend/node_modules/side-channel/test/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/test/index.js rename to node_backend/node_modules/side-channel/test/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/side-channel/tsconfig.json b/node_backend/node_modules/side-channel/tsconfig.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/side-channel/tsconfig.json rename to node_backend/node_modules/side-channel/tsconfig.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/MIT-LICENSE.txt b/node_backend/node_modules/sift/MIT-LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/MIT-LICENSE.txt rename to node_backend/node_modules/sift/MIT-LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/README.md b/node_backend/node_modules/sift/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/README.md rename to node_backend/node_modules/sift/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/es/index.js b/node_backend/node_modules/sift/es/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/es/index.js rename to node_backend/node_modules/sift/es/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/es/index.js.map b/node_backend/node_modules/sift/es/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/es/index.js.map rename to node_backend/node_modules/sift/es/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/es5m/index.js b/node_backend/node_modules/sift/es5m/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/es5m/index.js rename to node_backend/node_modules/sift/es5m/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/es5m/index.js.map b/node_backend/node_modules/sift/es5m/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/es5m/index.js.map rename to node_backend/node_modules/sift/es5m/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/index.d.ts b/node_backend/node_modules/sift/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/index.d.ts rename to node_backend/node_modules/sift/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/index.js b/node_backend/node_modules/sift/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/index.js rename to node_backend/node_modules/sift/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/core.d.ts b/node_backend/node_modules/sift/lib/core.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/core.d.ts rename to node_backend/node_modules/sift/lib/core.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.d.ts b/node_backend/node_modules/sift/lib/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.d.ts rename to node_backend/node_modules/sift/lib/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.js b/node_backend/node_modules/sift/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.js rename to node_backend/node_modules/sift/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.js.map b/node_backend/node_modules/sift/lib/index.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/index.js.map rename to node_backend/node_modules/sift/lib/index.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/operations.d.ts b/node_backend/node_modules/sift/lib/operations.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/operations.d.ts rename to node_backend/node_modules/sift/lib/operations.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/lib/utils.d.ts b/node_backend/node_modules/sift/lib/utils.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/lib/utils.d.ts rename to node_backend/node_modules/sift/lib/utils.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/package.json b/node_backend/node_modules/sift/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/package.json rename to node_backend/node_modules/sift/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/sift.csp.min.js b/node_backend/node_modules/sift/sift.csp.min.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/sift.csp.min.js rename to node_backend/node_modules/sift/sift.csp.min.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/sift.csp.min.js.map b/node_backend/node_modules/sift/sift.csp.min.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/sift.csp.min.js.map rename to node_backend/node_modules/sift/sift.csp.min.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/sift.min.js b/node_backend/node_modules/sift/sift.min.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/sift.min.js rename to node_backend/node_modules/sift/sift.min.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/sift.min.js.map b/node_backend/node_modules/sift/sift.min.js.map similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/sift.min.js.map rename to node_backend/node_modules/sift/sift.min.js.map diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/src/core.ts b/node_backend/node_modules/sift/src/core.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/src/core.ts rename to node_backend/node_modules/sift/src/core.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/src/index.ts b/node_backend/node_modules/sift/src/index.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/src/index.ts rename to node_backend/node_modules/sift/src/index.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/src/operations.ts b/node_backend/node_modules/sift/src/operations.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/src/operations.ts rename to node_backend/node_modules/sift/src/operations.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/sift/src/utils.ts b/node_backend/node_modules/sift/src/utils.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sift/src/utils.ts rename to node_backend/node_modules/sift/src/utils.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/signal-exit/LICENSE.txt b/node_backend/node_modules/signal-exit/LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/signal-exit/LICENSE.txt rename to node_backend/node_modules/signal-exit/LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/signal-exit/README.md b/node_backend/node_modules/signal-exit/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/signal-exit/README.md rename to node_backend/node_modules/signal-exit/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/signal-exit/index.js b/node_backend/node_modules/signal-exit/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/signal-exit/index.js rename to node_backend/node_modules/signal-exit/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/signal-exit/package.json b/node_backend/node_modules/signal-exit/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/signal-exit/package.json rename to node_backend/node_modules/signal-exit/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/signal-exit/signals.js b/node_backend/node_modules/signal-exit/signals.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/signal-exit/signals.js rename to node_backend/node_modules/signal-exit/signals.js diff --git a/node_backend/node_modules/sparse-bitfield/.npmignore b/node_backend/node_modules/sparse-bitfield/.npmignore new file mode 100644 index 0000000000000000000000000000000000000000..3c3629e647f5ddf82548912e337bea9826b434af --- /dev/null +++ b/node_backend/node_modules/sparse-bitfield/.npmignore @@ -0,0 +1 @@ +node_modules diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/.travis.yml b/node_backend/node_modules/sparse-bitfield/.travis.yml similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/.travis.yml rename to node_backend/node_modules/sparse-bitfield/.travis.yml diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/LICENSE b/node_backend/node_modules/sparse-bitfield/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/LICENSE rename to node_backend/node_modules/sparse-bitfield/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/README.md b/node_backend/node_modules/sparse-bitfield/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/README.md rename to node_backend/node_modules/sparse-bitfield/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/index.js b/node_backend/node_modules/sparse-bitfield/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/index.js rename to node_backend/node_modules/sparse-bitfield/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/package.json b/node_backend/node_modules/sparse-bitfield/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/package.json rename to node_backend/node_modules/sparse-bitfield/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/test.js b/node_backend/node_modules/sparse-bitfield/test.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/sparse-bitfield/test.js rename to node_backend/node_modules/sparse-bitfield/test.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/HISTORY.md b/node_backend/node_modules/statuses/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/HISTORY.md rename to node_backend/node_modules/statuses/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/LICENSE b/node_backend/node_modules/statuses/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/LICENSE rename to node_backend/node_modules/statuses/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/README.md b/node_backend/node_modules/statuses/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/README.md rename to node_backend/node_modules/statuses/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/codes.json b/node_backend/node_modules/statuses/codes.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/codes.json rename to node_backend/node_modules/statuses/codes.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/index.js b/node_backend/node_modules/statuses/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/index.js rename to node_backend/node_modules/statuses/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/statuses/package.json b/node_backend/node_modules/statuses/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/statuses/package.json rename to node_backend/node_modules/statuses/package.json diff --git a/node_backend/node_modules/streamsearch/.eslintrc.js b/node_backend/node_modules/streamsearch/.eslintrc.js new file mode 100644 index 0000000000000000000000000000000000000000..be9311d02655a22381f13078bfe868bcbd85b3a6 --- /dev/null +++ b/node_backend/node_modules/streamsearch/.eslintrc.js @@ -0,0 +1,5 @@ +'use strict'; + +module.exports = { + extends: '@mscdex/eslint-config', +}; diff --git a/node_backend/node_modules/streamsearch/.github/workflows/ci.yml b/node_backend/node_modules/streamsearch/.github/workflows/ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..29d51782c77a93f2a32774350fb6e6229ebc3408 --- /dev/null +++ b/node_backend/node_modules/streamsearch/.github/workflows/ci.yml @@ -0,0 +1,24 @@ +name: CI + +on: + pull_request: + push: + branches: [ master ] + +jobs: + tests-linux: + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: [10.x, 12.x, 14.x, 16.x] + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: Install module + run: npm install + - name: Run tests + run: npm test diff --git a/node_backend/node_modules/streamsearch/.github/workflows/lint.yml b/node_backend/node_modules/streamsearch/.github/workflows/lint.yml new file mode 100644 index 0000000000000000000000000000000000000000..9f9e1f589a30be583a860f928382b3033c38749d --- /dev/null +++ b/node_backend/node_modules/streamsearch/.github/workflows/lint.yml @@ -0,0 +1,23 @@ +name: lint + +on: + pull_request: + push: + branches: [ master ] + +env: + NODE_VERSION: 16.x + +jobs: + lint-js: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ env.NODE_VERSION }} + uses: actions/setup-node@v1 + with: + node-version: ${{ env.NODE_VERSION }} + - name: Install ESLint + ESLint configs/plugins + run: npm install --only=dev + - name: Lint files + run: npm run lint diff --git a/node_backend/node_modules/streamsearch/LICENSE b/node_backend/node_modules/streamsearch/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..290762e94f4e2f2b52cc13ae4f2b63ac0269bfd1 --- /dev/null +++ b/node_backend/node_modules/streamsearch/LICENSE @@ -0,0 +1,19 @@ +Copyright Brian White. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. \ No newline at end of file diff --git a/node_backend/node_modules/streamsearch/README.md b/node_backend/node_modules/streamsearch/README.md new file mode 100644 index 0000000000000000000000000000000000000000..c3934d1c7d57119aa31103bc6389838c646e2fc2 --- /dev/null +++ b/node_backend/node_modules/streamsearch/README.md @@ -0,0 +1,95 @@ +Description +=========== + +streamsearch is a module for [node.js](http://nodejs.org/) that allows searching a stream using the Boyer-Moore-Horspool algorithm. + +This module is based heavily on the Streaming Boyer-Moore-Horspool C++ implementation by Hongli Lai [here](https://github.com/FooBarWidget/boyer-moore-horspool). + + +Requirements +============ + +* [node.js](http://nodejs.org/) -- v10.0.0 or newer + + +Installation +============ + + npm install streamsearch + +Example +======= + +```js + const { inspect } = require('util'); + + const StreamSearch = require('streamsearch'); + + const needle = Buffer.from('\r\n'); + const ss = new StreamSearch(needle, (isMatch, data, start, end) => { + if (data) + console.log('data: ' + inspect(data.toString('latin1', start, end))); + if (isMatch) + console.log('match!'); + }); + + const chunks = [ + 'foo', + ' bar', + '\r', + '\n', + 'baz, hello\r', + '\n world.', + '\r\n Node.JS rules!!\r\n\r\n', + ]; + for (const chunk of chunks) + ss.push(Buffer.from(chunk)); + + // output: + // + // data: 'foo' + // data: ' bar' + // match! + // data: 'baz, hello' + // match! + // data: ' world.' + // match! + // data: ' Node.JS rules!!' + // match! + // data: '' + // match! +``` + + +API +=== + +Properties +---------- + +* **maxMatches** - < _integer_ > - The maximum number of matches. Defaults to `Infinity`. + +* **matches** - < _integer_ > - The current match count. + + +Functions +--------- + +* **(constructor)**(< _mixed_ >needle, < _function_ >callback) - Creates and returns a new instance for searching for a _Buffer_ or _string_ `needle`. `callback` is called any time there is non-matching data and/or there is a needle match. `callback` will be called with the following arguments: + + 1. `isMatch` - _boolean_ - Indicates whether a match has been found + + 2. `data` - _mixed_ - If set, this contains data that did not match the needle. + + 3. `start` - _integer_ - The index in `data` where the non-matching data begins (inclusive). + + 4. `end` - _integer_ - The index in `data` where the non-matching data ends (exclusive). + + 5. `isSafeData` - _boolean_ - Indicates if it is safe to store a reference to `data` (e.g. as-is or via `data.slice()`) or not, as in some cases `data` may point to a Buffer whose contents change over time. + +* **destroy**() - _(void)_ - Emits any last remaining unmatched data that may still be buffered and then resets internal state. + +* **push**(< _Buffer_ >chunk) - _integer_ - Processes `chunk`, searching for a match. The return value is the last processed index in `chunk` + 1. + +* **reset**() - _(void)_ - Resets internal state. Useful for when you wish to start searching a new/different stream for example. + diff --git a/node_backend/node_modules/streamsearch/lib/sbmh.js b/node_backend/node_modules/streamsearch/lib/sbmh.js new file mode 100644 index 0000000000000000000000000000000000000000..510cae26e67a58d4c1cdfb4ed5afd80c0f50c782 --- /dev/null +++ b/node_backend/node_modules/streamsearch/lib/sbmh.js @@ -0,0 +1,267 @@ +'use strict'; +/* + Based heavily on the Streaming Boyer-Moore-Horspool C++ implementation + by Hongli Lai at: https://github.com/FooBarWidget/boyer-moore-horspool +*/ +function memcmp(buf1, pos1, buf2, pos2, num) { + for (let i = 0; i < num; ++i) { + if (buf1[pos1 + i] !== buf2[pos2 + i]) + return false; + } + return true; +} + +class SBMH { + constructor(needle, cb) { + if (typeof cb !== 'function') + throw new Error('Missing match callback'); + + if (typeof needle === 'string') + needle = Buffer.from(needle); + else if (!Buffer.isBuffer(needle)) + throw new Error(`Expected Buffer for needle, got ${typeof needle}`); + + const needleLen = needle.length; + + this.maxMatches = Infinity; + this.matches = 0; + + this._cb = cb; + this._lookbehindSize = 0; + this._needle = needle; + this._bufPos = 0; + + this._lookbehind = Buffer.allocUnsafe(needleLen); + + // Initialize occurrence table. + this._occ = [ + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen, needleLen, needleLen, + needleLen, needleLen, needleLen, needleLen + ]; + + // Populate occurrence table with analysis of the needle, ignoring the last + // letter. + if (needleLen > 1) { + for (let i = 0; i < needleLen - 1; ++i) + this._occ[needle[i]] = needleLen - 1 - i; + } + } + + reset() { + this.matches = 0; + this._lookbehindSize = 0; + this._bufPos = 0; + } + + push(chunk, pos) { + let result; + if (!Buffer.isBuffer(chunk)) + chunk = Buffer.from(chunk, 'latin1'); + const chunkLen = chunk.length; + this._bufPos = pos || 0; + while (result !== chunkLen && this.matches < this.maxMatches) + result = feed(this, chunk); + return result; + } + + destroy() { + const lbSize = this._lookbehindSize; + if (lbSize) + this._cb(false, this._lookbehind, 0, lbSize, false); + this.reset(); + } +} + +function feed(self, data) { + const len = data.length; + const needle = self._needle; + const needleLen = needle.length; + + // Positive: points to a position in `data` + // pos == 3 points to data[3] + // Negative: points to a position in the lookbehind buffer + // pos == -2 points to lookbehind[lookbehindSize - 2] + let pos = -self._lookbehindSize; + const lastNeedleCharPos = needleLen - 1; + const lastNeedleChar = needle[lastNeedleCharPos]; + const end = len - needleLen; + const occ = self._occ; + const lookbehind = self._lookbehind; + + if (pos < 0) { + // Lookbehind buffer is not empty. Perform Boyer-Moore-Horspool + // search with character lookup code that considers both the + // lookbehind buffer and the current round's haystack data. + // + // Loop until + // there is a match. + // or until + // we've moved past the position that requires the + // lookbehind buffer. In this case we switch to the + // optimized loop. + // or until + // the character to look at lies outside the haystack. + while (pos < 0 && pos <= end) { + const nextPos = pos + lastNeedleCharPos; + const ch = (nextPos < 0 + ? lookbehind[self._lookbehindSize + nextPos] + : data[nextPos]); + + if (ch === lastNeedleChar + && matchNeedle(self, data, pos, lastNeedleCharPos)) { + self._lookbehindSize = 0; + ++self.matches; + if (pos > -self._lookbehindSize) + self._cb(true, lookbehind, 0, self._lookbehindSize + pos, false); + else + self._cb(true, undefined, 0, 0, true); + + return (self._bufPos = pos + needleLen); + } + + pos += occ[ch]; + } + + // No match. + + // There's too few data for Boyer-Moore-Horspool to run, + // so let's use a different algorithm to skip as much as + // we can. + // Forward pos until + // the trailing part of lookbehind + data + // looks like the beginning of the needle + // or until + // pos == 0 + while (pos < 0 && !matchNeedle(self, data, pos, len - pos)) + ++pos; + + if (pos < 0) { + // Cut off part of the lookbehind buffer that has + // been processed and append the entire haystack + // into it. + const bytesToCutOff = self._lookbehindSize + pos; + + if (bytesToCutOff > 0) { + // The cut off data is guaranteed not to contain the needle. + self._cb(false, lookbehind, 0, bytesToCutOff, false); + } + + self._lookbehindSize -= bytesToCutOff; + lookbehind.copy(lookbehind, 0, bytesToCutOff, self._lookbehindSize); + lookbehind.set(data, self._lookbehindSize); + self._lookbehindSize += len; + + self._bufPos = len; + return len; + } + + // Discard lookbehind buffer. + self._cb(false, lookbehind, 0, self._lookbehindSize, false); + self._lookbehindSize = 0; + } + + pos += self._bufPos; + + const firstNeedleChar = needle[0]; + + // Lookbehind buffer is now empty. Perform Boyer-Moore-Horspool + // search with optimized character lookup code that only considers + // the current round's haystack data. + while (pos <= end) { + const ch = data[pos + lastNeedleCharPos]; + + if (ch === lastNeedleChar + && data[pos] === firstNeedleChar + && memcmp(needle, 0, data, pos, lastNeedleCharPos)) { + ++self.matches; + if (pos > 0) + self._cb(true, data, self._bufPos, pos, true); + else + self._cb(true, undefined, 0, 0, true); + + return (self._bufPos = pos + needleLen); + } + + pos += occ[ch]; + } + + // There was no match. If there's trailing haystack data that we cannot + // match yet using the Boyer-Moore-Horspool algorithm (because the trailing + // data is less than the needle size) then match using a modified + // algorithm that starts matching from the beginning instead of the end. + // Whatever trailing data is left after running this algorithm is added to + // the lookbehind buffer. + while (pos < len) { + if (data[pos] !== firstNeedleChar + || !memcmp(data, pos, needle, 0, len - pos)) { + ++pos; + continue; + } + data.copy(lookbehind, 0, pos, len); + self._lookbehindSize = len - pos; + break; + } + + // Everything until `pos` is guaranteed not to contain needle data. + if (pos > 0) + self._cb(false, data, self._bufPos, pos < len ? pos : len, true); + + self._bufPos = len; + return len; +} + +function matchNeedle(self, data, pos, len) { + const lb = self._lookbehind; + const lbSize = self._lookbehindSize; + const needle = self._needle; + + for (let i = 0; i < len; ++i, ++pos) { + const ch = (pos < 0 ? lb[lbSize + pos] : data[pos]); + if (ch !== needle[i]) + return false; + } + return true; +} + +module.exports = SBMH; diff --git a/node_backend/node_modules/streamsearch/package.json b/node_backend/node_modules/streamsearch/package.json new file mode 100644 index 0000000000000000000000000000000000000000..51df8f9707cebd8469d793a8d90050baac1c4d1d --- /dev/null +++ b/node_backend/node_modules/streamsearch/package.json @@ -0,0 +1,34 @@ +{ + "name": "streamsearch", + "version": "1.1.0", + "author": "Brian White ", + "description": "Streaming Boyer-Moore-Horspool searching for node.js", + "main": "./lib/sbmh.js", + "engines": { + "node": ">=10.0.0" + }, + "devDependencies": { + "@mscdex/eslint-config": "^1.1.0", + "eslint": "^7.32.0" + }, + "scripts": { + "test": "node test/test.js", + "lint": "eslint --cache --report-unused-disable-directives --ext=.js .eslintrc.js lib test", + "lint:fix": "npm run lint -- --fix" + }, + "keywords": [ + "stream", + "horspool", + "boyer-moore-horspool", + "boyer-moore", + "search" + ], + "licenses": [{ + "type": "MIT", + "url": "http://github.com/mscdex/streamsearch/raw/master/LICENSE" + }], + "repository": { + "type": "git", + "url": "http://github.com/mscdex/streamsearch.git" + } +} diff --git a/node_backend/node_modules/streamsearch/test/test.js b/node_backend/node_modules/streamsearch/test/test.js new file mode 100644 index 0000000000000000000000000000000000000000..39a04d7f834bea5e8da37c4cf56973a7b3217dd5 --- /dev/null +++ b/node_backend/node_modules/streamsearch/test/test.js @@ -0,0 +1,70 @@ +'use strict'; + +const assert = require('assert'); + +const StreamSearch = require('../lib/sbmh.js'); + +[ + { + needle: '\r\n', + chunks: [ + 'foo', + ' bar', + '\r', + '\n', + 'baz, hello\r', + '\n world.', + '\r\n Node.JS rules!!\r\n\r\n', + ], + expect: [ + [false, 'foo'], + [false, ' bar'], + [ true, null], + [false, 'baz, hello'], + [ true, null], + [false, ' world.'], + [ true, null], + [ true, ' Node.JS rules!!'], + [ true, ''], + ], + }, + { + needle: '---foobarbaz', + chunks: [ + '---foobarbaz', + 'asdf', + '\r\n', + '---foobarba', + '---foobar', + 'ba', + '\r\n---foobarbaz--\r\n', + ], + expect: [ + [ true, null], + [false, 'asdf'], + [false, '\r\n'], + [false, '---foobarba'], + [false, '---foobarba'], + [ true, '\r\n'], + [false, '--\r\n'], + ], + }, +].forEach((test, i) => { + console.log(`Running test #${i + 1}`); + const { needle, chunks, expect } = test; + + const results = []; + const ss = new StreamSearch(Buffer.from(needle), + (isMatch, data, start, end) => { + if (data) + data = data.toString('latin1', start, end); + else + data = null; + results.push([isMatch, data]); + }); + + for (const chunk of chunks) + ss.push(Buffer.from(chunk)); + + assert.deepStrictEqual(results, expect); +}); diff --git a/Inscripciones_UAIE/node_backend/node_modules/string-width/index.d.ts b/node_backend/node_modules/string-width/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string-width/index.d.ts rename to node_backend/node_modules/string-width/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/string-width/index.js b/node_backend/node_modules/string-width/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string-width/index.js rename to node_backend/node_modules/string-width/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/string-width/license b/node_backend/node_modules/string-width/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string-width/license rename to node_backend/node_modules/string-width/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/string-width/package.json b/node_backend/node_modules/string-width/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string-width/package.json rename to node_backend/node_modules/string-width/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/string-width/readme.md b/node_backend/node_modules/string-width/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string-width/readme.md rename to node_backend/node_modules/string-width/readme.md diff --git a/node_backend/node_modules/string_decoder/LICENSE b/node_backend/node_modules/string_decoder/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..778edb20730ef48c01002248f4d51e7752c13487 --- /dev/null +++ b/node_backend/node_modules/string_decoder/LICENSE @@ -0,0 +1,48 @@ +Node.js is licensed for use as follows: + +""" +Copyright Node.js contributors. All rights reserved. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + +This license applies to parts of Node.js originating from the +https://github.com/joyent/node repository: + +""" +Copyright Joyent, Inc. and other Node contributors. All rights reserved. +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +IN THE SOFTWARE. +""" + diff --git a/node_backend/node_modules/string_decoder/README.md b/node_backend/node_modules/string_decoder/README.md new file mode 100644 index 0000000000000000000000000000000000000000..5fd58315ed588027742dde690a31cd0a2610649d --- /dev/null +++ b/node_backend/node_modules/string_decoder/README.md @@ -0,0 +1,47 @@ +# string_decoder + +***Node-core v8.9.4 string_decoder for userland*** + + +[![NPM](https://nodei.co/npm/string_decoder.png?downloads=true&downloadRank=true)](https://nodei.co/npm/string_decoder/) +[![NPM](https://nodei.co/npm-dl/string_decoder.png?&months=6&height=3)](https://nodei.co/npm/string_decoder/) + + +```bash +npm install --save string_decoder +``` + +***Node-core string_decoder for userland*** + +This package is a mirror of the string_decoder implementation in Node-core. + +Full documentation may be found on the [Node.js website](https://nodejs.org/dist/v8.9.4/docs/api/). + +As of version 1.0.0 **string_decoder** uses semantic versioning. + +## Previous versions + +Previous version numbers match the versions found in Node core, e.g. 0.10.24 matches Node 0.10.24, likewise 0.11.10 matches Node 0.11.10. + +## Update + +The *build/* directory contains a build script that will scrape the source from the [nodejs/node](https://github.com/nodejs/node) repo given a specific Node version. + +## Streams Working Group + +`string_decoder` is maintained by the Streams Working Group, which +oversees the development and maintenance of the Streams API within +Node.js. The responsibilities of the Streams Working Group include: + +* Addressing stream issues on the Node.js issue tracker. +* Authoring and editing stream documentation within the Node.js project. +* Reviewing changes to stream subclasses within the Node.js project. +* Redirecting changes to streams from the Node.js project to this + project. +* Assisting in the implementation of stream providers within Node.js. +* Recommending versions of `readable-stream` to be included in Node.js. +* Messaging about the future of streams to give the community advance + notice of changes. + +See [readable-stream](https://github.com/nodejs/readable-stream) for +more details. diff --git a/node_backend/node_modules/string_decoder/lib/string_decoder.js b/node_backend/node_modules/string_decoder/lib/string_decoder.js new file mode 100644 index 0000000000000000000000000000000000000000..2e89e63f7933e42b8ba543ede35d2a8fa3e4f100 --- /dev/null +++ b/node_backend/node_modules/string_decoder/lib/string_decoder.js @@ -0,0 +1,296 @@ +// Copyright Joyent, Inc. and other Node contributors. +// +// Permission is hereby granted, free of charge, to any person obtaining a +// copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to permit +// persons to whom the Software is furnished to do so, subject to the +// following conditions: +// +// The above copyright notice and this permission notice shall be included +// in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE +// USE OR OTHER DEALINGS IN THE SOFTWARE. + +'use strict'; + +/**/ + +var Buffer = require('safe-buffer').Buffer; +/**/ + +var isEncoding = Buffer.isEncoding || function (encoding) { + encoding = '' + encoding; + switch (encoding && encoding.toLowerCase()) { + case 'hex':case 'utf8':case 'utf-8':case 'ascii':case 'binary':case 'base64':case 'ucs2':case 'ucs-2':case 'utf16le':case 'utf-16le':case 'raw': + return true; + default: + return false; + } +}; + +function _normalizeEncoding(enc) { + if (!enc) return 'utf8'; + var retried; + while (true) { + switch (enc) { + case 'utf8': + case 'utf-8': + return 'utf8'; + case 'ucs2': + case 'ucs-2': + case 'utf16le': + case 'utf-16le': + return 'utf16le'; + case 'latin1': + case 'binary': + return 'latin1'; + case 'base64': + case 'ascii': + case 'hex': + return enc; + default: + if (retried) return; // undefined + enc = ('' + enc).toLowerCase(); + retried = true; + } + } +}; + +// Do not cache `Buffer.isEncoding` when checking encoding names as some +// modules monkey-patch it to support additional encodings +function normalizeEncoding(enc) { + var nenc = _normalizeEncoding(enc); + if (typeof nenc !== 'string' && (Buffer.isEncoding === isEncoding || !isEncoding(enc))) throw new Error('Unknown encoding: ' + enc); + return nenc || enc; +} + +// StringDecoder provides an interface for efficiently splitting a series of +// buffers into a series of JS strings without breaking apart multi-byte +// characters. +exports.StringDecoder = StringDecoder; +function StringDecoder(encoding) { + this.encoding = normalizeEncoding(encoding); + var nb; + switch (this.encoding) { + case 'utf16le': + this.text = utf16Text; + this.end = utf16End; + nb = 4; + break; + case 'utf8': + this.fillLast = utf8FillLast; + nb = 4; + break; + case 'base64': + this.text = base64Text; + this.end = base64End; + nb = 3; + break; + default: + this.write = simpleWrite; + this.end = simpleEnd; + return; + } + this.lastNeed = 0; + this.lastTotal = 0; + this.lastChar = Buffer.allocUnsafe(nb); +} + +StringDecoder.prototype.write = function (buf) { + if (buf.length === 0) return ''; + var r; + var i; + if (this.lastNeed) { + r = this.fillLast(buf); + if (r === undefined) return ''; + i = this.lastNeed; + this.lastNeed = 0; + } else { + i = 0; + } + if (i < buf.length) return r ? r + this.text(buf, i) : this.text(buf, i); + return r || ''; +}; + +StringDecoder.prototype.end = utf8End; + +// Returns only complete characters in a Buffer +StringDecoder.prototype.text = utf8Text; + +// Attempts to complete a partial non-UTF-8 character using bytes from a Buffer +StringDecoder.prototype.fillLast = function (buf) { + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length); + this.lastNeed -= buf.length; +}; + +// Checks the type of a UTF-8 byte, whether it's ASCII, a leading byte, or a +// continuation byte. If an invalid byte is detected, -2 is returned. +function utf8CheckByte(byte) { + if (byte <= 0x7F) return 0;else if (byte >> 5 === 0x06) return 2;else if (byte >> 4 === 0x0E) return 3;else if (byte >> 3 === 0x1E) return 4; + return byte >> 6 === 0x02 ? -1 : -2; +} + +// Checks at most 3 bytes at the end of a Buffer in order to detect an +// incomplete multi-byte UTF-8 character. The total number of bytes (2, 3, or 4) +// needed to complete the UTF-8 character (if applicable) are returned. +function utf8CheckIncomplete(self, buf, i) { + var j = buf.length - 1; + if (j < i) return 0; + var nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 1; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) self.lastNeed = nb - 2; + return nb; + } + if (--j < i || nb === -2) return 0; + nb = utf8CheckByte(buf[j]); + if (nb >= 0) { + if (nb > 0) { + if (nb === 2) nb = 0;else self.lastNeed = nb - 3; + } + return nb; + } + return 0; +} + +// Validates as many continuation bytes for a multi-byte UTF-8 character as +// needed or are available. If we see a non-continuation byte where we expect +// one, we "replace" the validated continuation bytes we've seen so far with +// a single UTF-8 replacement character ('\ufffd'), to match v8's UTF-8 decoding +// behavior. The continuation byte check is included three times in the case +// where all of the continuation bytes for a character exist in the same buffer. +// It is also done this way as a slight performance increase instead of using a +// loop. +function utf8CheckExtraBytes(self, buf, p) { + if ((buf[0] & 0xC0) !== 0x80) { + self.lastNeed = 0; + return '\ufffd'; + } + if (self.lastNeed > 1 && buf.length > 1) { + if ((buf[1] & 0xC0) !== 0x80) { + self.lastNeed = 1; + return '\ufffd'; + } + if (self.lastNeed > 2 && buf.length > 2) { + if ((buf[2] & 0xC0) !== 0x80) { + self.lastNeed = 2; + return '\ufffd'; + } + } + } +} + +// Attempts to complete a multi-byte UTF-8 character using bytes from a Buffer. +function utf8FillLast(buf) { + var p = this.lastTotal - this.lastNeed; + var r = utf8CheckExtraBytes(this, buf, p); + if (r !== undefined) return r; + if (this.lastNeed <= buf.length) { + buf.copy(this.lastChar, p, 0, this.lastNeed); + return this.lastChar.toString(this.encoding, 0, this.lastTotal); + } + buf.copy(this.lastChar, p, 0, buf.length); + this.lastNeed -= buf.length; +} + +// Returns all complete UTF-8 characters in a Buffer. If the Buffer ended on a +// partial character, the character's bytes are buffered until the required +// number of bytes are available. +function utf8Text(buf, i) { + var total = utf8CheckIncomplete(this, buf, i); + if (!this.lastNeed) return buf.toString('utf8', i); + this.lastTotal = total; + var end = buf.length - (total - this.lastNeed); + buf.copy(this.lastChar, 0, end); + return buf.toString('utf8', i, end); +} + +// For UTF-8, a replacement character is added when ending on a partial +// character. +function utf8End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + '\ufffd'; + return r; +} + +// UTF-16LE typically needs two bytes per character, but even if we have an even +// number of bytes available, we need to check if we end on a leading/high +// surrogate. In that case, we need to wait for the next two bytes in order to +// decode the last character properly. +function utf16Text(buf, i) { + if ((buf.length - i) % 2 === 0) { + var r = buf.toString('utf16le', i); + if (r) { + var c = r.charCodeAt(r.length - 1); + if (c >= 0xD800 && c <= 0xDBFF) { + this.lastNeed = 2; + this.lastTotal = 4; + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + return r.slice(0, -1); + } + } + return r; + } + this.lastNeed = 1; + this.lastTotal = 2; + this.lastChar[0] = buf[buf.length - 1]; + return buf.toString('utf16le', i, buf.length - 1); +} + +// For UTF-16LE we do not explicitly append special replacement characters if we +// end on a partial character, we simply let v8 handle that. +function utf16End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) { + var end = this.lastTotal - this.lastNeed; + return r + this.lastChar.toString('utf16le', 0, end); + } + return r; +} + +function base64Text(buf, i) { + var n = (buf.length - i) % 3; + if (n === 0) return buf.toString('base64', i); + this.lastNeed = 3 - n; + this.lastTotal = 3; + if (n === 1) { + this.lastChar[0] = buf[buf.length - 1]; + } else { + this.lastChar[0] = buf[buf.length - 2]; + this.lastChar[1] = buf[buf.length - 1]; + } + return buf.toString('base64', i, buf.length - n); +} + +function base64End(buf) { + var r = buf && buf.length ? this.write(buf) : ''; + if (this.lastNeed) return r + this.lastChar.toString('base64', 0, 3 - this.lastNeed); + return r; +} + +// Pass bytes on through for single-byte encodings (e.g. ascii, latin1, hex) +function simpleWrite(buf) { + return buf.toString(this.encoding); +} + +function simpleEnd(buf) { + return buf && buf.length ? this.write(buf) : ''; +} \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/node_modules/string_decoder/package.json b/node_backend/node_modules/string_decoder/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/string_decoder/package.json rename to node_backend/node_modules/string_decoder/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/strip-ansi/index.d.ts b/node_backend/node_modules/strip-ansi/index.d.ts similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/strip-ansi/index.d.ts rename to node_backend/node_modules/strip-ansi/index.d.ts diff --git a/Inscripciones_UAIE/node_backend/node_modules/strip-ansi/index.js b/node_backend/node_modules/strip-ansi/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/strip-ansi/index.js rename to node_backend/node_modules/strip-ansi/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/strip-ansi/license b/node_backend/node_modules/strip-ansi/license similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/strip-ansi/license rename to node_backend/node_modules/strip-ansi/license diff --git a/Inscripciones_UAIE/node_backend/node_modules/strip-ansi/package.json b/node_backend/node_modules/strip-ansi/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/strip-ansi/package.json rename to node_backend/node_modules/strip-ansi/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/strip-ansi/readme.md b/node_backend/node_modules/strip-ansi/readme.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/strip-ansi/readme.md rename to node_backend/node_modules/strip-ansi/readme.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/LICENSE b/node_backend/node_modules/tar/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/LICENSE rename to node_backend/node_modules/tar/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/README.md b/node_backend/node_modules/tar/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/README.md rename to node_backend/node_modules/tar/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/index.js b/node_backend/node_modules/tar/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/index.js rename to node_backend/node_modules/tar/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/create.js b/node_backend/node_modules/tar/lib/create.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/create.js rename to node_backend/node_modules/tar/lib/create.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/extract.js b/node_backend/node_modules/tar/lib/extract.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/extract.js rename to node_backend/node_modules/tar/lib/extract.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/get-write-flag.js b/node_backend/node_modules/tar/lib/get-write-flag.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/get-write-flag.js rename to node_backend/node_modules/tar/lib/get-write-flag.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/header.js b/node_backend/node_modules/tar/lib/header.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/header.js rename to node_backend/node_modules/tar/lib/header.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/high-level-opt.js b/node_backend/node_modules/tar/lib/high-level-opt.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/high-level-opt.js rename to node_backend/node_modules/tar/lib/high-level-opt.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/large-numbers.js b/node_backend/node_modules/tar/lib/large-numbers.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/large-numbers.js rename to node_backend/node_modules/tar/lib/large-numbers.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/list.js b/node_backend/node_modules/tar/lib/list.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/list.js rename to node_backend/node_modules/tar/lib/list.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/mkdir.js b/node_backend/node_modules/tar/lib/mkdir.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/mkdir.js rename to node_backend/node_modules/tar/lib/mkdir.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/mode-fix.js b/node_backend/node_modules/tar/lib/mode-fix.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/mode-fix.js rename to node_backend/node_modules/tar/lib/mode-fix.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/normalize-unicode.js b/node_backend/node_modules/tar/lib/normalize-unicode.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/normalize-unicode.js rename to node_backend/node_modules/tar/lib/normalize-unicode.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/normalize-windows-path.js b/node_backend/node_modules/tar/lib/normalize-windows-path.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/normalize-windows-path.js rename to node_backend/node_modules/tar/lib/normalize-windows-path.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/pack.js b/node_backend/node_modules/tar/lib/pack.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/pack.js rename to node_backend/node_modules/tar/lib/pack.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/parse.js b/node_backend/node_modules/tar/lib/parse.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/parse.js rename to node_backend/node_modules/tar/lib/parse.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/path-reservations.js b/node_backend/node_modules/tar/lib/path-reservations.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/path-reservations.js rename to node_backend/node_modules/tar/lib/path-reservations.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/pax.js b/node_backend/node_modules/tar/lib/pax.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/pax.js rename to node_backend/node_modules/tar/lib/pax.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/read-entry.js b/node_backend/node_modules/tar/lib/read-entry.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/read-entry.js rename to node_backend/node_modules/tar/lib/read-entry.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/replace.js b/node_backend/node_modules/tar/lib/replace.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/replace.js rename to node_backend/node_modules/tar/lib/replace.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/strip-absolute-path.js b/node_backend/node_modules/tar/lib/strip-absolute-path.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/strip-absolute-path.js rename to node_backend/node_modules/tar/lib/strip-absolute-path.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/strip-trailing-slashes.js b/node_backend/node_modules/tar/lib/strip-trailing-slashes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/strip-trailing-slashes.js rename to node_backend/node_modules/tar/lib/strip-trailing-slashes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/types.js b/node_backend/node_modules/tar/lib/types.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/types.js rename to node_backend/node_modules/tar/lib/types.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/unpack.js b/node_backend/node_modules/tar/lib/unpack.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/unpack.js rename to node_backend/node_modules/tar/lib/unpack.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/update.js b/node_backend/node_modules/tar/lib/update.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/update.js rename to node_backend/node_modules/tar/lib/update.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/warn-mixin.js b/node_backend/node_modules/tar/lib/warn-mixin.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/warn-mixin.js rename to node_backend/node_modules/tar/lib/warn-mixin.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/winchars.js b/node_backend/node_modules/tar/lib/winchars.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/winchars.js rename to node_backend/node_modules/tar/lib/winchars.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/lib/write-entry.js b/node_backend/node_modules/tar/lib/write-entry.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/lib/write-entry.js rename to node_backend/node_modules/tar/lib/write-entry.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tar/package.json b/node_backend/node_modules/tar/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tar/package.json rename to node_backend/node_modules/tar/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/toidentifier/HISTORY.md b/node_backend/node_modules/toidentifier/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/toidentifier/HISTORY.md rename to node_backend/node_modules/toidentifier/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/toidentifier/LICENSE b/node_backend/node_modules/toidentifier/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/toidentifier/LICENSE rename to node_backend/node_modules/toidentifier/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/toidentifier/README.md b/node_backend/node_modules/toidentifier/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/toidentifier/README.md rename to node_backend/node_modules/toidentifier/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/toidentifier/index.js b/node_backend/node_modules/toidentifier/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/toidentifier/index.js rename to node_backend/node_modules/toidentifier/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/toidentifier/package.json b/node_backend/node_modules/toidentifier/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/toidentifier/package.json rename to node_backend/node_modules/toidentifier/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/LICENSE.md b/node_backend/node_modules/tr46/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/LICENSE.md rename to node_backend/node_modules/tr46/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/README.md b/node_backend/node_modules/tr46/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/README.md rename to node_backend/node_modules/tr46/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/index.js b/node_backend/node_modules/tr46/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/index.js rename to node_backend/node_modules/tr46/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/lib/mappingTable.json b/node_backend/node_modules/tr46/lib/mappingTable.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/lib/mappingTable.json rename to node_backend/node_modules/tr46/lib/mappingTable.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/lib/regexes.js b/node_backend/node_modules/tr46/lib/regexes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/lib/regexes.js rename to node_backend/node_modules/tr46/lib/regexes.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/lib/statusMapping.js b/node_backend/node_modules/tr46/lib/statusMapping.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/lib/statusMapping.js rename to node_backend/node_modules/tr46/lib/statusMapping.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/tr46/package.json b/node_backend/node_modules/tr46/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/tr46/package.json rename to node_backend/node_modules/tr46/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/type-is/HISTORY.md b/node_backend/node_modules/type-is/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/type-is/HISTORY.md rename to node_backend/node_modules/type-is/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/type-is/LICENSE b/node_backend/node_modules/type-is/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/type-is/LICENSE rename to node_backend/node_modules/type-is/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/type-is/README.md b/node_backend/node_modules/type-is/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/type-is/README.md rename to node_backend/node_modules/type-is/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/type-is/index.js b/node_backend/node_modules/type-is/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/type-is/index.js rename to node_backend/node_modules/type-is/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/type-is/package.json b/node_backend/node_modules/type-is/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/type-is/package.json rename to node_backend/node_modules/type-is/package.json diff --git a/node_backend/node_modules/typedarray/.travis.yml b/node_backend/node_modules/typedarray/.travis.yml new file mode 100644 index 0000000000000000000000000000000000000000..cc4dba29d959a2da7b97f9edd3c7c91384b2ee5b --- /dev/null +++ b/node_backend/node_modules/typedarray/.travis.yml @@ -0,0 +1,4 @@ +language: node_js +node_js: + - "0.8" + - "0.10" diff --git a/node_backend/node_modules/typedarray/LICENSE b/node_backend/node_modules/typedarray/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..11adfaec9e7f95f3eab1ecdd6f1f8715fcdc4311 --- /dev/null +++ b/node_backend/node_modules/typedarray/LICENSE @@ -0,0 +1,35 @@ +/* + Copyright (c) 2010, Linden Research, Inc. + Copyright (c) 2012, Joshua Bell + + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. + $/LicenseInfo$ + */ + +// Original can be found at: +// https://bitbucket.org/lindenlab/llsd +// Modifications by Joshua Bell inexorabletash@gmail.com +// https://github.com/inexorabletash/polyfill + +// ES3/ES5 implementation of the Krhonos Typed Array Specification +// Ref: http://www.khronos.org/registry/typedarray/specs/latest/ +// Date: 2011-02-01 +// +// Variations: +// * Allows typed_array.get/set() as alias for subscripts (typed_array[]) diff --git a/node_backend/node_modules/typedarray/example/tarray.js b/node_backend/node_modules/typedarray/example/tarray.js new file mode 100644 index 0000000000000000000000000000000000000000..8423d7c9b1c327e5c76744eccf7ec469b3ffdd79 --- /dev/null +++ b/node_backend/node_modules/typedarray/example/tarray.js @@ -0,0 +1,4 @@ +var Uint8Array = require('../').Uint8Array; +var ua = new Uint8Array(5); +ua[1] = 256 + 55; +console.log(ua[1]); diff --git a/node_backend/node_modules/typedarray/index.js b/node_backend/node_modules/typedarray/index.js new file mode 100644 index 0000000000000000000000000000000000000000..5e540841f432413f874b4c75ffc7280f114c37eb --- /dev/null +++ b/node_backend/node_modules/typedarray/index.js @@ -0,0 +1,630 @@ +var undefined = (void 0); // Paranoia + +// Beyond this value, index getters/setters (i.e. array[0], array[1]) are so slow to +// create, and consume so much memory, that the browser appears frozen. +var MAX_ARRAY_LENGTH = 1e5; + +// Approximations of internal ECMAScript conversion functions +var ECMAScript = (function() { + // Stash a copy in case other scripts modify these + var opts = Object.prototype.toString, + ophop = Object.prototype.hasOwnProperty; + + return { + // Class returns internal [[Class]] property, used to avoid cross-frame instanceof issues: + Class: function(v) { return opts.call(v).replace(/^\[object *|\]$/g, ''); }, + HasProperty: function(o, p) { return p in o; }, + HasOwnProperty: function(o, p) { return ophop.call(o, p); }, + IsCallable: function(o) { return typeof o === 'function'; }, + ToInt32: function(v) { return v >> 0; }, + ToUint32: function(v) { return v >>> 0; } + }; +}()); + +// Snapshot intrinsics +var LN2 = Math.LN2, + abs = Math.abs, + floor = Math.floor, + log = Math.log, + min = Math.min, + pow = Math.pow, + round = Math.round; + +// ES5: lock down object properties +function configureProperties(obj) { + if (getOwnPropNames && defineProp) { + var props = getOwnPropNames(obj), i; + for (i = 0; i < props.length; i += 1) { + defineProp(obj, props[i], { + value: obj[props[i]], + writable: false, + enumerable: false, + configurable: false + }); + } + } +} + +// emulate ES5 getter/setter API using legacy APIs +// http://blogs.msdn.com/b/ie/archive/2010/09/07/transitioning-existing-code-to-the-es5-getter-setter-apis.aspx +// (second clause tests for Object.defineProperty() in IE<9 that only supports extending DOM prototypes, but +// note that IE<9 does not support __defineGetter__ or __defineSetter__ so it just renders the method harmless) +var defineProp +if (Object.defineProperty && (function() { + try { + Object.defineProperty({}, 'x', {}); + return true; + } catch (e) { + return false; + } + })()) { + defineProp = Object.defineProperty; +} else { + defineProp = function(o, p, desc) { + if (!o === Object(o)) throw new TypeError("Object.defineProperty called on non-object"); + if (ECMAScript.HasProperty(desc, 'get') && Object.prototype.__defineGetter__) { Object.prototype.__defineGetter__.call(o, p, desc.get); } + if (ECMAScript.HasProperty(desc, 'set') && Object.prototype.__defineSetter__) { Object.prototype.__defineSetter__.call(o, p, desc.set); } + if (ECMAScript.HasProperty(desc, 'value')) { o[p] = desc.value; } + return o; + }; +} + +var getOwnPropNames = Object.getOwnPropertyNames || function (o) { + if (o !== Object(o)) throw new TypeError("Object.getOwnPropertyNames called on non-object"); + var props = [], p; + for (p in o) { + if (ECMAScript.HasOwnProperty(o, p)) { + props.push(p); + } + } + return props; +}; + +// ES5: Make obj[index] an alias for obj._getter(index)/obj._setter(index, value) +// for index in 0 ... obj.length +function makeArrayAccessors(obj) { + if (!defineProp) { return; } + + if (obj.length > MAX_ARRAY_LENGTH) throw new RangeError("Array too large for polyfill"); + + function makeArrayAccessor(index) { + defineProp(obj, index, { + 'get': function() { return obj._getter(index); }, + 'set': function(v) { obj._setter(index, v); }, + enumerable: true, + configurable: false + }); + } + + var i; + for (i = 0; i < obj.length; i += 1) { + makeArrayAccessor(i); + } +} + +// Internal conversion functions: +// pack() - take a number (interpreted as Type), output a byte array +// unpack() - take a byte array, output a Type-like number + +function as_signed(value, bits) { var s = 32 - bits; return (value << s) >> s; } +function as_unsigned(value, bits) { var s = 32 - bits; return (value << s) >>> s; } + +function packI8(n) { return [n & 0xff]; } +function unpackI8(bytes) { return as_signed(bytes[0], 8); } + +function packU8(n) { return [n & 0xff]; } +function unpackU8(bytes) { return as_unsigned(bytes[0], 8); } + +function packU8Clamped(n) { n = round(Number(n)); return [n < 0 ? 0 : n > 0xff ? 0xff : n & 0xff]; } + +function packI16(n) { return [(n >> 8) & 0xff, n & 0xff]; } +function unpackI16(bytes) { return as_signed(bytes[0] << 8 | bytes[1], 16); } + +function packU16(n) { return [(n >> 8) & 0xff, n & 0xff]; } +function unpackU16(bytes) { return as_unsigned(bytes[0] << 8 | bytes[1], 16); } + +function packI32(n) { return [(n >> 24) & 0xff, (n >> 16) & 0xff, (n >> 8) & 0xff, n & 0xff]; } +function unpackI32(bytes) { return as_signed(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); } + +function packU32(n) { return [(n >> 24) & 0xff, (n >> 16) & 0xff, (n >> 8) & 0xff, n & 0xff]; } +function unpackU32(bytes) { return as_unsigned(bytes[0] << 24 | bytes[1] << 16 | bytes[2] << 8 | bytes[3], 32); } + +function packIEEE754(v, ebits, fbits) { + + var bias = (1 << (ebits - 1)) - 1, + s, e, f, ln, + i, bits, str, bytes; + + function roundToEven(n) { + var w = floor(n), f = n - w; + if (f < 0.5) + return w; + if (f > 0.5) + return w + 1; + return w % 2 ? w + 1 : w; + } + + // Compute sign, exponent, fraction + if (v !== v) { + // NaN + // http://dev.w3.org/2006/webapi/WebIDL/#es-type-mapping + e = (1 << ebits) - 1; f = pow(2, fbits - 1); s = 0; + } else if (v === Infinity || v === -Infinity) { + e = (1 << ebits) - 1; f = 0; s = (v < 0) ? 1 : 0; + } else if (v === 0) { + e = 0; f = 0; s = (1 / v === -Infinity) ? 1 : 0; + } else { + s = v < 0; + v = abs(v); + + if (v >= pow(2, 1 - bias)) { + e = min(floor(log(v) / LN2), 1023); + f = roundToEven(v / pow(2, e) * pow(2, fbits)); + if (f / pow(2, fbits) >= 2) { + e = e + 1; + f = 1; + } + if (e > bias) { + // Overflow + e = (1 << ebits) - 1; + f = 0; + } else { + // Normalized + e = e + bias; + f = f - pow(2, fbits); + } + } else { + // Denormalized + e = 0; + f = roundToEven(v / pow(2, 1 - bias - fbits)); + } + } + + // Pack sign, exponent, fraction + bits = []; + for (i = fbits; i; i -= 1) { bits.push(f % 2 ? 1 : 0); f = floor(f / 2); } + for (i = ebits; i; i -= 1) { bits.push(e % 2 ? 1 : 0); e = floor(e / 2); } + bits.push(s ? 1 : 0); + bits.reverse(); + str = bits.join(''); + + // Bits to bytes + bytes = []; + while (str.length) { + bytes.push(parseInt(str.substring(0, 8), 2)); + str = str.substring(8); + } + return bytes; +} + +function unpackIEEE754(bytes, ebits, fbits) { + + // Bytes to bits + var bits = [], i, j, b, str, + bias, s, e, f; + + for (i = bytes.length; i; i -= 1) { + b = bytes[i - 1]; + for (j = 8; j; j -= 1) { + bits.push(b % 2 ? 1 : 0); b = b >> 1; + } + } + bits.reverse(); + str = bits.join(''); + + // Unpack sign, exponent, fraction + bias = (1 << (ebits - 1)) - 1; + s = parseInt(str.substring(0, 1), 2) ? -1 : 1; + e = parseInt(str.substring(1, 1 + ebits), 2); + f = parseInt(str.substring(1 + ebits), 2); + + // Produce number + if (e === (1 << ebits) - 1) { + return f !== 0 ? NaN : s * Infinity; + } else if (e > 0) { + // Normalized + return s * pow(2, e - bias) * (1 + f / pow(2, fbits)); + } else if (f !== 0) { + // Denormalized + return s * pow(2, -(bias - 1)) * (f / pow(2, fbits)); + } else { + return s < 0 ? -0 : 0; + } +} + +function unpackF64(b) { return unpackIEEE754(b, 11, 52); } +function packF64(v) { return packIEEE754(v, 11, 52); } +function unpackF32(b) { return unpackIEEE754(b, 8, 23); } +function packF32(v) { return packIEEE754(v, 8, 23); } + + +// +// 3 The ArrayBuffer Type +// + +(function() { + + /** @constructor */ + var ArrayBuffer = function ArrayBuffer(length) { + length = ECMAScript.ToInt32(length); + if (length < 0) throw new RangeError('ArrayBuffer size is not a small enough positive integer'); + + this.byteLength = length; + this._bytes = []; + this._bytes.length = length; + + var i; + for (i = 0; i < this.byteLength; i += 1) { + this._bytes[i] = 0; + } + + configureProperties(this); + }; + + exports.ArrayBuffer = exports.ArrayBuffer || ArrayBuffer; + + // + // 4 The ArrayBufferView Type + // + + // NOTE: this constructor is not exported + /** @constructor */ + var ArrayBufferView = function ArrayBufferView() { + //this.buffer = null; + //this.byteOffset = 0; + //this.byteLength = 0; + }; + + // + // 5 The Typed Array View Types + // + + function makeConstructor(bytesPerElement, pack, unpack) { + // Each TypedArray type requires a distinct constructor instance with + // identical logic, which this produces. + + var ctor; + ctor = function(buffer, byteOffset, length) { + var array, sequence, i, s; + + if (!arguments.length || typeof arguments[0] === 'number') { + // Constructor(unsigned long length) + this.length = ECMAScript.ToInt32(arguments[0]); + if (length < 0) throw new RangeError('ArrayBufferView size is not a small enough positive integer'); + + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + } else if (typeof arguments[0] === 'object' && arguments[0].constructor === ctor) { + // Constructor(TypedArray array) + array = arguments[0]; + + this.length = array.length; + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + + for (i = 0; i < this.length; i += 1) { + this._setter(i, array._getter(i)); + } + } else if (typeof arguments[0] === 'object' && + !(arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { + // Constructor(sequence array) + sequence = arguments[0]; + + this.length = ECMAScript.ToUint32(sequence.length); + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + this.buffer = new ArrayBuffer(this.byteLength); + this.byteOffset = 0; + + for (i = 0; i < this.length; i += 1) { + s = sequence[i]; + this._setter(i, Number(s)); + } + } else if (typeof arguments[0] === 'object' && + (arguments[0] instanceof ArrayBuffer || ECMAScript.Class(arguments[0]) === 'ArrayBuffer')) { + // Constructor(ArrayBuffer buffer, + // optional unsigned long byteOffset, optional unsigned long length) + this.buffer = buffer; + + this.byteOffset = ECMAScript.ToUint32(byteOffset); + if (this.byteOffset > this.buffer.byteLength) { + throw new RangeError("byteOffset out of range"); + } + + if (this.byteOffset % this.BYTES_PER_ELEMENT) { + // The given byteOffset must be a multiple of the element + // size of the specific type, otherwise an exception is raised. + throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size."); + } + + if (arguments.length < 3) { + this.byteLength = this.buffer.byteLength - this.byteOffset; + + if (this.byteLength % this.BYTES_PER_ELEMENT) { + throw new RangeError("length of buffer minus byteOffset not a multiple of the element size"); + } + this.length = this.byteLength / this.BYTES_PER_ELEMENT; + } else { + this.length = ECMAScript.ToUint32(length); + this.byteLength = this.length * this.BYTES_PER_ELEMENT; + } + + if ((this.byteOffset + this.byteLength) > this.buffer.byteLength) { + throw new RangeError("byteOffset and length reference an area beyond the end of the buffer"); + } + } else { + throw new TypeError("Unexpected argument type(s)"); + } + + this.constructor = ctor; + + configureProperties(this); + makeArrayAccessors(this); + }; + + ctor.prototype = new ArrayBufferView(); + ctor.prototype.BYTES_PER_ELEMENT = bytesPerElement; + ctor.prototype._pack = pack; + ctor.prototype._unpack = unpack; + ctor.BYTES_PER_ELEMENT = bytesPerElement; + + // getter type (unsigned long index); + ctor.prototype._getter = function(index) { + if (arguments.length < 1) throw new SyntaxError("Not enough arguments"); + + index = ECMAScript.ToUint32(index); + if (index >= this.length) { + return undefined; + } + + var bytes = [], i, o; + for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; + i < this.BYTES_PER_ELEMENT; + i += 1, o += 1) { + bytes.push(this.buffer._bytes[o]); + } + return this._unpack(bytes); + }; + + // NONSTANDARD: convenience alias for getter: type get(unsigned long index); + ctor.prototype.get = ctor.prototype._getter; + + // setter void (unsigned long index, type value); + ctor.prototype._setter = function(index, value) { + if (arguments.length < 2) throw new SyntaxError("Not enough arguments"); + + index = ECMAScript.ToUint32(index); + if (index >= this.length) { + return undefined; + } + + var bytes = this._pack(value), i, o; + for (i = 0, o = this.byteOffset + index * this.BYTES_PER_ELEMENT; + i < this.BYTES_PER_ELEMENT; + i += 1, o += 1) { + this.buffer._bytes[o] = bytes[i]; + } + }; + + // void set(TypedArray array, optional unsigned long offset); + // void set(sequence array, optional unsigned long offset); + ctor.prototype.set = function(index, value) { + if (arguments.length < 1) throw new SyntaxError("Not enough arguments"); + var array, sequence, offset, len, + i, s, d, + byteOffset, byteLength, tmp; + + if (typeof arguments[0] === 'object' && arguments[0].constructor === this.constructor) { + // void set(TypedArray array, optional unsigned long offset); + array = arguments[0]; + offset = ECMAScript.ToUint32(arguments[1]); + + if (offset + array.length > this.length) { + throw new RangeError("Offset plus length of array is out of range"); + } + + byteOffset = this.byteOffset + offset * this.BYTES_PER_ELEMENT; + byteLength = array.length * this.BYTES_PER_ELEMENT; + + if (array.buffer === this.buffer) { + tmp = []; + for (i = 0, s = array.byteOffset; i < byteLength; i += 1, s += 1) { + tmp[i] = array.buffer._bytes[s]; + } + for (i = 0, d = byteOffset; i < byteLength; i += 1, d += 1) { + this.buffer._bytes[d] = tmp[i]; + } + } else { + for (i = 0, s = array.byteOffset, d = byteOffset; + i < byteLength; i += 1, s += 1, d += 1) { + this.buffer._bytes[d] = array.buffer._bytes[s]; + } + } + } else if (typeof arguments[0] === 'object' && typeof arguments[0].length !== 'undefined') { + // void set(sequence array, optional unsigned long offset); + sequence = arguments[0]; + len = ECMAScript.ToUint32(sequence.length); + offset = ECMAScript.ToUint32(arguments[1]); + + if (offset + len > this.length) { + throw new RangeError("Offset plus length of array is out of range"); + } + + for (i = 0; i < len; i += 1) { + s = sequence[i]; + this._setter(offset + i, Number(s)); + } + } else { + throw new TypeError("Unexpected argument type(s)"); + } + }; + + // TypedArray subarray(long begin, optional long end); + ctor.prototype.subarray = function(start, end) { + function clamp(v, min, max) { return v < min ? min : v > max ? max : v; } + + start = ECMAScript.ToInt32(start); + end = ECMAScript.ToInt32(end); + + if (arguments.length < 1) { start = 0; } + if (arguments.length < 2) { end = this.length; } + + if (start < 0) { start = this.length + start; } + if (end < 0) { end = this.length + end; } + + start = clamp(start, 0, this.length); + end = clamp(end, 0, this.length); + + var len = end - start; + if (len < 0) { + len = 0; + } + + return new this.constructor( + this.buffer, this.byteOffset + start * this.BYTES_PER_ELEMENT, len); + }; + + return ctor; + } + + var Int8Array = makeConstructor(1, packI8, unpackI8); + var Uint8Array = makeConstructor(1, packU8, unpackU8); + var Uint8ClampedArray = makeConstructor(1, packU8Clamped, unpackU8); + var Int16Array = makeConstructor(2, packI16, unpackI16); + var Uint16Array = makeConstructor(2, packU16, unpackU16); + var Int32Array = makeConstructor(4, packI32, unpackI32); + var Uint32Array = makeConstructor(4, packU32, unpackU32); + var Float32Array = makeConstructor(4, packF32, unpackF32); + var Float64Array = makeConstructor(8, packF64, unpackF64); + + exports.Int8Array = exports.Int8Array || Int8Array; + exports.Uint8Array = exports.Uint8Array || Uint8Array; + exports.Uint8ClampedArray = exports.Uint8ClampedArray || Uint8ClampedArray; + exports.Int16Array = exports.Int16Array || Int16Array; + exports.Uint16Array = exports.Uint16Array || Uint16Array; + exports.Int32Array = exports.Int32Array || Int32Array; + exports.Uint32Array = exports.Uint32Array || Uint32Array; + exports.Float32Array = exports.Float32Array || Float32Array; + exports.Float64Array = exports.Float64Array || Float64Array; +}()); + +// +// 6 The DataView View Type +// + +(function() { + function r(array, index) { + return ECMAScript.IsCallable(array.get) ? array.get(index) : array[index]; + } + + var IS_BIG_ENDIAN = (function() { + var u16array = new(exports.Uint16Array)([0x1234]), + u8array = new(exports.Uint8Array)(u16array.buffer); + return r(u8array, 0) === 0x12; + }()); + + // Constructor(ArrayBuffer buffer, + // optional unsigned long byteOffset, + // optional unsigned long byteLength) + /** @constructor */ + var DataView = function DataView(buffer, byteOffset, byteLength) { + if (arguments.length === 0) { + buffer = new exports.ArrayBuffer(0); + } else if (!(buffer instanceof exports.ArrayBuffer || ECMAScript.Class(buffer) === 'ArrayBuffer')) { + throw new TypeError("TypeError"); + } + + this.buffer = buffer || new exports.ArrayBuffer(0); + + this.byteOffset = ECMAScript.ToUint32(byteOffset); + if (this.byteOffset > this.buffer.byteLength) { + throw new RangeError("byteOffset out of range"); + } + + if (arguments.length < 3) { + this.byteLength = this.buffer.byteLength - this.byteOffset; + } else { + this.byteLength = ECMAScript.ToUint32(byteLength); + } + + if ((this.byteOffset + this.byteLength) > this.buffer.byteLength) { + throw new RangeError("byteOffset and length reference an area beyond the end of the buffer"); + } + + configureProperties(this); + }; + + function makeGetter(arrayType) { + return function(byteOffset, littleEndian) { + + byteOffset = ECMAScript.ToUint32(byteOffset); + + if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { + throw new RangeError("Array index out of range"); + } + byteOffset += this.byteOffset; + + var uint8Array = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT), + bytes = [], i; + for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { + bytes.push(r(uint8Array, i)); + } + + if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { + bytes.reverse(); + } + + return r(new arrayType(new exports.Uint8Array(bytes).buffer), 0); + }; + } + + DataView.prototype.getUint8 = makeGetter(exports.Uint8Array); + DataView.prototype.getInt8 = makeGetter(exports.Int8Array); + DataView.prototype.getUint16 = makeGetter(exports.Uint16Array); + DataView.prototype.getInt16 = makeGetter(exports.Int16Array); + DataView.prototype.getUint32 = makeGetter(exports.Uint32Array); + DataView.prototype.getInt32 = makeGetter(exports.Int32Array); + DataView.prototype.getFloat32 = makeGetter(exports.Float32Array); + DataView.prototype.getFloat64 = makeGetter(exports.Float64Array); + + function makeSetter(arrayType) { + return function(byteOffset, value, littleEndian) { + + byteOffset = ECMAScript.ToUint32(byteOffset); + if (byteOffset + arrayType.BYTES_PER_ELEMENT > this.byteLength) { + throw new RangeError("Array index out of range"); + } + + // Get bytes + var typeArray = new arrayType([value]), + byteArray = new exports.Uint8Array(typeArray.buffer), + bytes = [], i, byteView; + + for (i = 0; i < arrayType.BYTES_PER_ELEMENT; i += 1) { + bytes.push(r(byteArray, i)); + } + + // Flip if necessary + if (Boolean(littleEndian) === Boolean(IS_BIG_ENDIAN)) { + bytes.reverse(); + } + + // Write them + byteView = new exports.Uint8Array(this.buffer, byteOffset, arrayType.BYTES_PER_ELEMENT); + byteView.set(bytes); + }; + } + + DataView.prototype.setUint8 = makeSetter(exports.Uint8Array); + DataView.prototype.setInt8 = makeSetter(exports.Int8Array); + DataView.prototype.setUint16 = makeSetter(exports.Uint16Array); + DataView.prototype.setInt16 = makeSetter(exports.Int16Array); + DataView.prototype.setUint32 = makeSetter(exports.Uint32Array); + DataView.prototype.setInt32 = makeSetter(exports.Int32Array); + DataView.prototype.setFloat32 = makeSetter(exports.Float32Array); + DataView.prototype.setFloat64 = makeSetter(exports.Float64Array); + + exports.DataView = exports.DataView || DataView; + +}()); diff --git a/node_backend/node_modules/typedarray/package.json b/node_backend/node_modules/typedarray/package.json new file mode 100644 index 0000000000000000000000000000000000000000..a7854a0fc5fb420607f8519afbbf588597f0628e --- /dev/null +++ b/node_backend/node_modules/typedarray/package.json @@ -0,0 +1,55 @@ +{ + "name": "typedarray", + "version": "0.0.6", + "description": "TypedArray polyfill for old browsers", + "main": "index.js", + "devDependencies": { + "tape": "~2.3.2" + }, + "scripts": { + "test": "tape test/*.js test/server/*.js" + }, + "repository": { + "type": "git", + "url": "git://github.com/substack/typedarray.git" + }, + "homepage": "https://github.com/substack/typedarray", + "keywords": [ + "ArrayBuffer", + "DataView", + "Float32Array", + "Float64Array", + "Int8Array", + "Int16Array", + "Int32Array", + "Uint8Array", + "Uint8ClampedArray", + "Uint16Array", + "Uint32Array", + "typed", + "array", + "polyfill" + ], + "author": { + "name": "James Halliday", + "email": "mail@substack.net", + "url": "http://substack.net" + }, + "license": "MIT", + "testling": { + "files": "test/*.js", + "browsers": [ + "ie/6..latest", + "firefox/16..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest", + "android-browser/4.2..latest" + ] + } +} diff --git a/node_backend/node_modules/typedarray/readme.markdown b/node_backend/node_modules/typedarray/readme.markdown new file mode 100644 index 0000000000000000000000000000000000000000..d18f6f7197e6a5d852c592ba7539d58e9e4ea729 --- /dev/null +++ b/node_backend/node_modules/typedarray/readme.markdown @@ -0,0 +1,61 @@ +# typedarray + +TypedArray polyfill ripped from [this +module](https://raw.github.com/inexorabletash/polyfill). + +[![build status](https://secure.travis-ci.org/substack/typedarray.png)](http://travis-ci.org/substack/typedarray) + +[![testling badge](https://ci.testling.com/substack/typedarray.png)](https://ci.testling.com/substack/typedarray) + +# example + +``` js +var Uint8Array = require('typedarray').Uint8Array; +var ua = new Uint8Array(5); +ua[1] = 256 + 55; +console.log(ua[1]); +``` + +output: + +``` +55 +``` + +# methods + +``` js +var TA = require('typedarray') +``` + +The `TA` object has the following constructors: + +* TA.ArrayBuffer +* TA.DataView +* TA.Float32Array +* TA.Float64Array +* TA.Int8Array +* TA.Int16Array +* TA.Int32Array +* TA.Uint8Array +* TA.Uint8ClampedArray +* TA.Uint16Array +* TA.Uint32Array + +# install + +With [npm](https://npmjs.org) do: + +``` +npm install typedarray +``` + +To use this module in the browser, compile with +[browserify](http://browserify.org) +or download a UMD build from browserify CDN: + +http://wzrd.in/standalone/typedarray@latest + +# license + +MIT diff --git a/node_backend/node_modules/typedarray/test/server/undef_globals.js b/node_backend/node_modules/typedarray/test/server/undef_globals.js new file mode 100644 index 0000000000000000000000000000000000000000..425950f9fc9ed7c09d78c749f27014cfdf4a84d3 --- /dev/null +++ b/node_backend/node_modules/typedarray/test/server/undef_globals.js @@ -0,0 +1,19 @@ +var test = require('tape'); +var vm = require('vm'); +var fs = require('fs'); +var src = fs.readFileSync(__dirname + '/../../index.js', 'utf8'); + +test('u8a without globals', function (t) { + var c = { + module: { exports: {} }, + }; + c.exports = c.module.exports; + vm.runInNewContext(src, c); + var TA = c.module.exports; + var ua = new(TA.Uint8Array)(5); + + t.equal(ua.length, 5); + ua[1] = 256 + 55; + t.equal(ua[1], 55); + t.end(); +}); diff --git a/node_backend/node_modules/typedarray/test/tarray.js b/node_backend/node_modules/typedarray/test/tarray.js new file mode 100644 index 0000000000000000000000000000000000000000..df596a34f23c0ef931cd5b41139985b8d23e8e2f --- /dev/null +++ b/node_backend/node_modules/typedarray/test/tarray.js @@ -0,0 +1,10 @@ +var TA = require('../'); +var test = require('tape'); + +test('tiny u8a test', function (t) { + var ua = new(TA.Uint8Array)(5); + t.equal(ua.length, 5); + ua[1] = 256 + 55; + t.equal(ua[1], 55); + t.end(); +}); diff --git a/Inscripciones_UAIE/node_backend/node_modules/unpipe/HISTORY.md b/node_backend/node_modules/unpipe/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/unpipe/HISTORY.md rename to node_backend/node_modules/unpipe/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/unpipe/LICENSE b/node_backend/node_modules/unpipe/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/unpipe/LICENSE rename to node_backend/node_modules/unpipe/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/unpipe/README.md b/node_backend/node_modules/unpipe/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/unpipe/README.md rename to node_backend/node_modules/unpipe/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/unpipe/index.js b/node_backend/node_modules/unpipe/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/unpipe/index.js rename to node_backend/node_modules/unpipe/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/unpipe/package.json b/node_backend/node_modules/unpipe/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/unpipe/package.json rename to node_backend/node_modules/unpipe/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/History.md b/node_backend/node_modules/util-deprecate/History.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/History.md rename to node_backend/node_modules/util-deprecate/History.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/LICENSE b/node_backend/node_modules/util-deprecate/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/LICENSE rename to node_backend/node_modules/util-deprecate/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/README.md b/node_backend/node_modules/util-deprecate/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/README.md rename to node_backend/node_modules/util-deprecate/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/browser.js b/node_backend/node_modules/util-deprecate/browser.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/browser.js rename to node_backend/node_modules/util-deprecate/browser.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/node.js b/node_backend/node_modules/util-deprecate/node.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/node.js rename to node_backend/node_modules/util-deprecate/node.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/util-deprecate/package.json b/node_backend/node_modules/util-deprecate/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/util-deprecate/package.json rename to node_backend/node_modules/util-deprecate/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/utils-merge/.npmignore b/node_backend/node_modules/utils-merge/.npmignore similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/utils-merge/.npmignore rename to node_backend/node_modules/utils-merge/.npmignore diff --git a/Inscripciones_UAIE/node_backend/node_modules/utils-merge/LICENSE b/node_backend/node_modules/utils-merge/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/utils-merge/LICENSE rename to node_backend/node_modules/utils-merge/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/utils-merge/README.md b/node_backend/node_modules/utils-merge/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/utils-merge/README.md rename to node_backend/node_modules/utils-merge/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/utils-merge/index.js b/node_backend/node_modules/utils-merge/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/utils-merge/index.js rename to node_backend/node_modules/utils-merge/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/utils-merge/package.json b/node_backend/node_modules/utils-merge/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/utils-merge/package.json rename to node_backend/node_modules/utils-merge/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/vary/HISTORY.md b/node_backend/node_modules/vary/HISTORY.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/vary/HISTORY.md rename to node_backend/node_modules/vary/HISTORY.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/vary/LICENSE b/node_backend/node_modules/vary/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/vary/LICENSE rename to node_backend/node_modules/vary/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/vary/README.md b/node_backend/node_modules/vary/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/vary/README.md rename to node_backend/node_modules/vary/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/vary/index.js b/node_backend/node_modules/vary/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/vary/index.js rename to node_backend/node_modules/vary/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/vary/package.json b/node_backend/node_modules/vary/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/vary/package.json rename to node_backend/node_modules/vary/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/LICENSE.md b/node_backend/node_modules/webidl-conversions/LICENSE.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/LICENSE.md rename to node_backend/node_modules/webidl-conversions/LICENSE.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/README.md b/node_backend/node_modules/webidl-conversions/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/README.md rename to node_backend/node_modules/webidl-conversions/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/lib/index.js b/node_backend/node_modules/webidl-conversions/lib/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/lib/index.js rename to node_backend/node_modules/webidl-conversions/lib/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/package.json b/node_backend/node_modules/webidl-conversions/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/webidl-conversions/package.json rename to node_backend/node_modules/webidl-conversions/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/LICENSE.txt b/node_backend/node_modules/whatwg-url/LICENSE.txt similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/LICENSE.txt rename to node_backend/node_modules/whatwg-url/LICENSE.txt diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/README.md b/node_backend/node_modules/whatwg-url/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/README.md rename to node_backend/node_modules/whatwg-url/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/index.js b/node_backend/node_modules/whatwg-url/index.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/index.js rename to node_backend/node_modules/whatwg-url/index.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/Function.js b/node_backend/node_modules/whatwg-url/lib/Function.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/Function.js rename to node_backend/node_modules/whatwg-url/lib/Function.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URL-impl.js b/node_backend/node_modules/whatwg-url/lib/URL-impl.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URL-impl.js rename to node_backend/node_modules/whatwg-url/lib/URL-impl.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URL.js b/node_backend/node_modules/whatwg-url/lib/URL.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URL.js rename to node_backend/node_modules/whatwg-url/lib/URL.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URLSearchParams-impl.js b/node_backend/node_modules/whatwg-url/lib/URLSearchParams-impl.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URLSearchParams-impl.js rename to node_backend/node_modules/whatwg-url/lib/URLSearchParams-impl.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URLSearchParams.js b/node_backend/node_modules/whatwg-url/lib/URLSearchParams.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/URLSearchParams.js rename to node_backend/node_modules/whatwg-url/lib/URLSearchParams.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/VoidFunction.js b/node_backend/node_modules/whatwg-url/lib/VoidFunction.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/VoidFunction.js rename to node_backend/node_modules/whatwg-url/lib/VoidFunction.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/encoding.js b/node_backend/node_modules/whatwg-url/lib/encoding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/encoding.js rename to node_backend/node_modules/whatwg-url/lib/encoding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/infra.js b/node_backend/node_modules/whatwg-url/lib/infra.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/infra.js rename to node_backend/node_modules/whatwg-url/lib/infra.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/percent-encoding.js b/node_backend/node_modules/whatwg-url/lib/percent-encoding.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/percent-encoding.js rename to node_backend/node_modules/whatwg-url/lib/percent-encoding.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/url-state-machine.js b/node_backend/node_modules/whatwg-url/lib/url-state-machine.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/url-state-machine.js rename to node_backend/node_modules/whatwg-url/lib/url-state-machine.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/urlencoded.js b/node_backend/node_modules/whatwg-url/lib/urlencoded.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/urlencoded.js rename to node_backend/node_modules/whatwg-url/lib/urlencoded.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/utils.js b/node_backend/node_modules/whatwg-url/lib/utils.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/lib/utils.js rename to node_backend/node_modules/whatwg-url/lib/utils.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/package.json b/node_backend/node_modules/whatwg-url/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/package.json rename to node_backend/node_modules/whatwg-url/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/whatwg-url/webidl2js-wrapper.js b/node_backend/node_modules/whatwg-url/webidl2js-wrapper.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/whatwg-url/webidl2js-wrapper.js rename to node_backend/node_modules/whatwg-url/webidl2js-wrapper.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/wide-align/LICENSE b/node_backend/node_modules/wide-align/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wide-align/LICENSE rename to node_backend/node_modules/wide-align/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/wide-align/README.md b/node_backend/node_modules/wide-align/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wide-align/README.md rename to node_backend/node_modules/wide-align/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/wide-align/align.js b/node_backend/node_modules/wide-align/align.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wide-align/align.js rename to node_backend/node_modules/wide-align/align.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/wide-align/package.json b/node_backend/node_modules/wide-align/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wide-align/package.json rename to node_backend/node_modules/wide-align/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/wrappy/LICENSE b/node_backend/node_modules/wrappy/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wrappy/LICENSE rename to node_backend/node_modules/wrappy/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/wrappy/README.md b/node_backend/node_modules/wrappy/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wrappy/README.md rename to node_backend/node_modules/wrappy/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/wrappy/package.json b/node_backend/node_modules/wrappy/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wrappy/package.json rename to node_backend/node_modules/wrappy/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/wrappy/wrappy.js b/node_backend/node_modules/wrappy/wrappy.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/wrappy/wrappy.js rename to node_backend/node_modules/wrappy/wrappy.js diff --git a/node_backend/node_modules/xtend/.jshintrc b/node_backend/node_modules/xtend/.jshintrc new file mode 100644 index 0000000000000000000000000000000000000000..77887b5f0f2efc24bd55430cb6f95f8a0cad89d8 --- /dev/null +++ b/node_backend/node_modules/xtend/.jshintrc @@ -0,0 +1,30 @@ +{ + "maxdepth": 4, + "maxstatements": 200, + "maxcomplexity": 12, + "maxlen": 80, + "maxparams": 5, + + "curly": true, + "eqeqeq": true, + "immed": true, + "latedef": false, + "noarg": true, + "noempty": true, + "nonew": true, + "undef": true, + "unused": "vars", + "trailing": true, + + "quotmark": true, + "expr": true, + "asi": true, + + "browser": false, + "esnext": true, + "devel": false, + "node": false, + "nonstandard": false, + + "predef": ["require", "module", "__dirname", "__filename"] +} diff --git a/node_backend/node_modules/xtend/LICENSE b/node_backend/node_modules/xtend/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..0099f4f6c77f40ac409076408ad07449ffe246d3 --- /dev/null +++ b/node_backend/node_modules/xtend/LICENSE @@ -0,0 +1,20 @@ +The MIT License (MIT) +Copyright (c) 2012-2014 Raynos. + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/node_backend/node_modules/xtend/README.md b/node_backend/node_modules/xtend/README.md new file mode 100644 index 0000000000000000000000000000000000000000..4a2703cff276b155e89c3abb7b09fbdfe90273f4 --- /dev/null +++ b/node_backend/node_modules/xtend/README.md @@ -0,0 +1,32 @@ +# xtend + +[![browser support][3]][4] + +[![locked](http://badges.github.io/stability-badges/dist/locked.svg)](http://github.com/badges/stability-badges) + +Extend like a boss + +xtend is a basic utility library which allows you to extend an object by appending all of the properties from each object in a list. When there are identical properties, the right-most property takes precedence. + +## Examples + +```js +var extend = require("xtend") + +// extend returns a new object. Does not mutate arguments +var combination = extend({ + a: "a", + b: "c" +}, { + b: "b" +}) +// { a: "a", b: "b" } +``` + +## Stability status: Locked + +## MIT Licensed + + + [3]: http://ci.testling.com/Raynos/xtend.png + [4]: http://ci.testling.com/Raynos/xtend diff --git a/node_backend/node_modules/xtend/immutable.js b/node_backend/node_modules/xtend/immutable.js new file mode 100644 index 0000000000000000000000000000000000000000..94889c9de11a181cec153de1713c8ae14ae4cb43 --- /dev/null +++ b/node_backend/node_modules/xtend/immutable.js @@ -0,0 +1,19 @@ +module.exports = extend + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +function extend() { + var target = {} + + for (var i = 0; i < arguments.length; i++) { + var source = arguments[i] + + for (var key in source) { + if (hasOwnProperty.call(source, key)) { + target[key] = source[key] + } + } + } + + return target +} diff --git a/node_backend/node_modules/xtend/mutable.js b/node_backend/node_modules/xtend/mutable.js new file mode 100644 index 0000000000000000000000000000000000000000..72debede6ca58592fe93b5ab22d434311a76861b --- /dev/null +++ b/node_backend/node_modules/xtend/mutable.js @@ -0,0 +1,17 @@ +module.exports = extend + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +function extend(target) { + for (var i = 1; i < arguments.length; i++) { + var source = arguments[i] + + for (var key in source) { + if (hasOwnProperty.call(source, key)) { + target[key] = source[key] + } + } + } + + return target +} diff --git a/node_backend/node_modules/xtend/package.json b/node_backend/node_modules/xtend/package.json new file mode 100644 index 0000000000000000000000000000000000000000..f7a39d10af5f5ea48fcd948e72ba6af62e372d39 --- /dev/null +++ b/node_backend/node_modules/xtend/package.json @@ -0,0 +1,55 @@ +{ + "name": "xtend", + "version": "4.0.2", + "description": "extend like a boss", + "keywords": [ + "extend", + "merge", + "options", + "opts", + "object", + "array" + ], + "author": "Raynos ", + "repository": "git://github.com/Raynos/xtend.git", + "main": "immutable", + "scripts": { + "test": "node test" + }, + "dependencies": {}, + "devDependencies": { + "tape": "~1.1.0" + }, + "homepage": "https://github.com/Raynos/xtend", + "contributors": [ + { + "name": "Jake Verbaten" + }, + { + "name": "Matt Esch" + } + ], + "bugs": { + "url": "https://github.com/Raynos/xtend/issues", + "email": "raynos2@gmail.com" + }, + "license": "MIT", + "testling": { + "files": "test.js", + "browsers": [ + "ie/7..latest", + "firefox/16..latest", + "firefox/nightly", + "chrome/22..latest", + "chrome/canary", + "opera/12..latest", + "opera/next", + "safari/5.1..latest", + "ipad/6.0..latest", + "iphone/6.0..latest" + ] + }, + "engines": { + "node": ">=0.4" + } +} diff --git a/node_backend/node_modules/xtend/test.js b/node_backend/node_modules/xtend/test.js new file mode 100644 index 0000000000000000000000000000000000000000..b895b42b3f76804de7ee2ef0231a3343b2f461b3 --- /dev/null +++ b/node_backend/node_modules/xtend/test.js @@ -0,0 +1,103 @@ +var test = require("tape") +var extend = require("./") +var mutableExtend = require("./mutable") + +test("merge", function(assert) { + var a = { a: "foo" } + var b = { b: "bar" } + + assert.deepEqual(extend(a, b), { a: "foo", b: "bar" }) + assert.end() +}) + +test("replace", function(assert) { + var a = { a: "foo" } + var b = { a: "bar" } + + assert.deepEqual(extend(a, b), { a: "bar" }) + assert.end() +}) + +test("undefined", function(assert) { + var a = { a: undefined } + var b = { b: "foo" } + + assert.deepEqual(extend(a, b), { a: undefined, b: "foo" }) + assert.deepEqual(extend(b, a), { a: undefined, b: "foo" }) + assert.end() +}) + +test("handle 0", function(assert) { + var a = { a: "default" } + var b = { a: 0 } + + assert.deepEqual(extend(a, b), { a: 0 }) + assert.deepEqual(extend(b, a), { a: "default" }) + assert.end() +}) + +test("is immutable", function (assert) { + var record = {} + + extend(record, { foo: "bar" }) + assert.equal(record.foo, undefined) + assert.end() +}) + +test("null as argument", function (assert) { + var a = { foo: "bar" } + var b = null + var c = void 0 + + assert.deepEqual(extend(b, a, c), { foo: "bar" }) + assert.end() +}) + +test("mutable", function (assert) { + var a = { foo: "bar" } + + mutableExtend(a, { bar: "baz" }) + + assert.equal(a.bar, "baz") + assert.end() +}) + +test("null prototype", function(assert) { + var a = { a: "foo" } + var b = Object.create(null) + b.b = "bar"; + + assert.deepEqual(extend(a, b), { a: "foo", b: "bar" }) + assert.end() +}) + +test("null prototype mutable", function (assert) { + var a = { foo: "bar" } + var b = Object.create(null) + b.bar = "baz"; + + mutableExtend(a, b) + + assert.equal(a.bar, "baz") + assert.end() +}) + +test("prototype pollution", function (assert) { + var a = {} + var maliciousPayload = '{"__proto__":{"oops":"It works!"}}' + + assert.strictEqual(a.oops, undefined) + extend({}, maliciousPayload) + assert.strictEqual(a.oops, undefined) + assert.end() +}) + +test("prototype pollution mutable", function (assert) { + var a = {} + var maliciousPayload = '{"__proto__":{"oops":"It works!"}}' + + assert.strictEqual(a.oops, undefined) + mutableExtend({}, maliciousPayload) + assert.strictEqual(a.oops, undefined) + assert.end() +}) diff --git a/Inscripciones_UAIE/node_backend/node_modules/yallist/LICENSE b/node_backend/node_modules/yallist/LICENSE similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/yallist/LICENSE rename to node_backend/node_modules/yallist/LICENSE diff --git a/Inscripciones_UAIE/node_backend/node_modules/yallist/README.md b/node_backend/node_modules/yallist/README.md similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/yallist/README.md rename to node_backend/node_modules/yallist/README.md diff --git a/Inscripciones_UAIE/node_backend/node_modules/yallist/iterator.js b/node_backend/node_modules/yallist/iterator.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/yallist/iterator.js rename to node_backend/node_modules/yallist/iterator.js diff --git a/Inscripciones_UAIE/node_backend/node_modules/yallist/package.json b/node_backend/node_modules/yallist/package.json similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/yallist/package.json rename to node_backend/node_modules/yallist/package.json diff --git a/Inscripciones_UAIE/node_backend/node_modules/yallist/yallist.js b/node_backend/node_modules/yallist/yallist.js similarity index 100% rename from Inscripciones_UAIE/node_backend/node_modules/yallist/yallist.js rename to node_backend/node_modules/yallist/yallist.js diff --git a/Inscripciones_UAIE/node_backend/package-lock.json b/node_backend/package-lock.json similarity index 90% rename from Inscripciones_UAIE/node_backend/package-lock.json rename to node_backend/package-lock.json index 61d75c08dee9817807e50988a755219d564ba474..44ced88a39b3d23b0c3bf6f1409e77dd1ddf3530 100644 --- a/Inscripciones_UAIE/node_backend/package-lock.json +++ b/node_backend/package-lock.json @@ -12,10 +12,12 @@ "bcrypt": "^5.1.1", "bcryptjs": "^2.4.3", "cors": "^2.8.5", + "csv-parser": "^3.0.0", "dotenv": "^16.4.5", "express": "^4.21.1", "jsonwebtoken": "^9.0.2", - "mongoose": "^8.8.2" + "mongoose": "^8.8.2", + "multer": "^1.4.5-lts.1" } }, "node_modules/@mapbox/node-pre-gyp": { @@ -115,6 +117,11 @@ "node": ">=8" } }, + "node_modules/append-field": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", + "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==" + }, "node_modules/aproba": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/aproba/-/aproba-2.0.0.tgz", @@ -206,6 +213,22 @@ "resolved": "https://registry.npmjs.org/buffer-equal-constant-time/-/buffer-equal-constant-time-1.0.1.tgz", "integrity": "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA==" }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", @@ -253,6 +276,47 @@ "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/concat-stream/node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/concat-stream/node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/concat-stream/node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, "node_modules/console-control-strings": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", @@ -290,6 +354,11 @@ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ==" }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, "node_modules/cors": { "version": "2.8.5", "resolved": "https://registry.npmjs.org/cors/-/cors-2.8.5.tgz", @@ -302,6 +371,20 @@ "node": ">= 0.10" } }, + "node_modules/csv-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.0.0.tgz", + "integrity": "sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "csv-parser": "bin/csv-parser" + }, + "engines": { + "node": ">= 10" + } + }, "node_modules/debug": { "version": "2.6.9", "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", @@ -742,6 +825,11 @@ "node": ">=8" } }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, "node_modules/jsonwebtoken": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/jsonwebtoken/-/jsonwebtoken-9.0.2.tgz", @@ -922,6 +1010,14 @@ "node": "*" } }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/minipass": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz", @@ -1089,6 +1185,34 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==" }, + "node_modules/multer": { + "version": "1.4.5-lts.1", + "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.5-lts.1.tgz", + "integrity": "sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ==", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/multer/node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -1225,6 +1349,11 @@ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==" }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, "node_modules/proxy-addr": { "version": "2.0.7", "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz", @@ -1463,6 +1592,14 @@ "node": ">= 0.8" } }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, "node_modules/string_decoder": { "version": "1.3.0", "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", @@ -1542,6 +1679,11 @@ "node": ">= 0.6" } }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, "node_modules/unpipe": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", @@ -1604,6 +1746,14 @@ "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + }, "node_modules/yallist": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", diff --git a/Inscripciones_UAIE/node_backend/package.json b/node_backend/package.json similarity index 82% rename from Inscripciones_UAIE/node_backend/package.json rename to node_backend/package.json index 4ffc00a76aefc6341ae9948ac26517d03a3a4045..d56fa5ca7d8cdb192a1aae4114aa9e1893281547 100644 --- a/Inscripciones_UAIE/node_backend/package.json +++ b/node_backend/package.json @@ -13,9 +13,11 @@ "bcrypt": "^5.1.1", "bcryptjs": "^2.4.3", "cors": "^2.8.5", + "csv-parser": "^3.0.0", "dotenv": "^16.4.5", "express": "^4.21.1", "jsonwebtoken": "^9.0.2", - "mongoose": "^8.8.2" + "mongoose": "^8.8.2", + "multer": "^1.4.5-lts.1" } } diff --git a/node_backend/routes/administradorRoutes b/node_backend/routes/administradorRoutes new file mode 100644 index 0000000000000000000000000000000000000000..998cf411c1fec3ae71cc94ee98721d0d17292bb4 --- /dev/null +++ b/node_backend/routes/administradorRoutes @@ -0,0 +1,280 @@ +const express = require('express'); +const router = express.Router(); +const Materia = require('../models/Materia'); // Ajusta la ruta al modelo Materia +const Docente = require('../models/Docente'); // Ajusta la ruta al modelo Docente +const Tutor = require('../models/Tutor'); // Ajusta la ruta al modelo Tutor +const Coordinador = require('../models/Coordinador'); // Ajusta la ruta al modelo Coordinador +const Administrador = require('../models/Administrador'); // Ajusta la ruta al modelo Administrador + +// Crear una nueva materia +router.post('/materias', async (req, res) => { + try { + const materia = new Materia(req.body); + await materia.save(); + res.status(201).json(materia); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Obtener todas las materias +router.get('/materias', async (req, res) => { + try { + const materias = await Materia.find().populate('docente'); + res.status(200).json(materias); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Obtener una materia por su ID +router.get('/materias/:id', async (req, res) => { + try { + const materia = await Materia.findById(req.params.id).populate('docente'); + if (!materia) { + return res.status(404).json({ message: 'Materia no encontrada' }); + } + res.status(200).json(materia); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Actualizar una materia +router.put('/materias/:id', async (req, res) => { + try { + const materia = await Materia.findByIdAndUpdate(req.params.id, req.body, { new: true }); + if (!materia) { + return res.status(404).json({ message: 'Materia no encontrada' }); + } + res.status(200).json(materia); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Eliminar una materia +router.delete('/materias/:id', async (req, res) => { + try { + const materia = await Materia.findByIdAndDelete(req.params.id); + if (!materia) { + return res.status(404).json({ message: 'Materia no encontrada' }); + } + res.status(200).json({ message: 'Materia eliminada correctamente' }); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +//Personal--------------------------------------------------------------------------- + +const Docente = require('../models/Docente'); // Ajusta la ruta al modelo Docente +const Tutor = require('../models/Tutor'); // Ajusta la ruta al modelo Tutor +const Coordinador = require('../models/Coordinador'); // Ajusta la ruta al modelo Coordinador +const Administrador = require('../models/Administrador'); // Ajusta la ruta al modelo Administrador + +// Crear un docente +router.post('/docentes', async (req, res) => { + try { + const docente = new Docente(req.body); + await docente.save(); + res.status(201).json(docente); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Crear un tutor +router.post('/tutores', async (req, res) => { + try { + const tutor = new Tutor(req.body); + await tutor.save(); + res.status(201).json(tutor); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Crear un coordinador +router.post('/coordinadores', async (req, res) => { + try { + const coordinador = new Coordinador(req.body); + await coordinador.save(); + res.status(201).json(coordinador); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Crear un administrador +router.post('/administradores', async (req, res) => { + try { + const administrador = new Administrador(req.body); + await administrador.save(); + res.status(201).json(administrador); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Obtener todos los docentes +router.get('/docentes', async (req, res) => { + try { + const docentes = await Docente.find().populate('materias'); + res.status(200).json(docentes); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Obtener todos los tutores +router.get('/tutores', async (req, res) => { + try { + const tutores = await Tutor.find(); + res.status(200).json(tutores); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Obtener todos los coordinadores +router.get('/coordinadores', async (req, res) => { + try { + const coordinadores = await Coordinador.find(); + res.status(200).json(coordinadores); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Obtener todos los administradores +router.get('/administradores', async (req, res) => { + try { + const administradores = await Administrador.find(); + res.status(200).json(administradores); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Ruta para obtener todo el personal +router.get('/personal', async (req, res) => { + try { + console.log('Ruta /personal fue alcanzada'); // Log para verificar que la ruta se alcanzó + + // Obtener todos los docentes, tutores, coordinadores y administradores + const docentes = await Docente.find().populate('materias').populate('alumnos'); + console.log('Docentes obtenidos:', docentes); // Log para verificar los datos de los docentes + + const tutores = await Tutor.find().populate('alumnos'); + console.log('Tutores obtenidos:', tutores); // Log para verificar los datos de los tutores + + const coordinadores = await Coordinador.find().populate('alumnos'); + console.log('Coordinadores obtenidos:', coordinadores); // Log para verificar los datos de los coordinadores + + const administradores = await Administrador.find(); + console.log('Administradores obtenidos:', administradores); // Log para verificar los datos de los administradores + + // Crear un arreglo que combine todos los tipos de personal + const personal = [ + ...docentes.map(docente => ({ + ...docente.toObject(), + roles: ['Docente'], + programa: 'PR', + })), + ...tutores.map(tutor => ({ + ...tutor.toObject(), + roles: ['Tutor'], + programa: 'PR', + })), + ...coordinadores.map(coordinador => ({ + ...coordinador.toObject(), + roles: ['Coordinador'], + programa: 'PR', + })), + ...administradores.map(administrador => ({ + ...administrador.toObject(), + roles: ['Administrador'], + programa: 'PR', + })), + ]; + + // Log para verificar los datos combinados + console.log('Personal combinado:', personal); + + // Responder con los datos de todo el personal + res.status(200).json(personal); + } catch (error) { + console.error('Error fetching personal data:', error); // Log en caso de error + res.status(500).json({ message: 'Error fetching personal data' }); + } +}); + + + + +//Alumnos-------------------------------------------------------- +const Alumno = require('../models/Alumno'); // Ajusta la ruta al modelo Alumno + +// Crear un nuevo alumno +router.post('/alumnos', async (req, res) => { + try { + const alumno = new Alumno(req.body); + await alumno.save(); + res.status(201).json(alumno); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Obtener todos los alumnos +router.get('/alumnos', async (req, res) => { + try { + const alumnos = await Alumno.find().populate('horario tutor'); + res.status(200).json(alumnos); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Obtener un alumno por su ID +router.get('/alumnos/:id', async (req, res) => { + try { + const alumno = await Alumno.findById(req.params.id).populate('horario tutor'); + if (!alumno) { + return res.status(404).json({ message: 'Alumno no encontrado' }); + } + res.status(200).json(alumno); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + +// Actualizar un alumno +router.put('/alumnos/:id', async (req, res) => { + try { + const alumno = await Alumno.findByIdAndUpdate(req.params.id, req.body, { new: true }); + if (!alumno) { + return res.status(404).json({ message: 'Alumno no encontrado' }); + } + res.status(200).json(alumno); + } catch (error) { + res.status(400).json({ message: error.message }); + } +}); + +// Eliminar un alumno +router.delete('/alumnos/:id', async (req, res) => { + try { + const alumno = await Alumno.findByIdAndDelete(req.params.id); + if (!alumno) { + return res.status(404).json({ message: 'Alumno no encontrado' }); + } + res.status(200).json({ message: 'Alumno eliminado correctamente' }); + } catch (error) { + res.status(500).json({ message: error.message }); + } +}); + + +module.exports = router; \ No newline at end of file diff --git a/Inscripciones_UAIE/node_backend/routes/alumnoRoutes.js b/node_backend/routes/alumnoRoutes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/routes/alumnoRoutes.js rename to node_backend/routes/alumnoRoutes.js diff --git a/node_backend/routes/authRoutes.js b/node_backend/routes/authRoutes.js new file mode 100644 index 0000000000000000000000000000000000000000..af56aa02a39da99155fa27a42d1cd7d02fa49dd7 --- /dev/null +++ b/node_backend/routes/authRoutes.js @@ -0,0 +1,134 @@ +// routes/authRoutes.js +const express = require('express'); +const router = express.Router(); +const jwt = require('jsonwebtoken'); +const bcrypt = require('bcrypt'); +const Alumno = require('../models/Alumno'); +const User = require('../models/User'); + +// Ruta de inicio de sesión para alumnos +router.post('/alumno/login', async (req, res) => { + const { matricula } = req.body; + try { + const alumno = await Alumno.findOne({ matricula }); + if (!alumno) { + return res.status(400).json({ mensaje: 'Alumno no encontrado' }); + } + + const token = jwt.sign({ id: alumno._id }, 'tu_secreto', { expiresIn: '10m' }); + + return res.json({ mensaje: 'Inicio de sesión exitoso', token }); + } catch (error) { + return res.status(500).json({ mensaje: 'Error al iniciar sesión', error }); + } +}); + + +router.post('/personal/login', async (req, res) => { + const { matricula, password } = req.body; // Obtener matrícula y contraseña del cuerpo de la solicitud + + console.log("Solicitud recibida en /personal/login"); // Log inicial + console.log("Cuerpo de la solicitud recibido:", req.body); // Mostrar los datos enviados + + // Verificar que se hayan enviado la matrícula y la contraseña + if (!matricula || !password) { + console.error("Faltan datos: matrícula o contraseña no proporcionados."); + return res.status(400).json({ mensaje: 'Matrícula y contraseña son obligatorios' }); + } + + try { + console.log('Matrícula y contraseña recibidos:', matricula, password); // Log de credenciales recibidas + + // Lista de modelos a verificar para determinar el tipo de usuario + const models = [ + { name: "Docente", model: Docente }, + { name: "Tutor", model: Tutor }, + { name: "Coordinador", model: Coordinador }, + { name: "Administrador", model: Administrador }, + ]; + + let personal = null; // Variable para almacenar al usuario encontrado + let tipo = null; // Variable para almacenar el tipo de usuario + + // Iterar sobre los modelos para buscar al usuario + for (const { name, model } of models) { + console.log(`Buscando en el modelo: ${name} con matrícula: ${matricula}`); + personal = await model.findOne({ matricula }); // Buscar el usuario por matrícula + if (personal) { + console.log(`Usuario encontrado en el modelo ${name}:`, personal); + tipo = name; // Asignar el tipo de usuario si se encuentra + break; // Salir del bucle si el usuario fue encontrado + } + } + + // Si no se encontró al usuario en ninguno de los modelos + if (!personal) { + console.warn("Usuario no encontrado en ninguno de los modelos."); + return res.status(404).json({ mensaje: 'Usuario no encontrado' }); + } + + console.log("Usuario encontrado, verificando contraseña..."); + console.log("Contraseña ingresada:", password); + console.log("Contraseña almacenada:", personal.password); + + // Verificar si la contraseña ingresada coincide con la almacenada (encriptada) + const isMatch = await bcrypt.compare(password, personal.password); + console.log("Resultado de la comparación de contraseñas:", isMatch); + + if (!isMatch) { + console.warn("Contraseña inválida para la matrícula proporcionada."); + return res.status(400).json({ mensaje: 'Credenciales inválidas' }); + } + + // Generar un token JWT para la sesión + console.log("Generando token JWT..."); + const token = jwt.sign( + { id: personal._id }, // Información del usuario para incluir en el token + process.env.JWT_SECRET || 'clave_por_defecto', // Clave secreta para firmar el token + { expiresIn: '1h' } // Tiempo de expiración del token + ); + console.log("Token generado exitosamente:", token); + + // Log para verificar que se detectó el tipo de usuario correctamente + console.log("Tipo detectado:", tipo); + + // Enviar una respuesta exitosa con el tipo de usuario y el token + console.log("Enviando respuesta de éxito..."); + return res.status(200).json({ + mensaje: "Inicio de sesión exitoso", + tipo, // Enviar el tipo de usuario como respuesta + token, // Token para la autenticación + }); + + } catch (error) { + // Capturar y manejar errores + console.error("Error al iniciar sesión:", error.message); // Log del error + return res.status(500).json({ + mensaje: "Error al iniciar sesión", + error: error.message, // Enviar el mensaje de error para depuración + }); + } +}); + +// Ruta de inicio de sesión para personal +router.post('/usuario/login', async (req, res) => { + const { matricula, password } = req.body; + try { + const usuario = await User.findOne({ matricula }); + if (!usuario) { + return res.status(400).json({ mensaje: 'Usuario no encontrado' }); + } + + const isMatch = await bcrypt.compare(password, usuario.password); + if (!isMatch) { + return res.status(400).json({ mensaje: 'Contraseña incorrecta' }); + } + + const token = jwt.sign({ id: usuario._id }, 'tu_secreto', { expiresIn: '1h' }); + return res.json({ mensaje: 'Inicio de sesión exitoso', token }); + } catch (error) { + return res.status(500).json({ mensaje: 'Error al iniciar sesión', error }); + } +}); + +module.exports = router; diff --git a/node_backend/routes/docenteRoutes.js b/node_backend/routes/docenteRoutes.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/Inscripciones_UAIE/node_backend/routes/materiasRoutes.js b/node_backend/routes/materiasRoutes.js similarity index 69% rename from Inscripciones_UAIE/node_backend/routes/materiasRoutes.js rename to node_backend/routes/materiasRoutes.js index 67796c13eaf8f1a3da745052f3ee74bcce402a9c..6e0fe161e9bf44b193850ecaf5f12c8994eb2bee 100644 --- a/Inscripciones_UAIE/node_backend/routes/materiasRoutes.js +++ b/node_backend/routes/materiasRoutes.js @@ -1,6 +1,9 @@ const express = require('express'); const router = express.Router(); +const multer = require('multer'); +const path = require('path'); const materiaController = require('../controllers/materiaController'); +const upload = multer({ dest: 'uploads/' }); // Configura dónde se guardarán los archivos temporales // Ruta para crear una nueva materia router.post('/', materiaController.createMateria); @@ -17,4 +20,7 @@ router.put('/:id', materiaController.updateMateria); // Ruta para eliminar una materia router.delete('/:id', materiaController.deleteMateria); +// Ruta para subir archivo csv +router.post('/upload', upload.single('file'), materiaController.uploadCSV); + module.exports = router; diff --git a/Inscripciones_UAIE/node_backend/routes/userRoutes.js b/node_backend/routes/userRoutes.js similarity index 100% rename from Inscripciones_UAIE/node_backend/routes/userRoutes.js rename to node_backend/routes/userRoutes.js diff --git a/Inscripciones_UAIE/node_backend/server.js b/node_backend/server.js similarity index 100% rename from Inscripciones_UAIE/node_backend/server.js rename to node_backend/server.js diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000000000000000000000000000000000000..fd7bf676395d7fd8466dfd42270236454f3e93c6 --- /dev/null +++ b/package-lock.json @@ -0,0 +1,218 @@ +{ + "name": "nuevoProyecto", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "dependencies": { + "csv-parser": "^3.0.0", + "multer": "^1.4.5-lts.1" + } + }, + "node_modules/append-field": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/append-field/-/append-field-1.0.0.tgz", + "integrity": "sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==" + }, + "node_modules/buffer-from": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", + "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==" + }, + "node_modules/busboy": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz", + "integrity": "sha512-8SFQbg/0hQ9xy3UNTB0YEnsNBbWfhf7RtnzpL7TkBiTBRfrQ9Fxcnz7VJsleJpyp6rVLvXiuORqjlHi5q+PYuA==", + "dependencies": { + "streamsearch": "^1.1.0" + }, + "engines": { + "node": ">=10.16.0" + } + }, + "node_modules/concat-stream": { + "version": "1.6.2", + "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", + "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", + "engines": [ + "node >= 0.8" + ], + "dependencies": { + "buffer-from": "^1.0.0", + "inherits": "^2.0.3", + "readable-stream": "^2.2.2", + "typedarray": "^0.0.6" + } + }, + "node_modules/core-util-is": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", + "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==" + }, + "node_modules/csv-parser": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/csv-parser/-/csv-parser-3.0.0.tgz", + "integrity": "sha512-s6OYSXAK3IdKqYO33y09jhypG/bSDHPuyCme/IdEHfWpLf/jKcpitVFyOC6UemgGk8v7Q5u2XE0vvwmanxhGlQ==", + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "csv-parser": "bin/csv-parser" + }, + "engines": { + "node": ">= 10" + } + }, + "node_modules/inherits": { + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", + "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" + }, + "node_modules/isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==" + }, + "node_modules/media-typer": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", + "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-db": { + "version": "1.52.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", + "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/mime-types": { + "version": "2.1.35", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", + "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/mkdirp": { + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", + "dependencies": { + "minimist": "^1.2.6" + }, + "bin": { + "mkdirp": "bin/cmd.js" + } + }, + "node_modules/multer": { + "version": "1.4.5-lts.1", + "resolved": "https://registry.npmjs.org/multer/-/multer-1.4.5-lts.1.tgz", + "integrity": "sha512-ywPWvcDMeH+z9gQq5qYHCCy+ethsk4goepZ45GLD63fOu0YcNecQxi64nDs3qluZB+murG3/D4dJ7+dGctcCQQ==", + "dependencies": { + "append-field": "^1.0.0", + "busboy": "^1.0.0", + "concat-stream": "^1.5.2", + "mkdirp": "^0.5.4", + "object-assign": "^4.1.1", + "type-is": "^1.6.4", + "xtend": "^4.0.0" + }, + "engines": { + "node": ">= 6.0.0" + } + }, + "node_modules/object-assign": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", + "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/process-nextick-args": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", + "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" + }, + "node_modules/readable-stream": { + "version": "2.3.8", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", + "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", + "dependencies": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "node_modules/safe-buffer": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", + "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" + }, + "node_modules/streamsearch": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/streamsearch/-/streamsearch-1.1.0.tgz", + "integrity": "sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==", + "engines": { + "node": ">=10.0.0" + } + }, + "node_modules/string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "dependencies": { + "safe-buffer": "~5.1.0" + } + }, + "node_modules/type-is": { + "version": "1.6.18", + "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", + "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", + "dependencies": { + "media-typer": "0.3.0", + "mime-types": "~2.1.24" + }, + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/typedarray": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", + "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==" + }, + "node_modules/util-deprecate": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", + "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" + }, + "node_modules/xtend": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", + "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", + "engines": { + "node": ">=0.4" + } + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000000000000000000000000000000000000..e1bf33444fed4b4f0c9be39770bc0b15ebc2b307 --- /dev/null +++ b/package.json @@ -0,0 +1,6 @@ +{ + "dependencies": { + "csv-parser": "^3.0.0", + "multer": "^1.4.5-lts.1" + } +} diff --git a/Inscripciones_UAIE/react_frontend/.gitignore b/react_frontend/.gitignore similarity index 100% rename from Inscripciones_UAIE/react_frontend/.gitignore rename to react_frontend/.gitignore diff --git a/Inscripciones_UAIE/react_frontend/README.md b/react_frontend/README.md similarity index 100% rename from Inscripciones_UAIE/react_frontend/README.md rename to react_frontend/README.md diff --git a/Inscripciones_UAIE/react_frontend/package-lock.json b/react_frontend/package-lock.json similarity index 100% rename from Inscripciones_UAIE/react_frontend/package-lock.json rename to react_frontend/package-lock.json diff --git a/Inscripciones_UAIE/react_frontend/package.json b/react_frontend/package.json similarity index 100% rename from Inscripciones_UAIE/react_frontend/package.json rename to react_frontend/package.json diff --git a/Inscripciones_UAIE/react_frontend/public/favicon.ico b/react_frontend/public/favicon.ico similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/favicon.ico rename to react_frontend/public/favicon.ico diff --git a/Inscripciones_UAIE/react_frontend/public/index.html b/react_frontend/public/index.html similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/index.html rename to react_frontend/public/index.html diff --git a/Inscripciones_UAIE/react_frontend/public/logo192.png b/react_frontend/public/logo192.png similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/logo192.png rename to react_frontend/public/logo192.png diff --git a/Inscripciones_UAIE/react_frontend/public/logo512.png b/react_frontend/public/logo512.png similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/logo512.png rename to react_frontend/public/logo512.png diff --git a/Inscripciones_UAIE/react_frontend/public/manifest.json b/react_frontend/public/manifest.json similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/manifest.json rename to react_frontend/public/manifest.json diff --git a/Inscripciones_UAIE/react_frontend/public/robots.txt b/react_frontend/public/robots.txt similarity index 100% rename from Inscripciones_UAIE/react_frontend/public/robots.txt rename to react_frontend/public/robots.txt diff --git a/Inscripciones_UAIE/react_frontend/src/App.css b/react_frontend/src/App.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/App.css rename to react_frontend/src/App.css diff --git a/Inscripciones_UAIE/react_frontend/src/App.js b/react_frontend/src/App.js similarity index 77% rename from Inscripciones_UAIE/react_frontend/src/App.js rename to react_frontend/src/App.js index d467175714de9ac47b7954ee0d43920571e0bc21..58877c989c50f0a62a26445feefa6169579be9cc 100644 --- a/Inscripciones_UAIE/react_frontend/src/App.js +++ b/react_frontend/src/App.js @@ -19,6 +19,13 @@ import RevisionHorarioTutor from './components/RevisionHorarioTutor'; import "./components/RevisionHorarioTutor.css"; import PrivateRoute from './components/PrivateRoute'; import RedirectRoute from './components/RedirectRoute'; +import InicioDocente from './components/InicioDocente'; +import './components/InicioDocente.css'; +import InicioDocente2 from './components/InicioDocente2'; +import './components/InicioDocente2.css'; +import DocenteAlumnos from './components/DocenteAlumnos'; +import './components/DocenteAlumnos.css'; + function App() { @@ -33,11 +40,16 @@ function App() {
} /> + } /> } /> } /> } /> } /> + + } /> + } /> } /> + }> } /> diff --git a/Inscripciones_UAIE/react_frontend/src/App.test.js b/react_frontend/src/App.test.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/App.test.js rename to react_frontend/src/App.test.js diff --git a/Inscripciones_UAIE/react_frontend/src/assets/logo_uaei.png b/react_frontend/src/assets/logo_uaei.png similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/assets/logo_uaei.png rename to react_frontend/src/assets/logo_uaei.png diff --git a/Inscripciones_UAIE/react_frontend/src/assets/logo_uaz.png b/react_frontend/src/assets/logo_uaz.png similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/assets/logo_uaz.png rename to react_frontend/src/assets/logo_uaz.png diff --git a/Inscripciones_UAIE/react_frontend/src/components/AlumnoList.js b/react_frontend/src/components/AlumnoList.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/AlumnoList.js rename to react_frontend/src/components/AlumnoList.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/CreateAlumno.js b/react_frontend/src/components/CreateAlumno.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/CreateAlumno.js rename to react_frontend/src/components/CreateAlumno.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/CreateMateria.js b/react_frontend/src/components/CreateMateria.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/CreateMateria.js rename to react_frontend/src/components/CreateMateria.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/CreateUser.js b/react_frontend/src/components/CreateUser.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/CreateUser.js rename to react_frontend/src/components/CreateUser.js diff --git a/react_frontend/src/components/DocenteAlumnos.css b/react_frontend/src/components/DocenteAlumnos.css new file mode 100644 index 0000000000000000000000000000000000000000..d6ec0d70e257bd3b0758dbe28c680754f2031da3 --- /dev/null +++ b/react_frontend/src/components/DocenteAlumnos.css @@ -0,0 +1,189 @@ +.docente-layout { + display: flex; + width: 100%; + } + + .sidebar { + width: 200px; /* Ajusta el ancho de las barras laterales */ + background-color: #e0e0e0; /* Color de fondo de las barras laterales */ + } + .top-right { + position: absolute; + top: 10px; + right: 10px; + z-index: 1; /* Asegura que se mantenga en la parte superior */ + } + .docente-container { + flex: 1; /* Hace que el contenido principal ocupe el espacio restante */ + padding: 20px; + text-align: center; + background-color: white; + position: relative; /* Permite el posicionamiento relativo del botón */ + } + + .docente-header { + display: flex; + justify-content: space-between; + width: 100%; + max-width: 1200px; /* Limita el ancho del header */ + margin-bottom: 20px; /* Añade espacio inferior */ + } + + .docente-container h2 { + font-size: 1.8rem; + font-weight: bold; + color: #002a5c; + } + + .docente-container p { + color: #555; + } + + .docente-content { + margin: 0 auto; + } + + .docente-table { + width: 100%; + table-layout: fixed; /* Hace que las columnas tengan un ancho fijo */ + } + + .docente-table th, + .docente-table td { + width: 33.33%; /* Asegura que cada columna tenga el mismo ancho */ + text-align: center; /* Centra el contenido */ + } + + .docente-table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + overflow-x: auto; + } + + .docente-table th, + .docente-table td { + border: 1px solid #ddd; + padding: 10px; + text-align: center; + } + + .docente-table th { + background-color: #f2f2f2; + font-weight: bold; + } + + .actions { + text-align: center; /* Centra el contenido en las celdas de acciones */ + } + + .docente-table img { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; /* Alinea los íconos verticalmente al centro */ + } + + .docente-buttons { + display: flex; + justify-content: center; + gap: 20px; + margin-top: 20px; + } + + .button { + padding: 10px 20px; + font-size: 1rem; + background-color: #002a5c; + color: white; + border: none; + cursor: pointer; + } + + .button:hover { + background-color: #003a8c; + } + + .field-group { + display: flex; + flex-wrap: wrap; /* Permite que el contenido se ajuste en columnas */ + align-items: center; + margin-bottom: 5px; + } + + .field-group label { + width: 100px; + margin-right: 10px; + text-align: left; /* Alinea el texto a la derecha */ + } + + .field-group input, + .field-group select { + flex: 1; + min-width: 0; /* Evita que el input se expanda fuera del contenedor */ + padding: 8px; + margin-top: 5px; + } + + .icon-button { + background-color: transparent; + border: none; + cursor: pointer; + } + + .icon-button svg { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; + } + + .status-circle { + display: inline-block; + width: 24px; + height: 24px; + border-radius: 50%; + position: relative; + } + + .status-circle svg { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + + .validated { + background-color: green; + } + + .rejected { + background-color: red; + } + + .pending { + background-color: rgb(255, 230, 0); + } + + .not-uploaded { + background-color: gray; + } + + + + .logout-button { + background-color: #f44336; /* Color de fondo del botón */ + color: white; /* Color del texto */ + border: none; /* Sin borde */ + padding: 10px 20px; /* Espaciado interno */ + text-align: center; /* Alineación del texto */ + text-decoration: none; /* Sin subrayado */ + display: inline-block; /* Mostrar en línea */ + font-size: 16px; /* Tamaño de la fuente */ + margin: 4px 2px; /* Margen */ + cursor: pointer; /* Cambiar el cursor al pasar sobre el botón */ + border-radius: 12px; /* Bordes redondeados */ + } + + .logout-button:hover { + background-color: #d32f2f; /* Color de fondo al pasar el cursor */ + } + \ No newline at end of file diff --git a/react_frontend/src/components/DocenteAlumnos.js b/react_frontend/src/components/DocenteAlumnos.js new file mode 100644 index 0000000000000000000000000000000000000000..1c233503cdfc2bedeb48e157153a9951c0c4d8f9 --- /dev/null +++ b/react_frontend/src/components/DocenteAlumnos.js @@ -0,0 +1,81 @@ +import React from "react"; +import { useNavigate } from "react-router-dom"; +import "./InicioDocente.css"; + +function InicioDocente() { + + const navigate = useNavigate(); + + const handleLogout = () => { + localStorage.removeItem("isAuthenticated"); + localStorage.removeItem("userType"); + navigate("/"); + } + + return ( +
+
+ +
+ +
+ +

Docente

+
+

M en C Juan Carlos Sanchez

+

Grupo: 1A

+

Materia: Álgebra Lineal

+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
MatriculaNombreCorreoTelefono
Juan Rodriguez Lopez33566juan@rodriguez.com492 444 5656
Marisol Gutierrez15222alguien@example.com492 444 5656
----
----
+
+
+ + +
+
+
+ ); +} + +export default InicioDocente; diff --git a/Inscripciones_UAIE/react_frontend/src/components/Encabezado.css b/react_frontend/src/components/Encabezado.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Encabezado.css rename to react_frontend/src/components/Encabezado.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/Encabezado.js b/react_frontend/src/components/Encabezado.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Encabezado.js rename to react_frontend/src/components/Encabezado.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/HorarioSeleccion.css b/react_frontend/src/components/HorarioSeleccion.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/HorarioSeleccion.css rename to react_frontend/src/components/HorarioSeleccion.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/HorarioSeleccion.js b/react_frontend/src/components/HorarioSeleccion.js similarity index 83% rename from Inscripciones_UAIE/react_frontend/src/components/HorarioSeleccion.js rename to react_frontend/src/components/HorarioSeleccion.js index 16261a647968eaff606ec1552953d8defab3e67e..8d2cf7794c2465047d7c26a579978177c19bceb2 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/HorarioSeleccion.js +++ b/react_frontend/src/components/HorarioSeleccion.js @@ -1,18 +1,22 @@ import React, { useEffect, useState } from "react"; -import { useNavigate } from "react-router-dom"; +import { useNavigate, useLocation } from "react-router-dom"; import "./HorarioSeleccion.css"; function HorarioSeleccion() { const navigate = useNavigate(); + const location = useLocation(); const [materias, setMaterias] = useState([]); // Estado para almacenar las materias const [grupos, setGrupos] = useState([]); // Estado para almacenar los grupos const [grupoSeleccionado, setGrupoSeleccionado] = useState(""); // Estado para almacenar el grupo seleccionado const [materiasSeleccionadas, setMateriasSeleccionadas] = useState([]); // Materias seleccionadas const [conflictos, setConflictos] = useState([]); const [mostrarModal, setMostrarModal] = useState(false); - + const [nombreAlumno, setNombreAlumno] = useState(location.state?.nombre || ""); + const [matricula, setMatricula] = useState(localStorage.getItem("matricula")); // Obtener matrícula del localStorage + // Función para obtener las materias desde el backend useEffect(() => { + const fetchMaterias = async () => { try { const response = await fetch("http://localhost:5000/api/materias"); @@ -31,6 +35,11 @@ function HorarioSeleccion() { fetchMaterias(); }, []); + useEffect(() => { + const nombre = location.state?.nombre || localStorage.getItem("nombreAlumno"); + setNombreAlumno(nombre || "Alumno desconocido"); + }, [location.state]); + const handleDesactivarTodas = () => { setMateriasSeleccionadas([]); // Vaciar las seleccionadas }; @@ -73,20 +82,23 @@ function HorarioSeleccion() { const conflictos = []; materiasSeleccionadas.forEach((materiaA, index) => { - const horariosA = Object.values(materiaA.horarios); // Obtener horarios por días + const horariosA = Object.entries(materiaA.horarios); // Obtener horarios por días como pares [día, horario] materiasSeleccionadas.slice(index + 1).forEach((materiaB) => { - const horariosB = Object.values(materiaB.horarios); + const horariosB = Object.entries(materiaB.horarios); + + horariosA.forEach(([diaA, horarioA]) => { + if (horarioA) { + const horarioB = horariosB.find(([diaB, _]) => diaB === diaA)?.[1]; // Encontrar el horario del mismo día - horariosA.forEach((horarioA, diaIndex) => { - if ( - horarioA && - horariosB[diaIndex] && - hayTraslape(horarioA.split("-"), horariosB[diaIndex].split("-")) - ) { - conflictos.push({ - materiaA: materiaA.nombre, - materiaB: materiaB.nombre, - }); + if ( + horarioB && + hayTraslape(horarioA.split("-"), horarioB.split("-")) + ) { + conflictos.push({ + materiaA: materiaA.nombre, + materiaB: materiaB.nombre, + }); + } } }); }); @@ -95,6 +107,7 @@ function HorarioSeleccion() { return conflictos; }; + const handleContinuarValidacion = () => { const conflictosDetectados = validarTraslapes(); @@ -125,6 +138,7 @@ function HorarioSeleccion() {

Sistema de selección de horario

+

Bienvenido(a): {nombreAlumno || "Cargando..."}

A continuación, seleccione las materias que va a cargar en el semestre

@@ -151,6 +165,7 @@ function HorarioSeleccion() { Miércoles Jueves Viernes + Sabado @@ -171,6 +186,7 @@ function HorarioSeleccion() { {materia.horarios.miercoles || "—"} {materia.horarios.jueves || "—"} {materia.horarios.viernes || "—"} + {materia.horarios.sabado || "—"} ))} @@ -208,6 +224,7 @@ function HorarioSeleccion() { > Continuar a validación +
diff --git a/Inscripciones_UAIE/react_frontend/src/components/InicioTutor.css b/react_frontend/src/components/InicioDocente.css similarity index 69% rename from Inscripciones_UAIE/react_frontend/src/components/InicioTutor.css rename to react_frontend/src/components/InicioDocente.css index d9aefd951dfc88ab8198d948713db744d8ba58e1..e27791e40433a7f5448ffa668f98f0098f34ddb8 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/InicioTutor.css +++ b/react_frontend/src/components/InicioDocente.css @@ -1,4 +1,4 @@ -.tutor-layout { +.docente-layout { display: flex; width: 100%; } @@ -7,55 +7,60 @@ width: 200px; /* Ajusta el ancho de las barras laterales */ background-color: #e0e0e0; /* Color de fondo de las barras laterales */ } - - .tutor-container { + .top-right { + position: absolute; + top: 10px; + right: 10px; + z-index: 1; /* Asegura que se mantenga en la parte superior */ + } + .docente-container { flex: 1; /* Hace que el contenido principal ocupe el espacio restante */ padding: 20px; text-align: center; background-color: white; + position: relative; /* Permite el posicionamiento relativo del botón */ } - .tutor-container h2 { + .docente-container h2 { font-size: 1.8rem; font-weight: bold; color: #002a5c; } - .tutor-container p { + .docente-container p { color: #555; } - .tutor-content { + .docente-content { margin: 0 auto; } - - .tutor-table { + + .docente-table { width: 100%; table-layout: fixed; /* Hace que las columnas tengan un ancho fijo */ } - .tutor-table th, - .tutor-table td { + .docente-table th, + .docente-table td { width: 33.33%; /* Asegura que cada columna tenga el mismo ancho */ text-align: center; /* Centra el contenido */ } - - .tutor-table { + .docente-table { width: 100%; border-collapse: collapse; margin: 20px 0; overflow-x: auto; } - .tutor-table th, - .tutor-table td { + .docente-table th, + .docente-table td { border: 1px solid #ddd; padding: 10px; text-align: center; } - .tutor-table th { + .docente-table th { background-color: #f2f2f2; font-weight: bold; } @@ -64,13 +69,13 @@ text-align: center; /* Centra el contenido en las celdas de acciones */ } - .tutor-table img { + .docente-table img { width: 24px; /* Ajusta el tamaño según sea necesario */ height: 24px; /* Ajusta el tamaño según sea necesario */ vertical-align: middle; /* Alinea los íconos verticalmente al centro */ } - .tutor-buttons { + .docente-buttons { display: flex; justify-content: center; gap: 20px; @@ -153,4 +158,24 @@ .not-uploaded { background-color: gray; } + + + + .logout-button { + background-color: #f44336; /* Color de fondo del botón */ + color: white; /* Color del texto */ + border: none; /* Sin borde */ + padding: 10px 20px; /* Espaciado interno */ + text-align: center; /* Alineación del texto */ + text-decoration: none; /* Sin subrayado */ + display: inline-block; /* Mostrar en línea */ + font-size: 16px; /* Tamaño de la fuente */ + margin: 4px 2px; /* Margen */ + cursor: pointer; /* Cambiar el cursor al pasar sobre el botón */ + border-radius: 12px; /* Bordes redondeados */ + } + + .logout-button:hover { + background-color: #d32f2f; /* Color de fondo al pasar el cursor */ + } \ No newline at end of file diff --git a/react_frontend/src/components/InicioDocente.js b/react_frontend/src/components/InicioDocente.js new file mode 100644 index 0000000000000000000000000000000000000000..6c347fafc1079ade2952c6f20771b26a94f91838 --- /dev/null +++ b/react_frontend/src/components/InicioDocente.js @@ -0,0 +1,141 @@ +import React from "react"; +import { useNavigate } from "react-router-dom"; +import "./InicioDocente.css"; + +function InicioDocente() { + + const navigate = useNavigate(); + + const handleRevisarHorario = () => { + navigate(`/revisar-horario`); + }; + + const handleLogout = () => { + localStorage.removeItem("isAuthenticated"); + localStorage.removeItem("userType"); + navigate("/"); + }; + + const handleChangeView = () => { + navigate('/inicio-docente-2') + } + + return ( +
+
+ +
+ +
+ +

Docente

+

M en C Juan Carlos Sanchez

+

A continuacion, seleccione la lista que desee visualizar

+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Nombre del alumnoRevisar horarioEstatus
Juan Pérez + + + + + + + +
Alejandro Sánchez + + + + + + + + +
Jesus Sánchez + + + + + + + + + +
María González + + + + + + + + + +
+
+
+ + +
+
+
+ ); +} + +export default InicioDocente; diff --git a/react_frontend/src/components/InicioDocente2.css b/react_frontend/src/components/InicioDocente2.css new file mode 100644 index 0000000000000000000000000000000000000000..e27791e40433a7f5448ffa668f98f0098f34ddb8 --- /dev/null +++ b/react_frontend/src/components/InicioDocente2.css @@ -0,0 +1,181 @@ +.docente-layout { + display: flex; + width: 100%; + } + + .sidebar { + width: 200px; /* Ajusta el ancho de las barras laterales */ + background-color: #e0e0e0; /* Color de fondo de las barras laterales */ + } + .top-right { + position: absolute; + top: 10px; + right: 10px; + z-index: 1; /* Asegura que se mantenga en la parte superior */ + } + .docente-container { + flex: 1; /* Hace que el contenido principal ocupe el espacio restante */ + padding: 20px; + text-align: center; + background-color: white; + position: relative; /* Permite el posicionamiento relativo del botón */ + } + + .docente-container h2 { + font-size: 1.8rem; + font-weight: bold; + color: #002a5c; + } + + .docente-container p { + color: #555; + } + + .docente-content { + margin: 0 auto; + } + + .docente-table { + width: 100%; + table-layout: fixed; /* Hace que las columnas tengan un ancho fijo */ + } + + .docente-table th, + .docente-table td { + width: 33.33%; /* Asegura que cada columna tenga el mismo ancho */ + text-align: center; /* Centra el contenido */ + } + + .docente-table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + overflow-x: auto; + } + + .docente-table th, + .docente-table td { + border: 1px solid #ddd; + padding: 10px; + text-align: center; + } + + .docente-table th { + background-color: #f2f2f2; + font-weight: bold; + } + + .actions { + text-align: center; /* Centra el contenido en las celdas de acciones */ + } + + .docente-table img { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; /* Alinea los íconos verticalmente al centro */ + } + + .docente-buttons { + display: flex; + justify-content: center; + gap: 20px; + margin-top: 20px; + } + + .button { + padding: 10px 20px; + font-size: 1rem; + background-color: #002a5c; + color: white; + border: none; + cursor: pointer; + } + + .button:hover { + background-color: #003a8c; + } + + .field-group { + display: flex; + flex-wrap: wrap; /* Permite que el contenido se ajuste en columnas */ + align-items: center; + margin-bottom: 5px; + } + + .field-group label { + width: 100px; + margin-right: 10px; + text-align: left; /* Alinea el texto a la derecha */ + } + + .field-group input, + .field-group select { + flex: 1; + min-width: 0; /* Evita que el input se expanda fuera del contenedor */ + padding: 8px; + margin-top: 5px; + } + + .icon-button { + background-color: transparent; + border: none; + cursor: pointer; + } + + .icon-button svg { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; + } + + .status-circle { + display: inline-block; + width: 24px; + height: 24px; + border-radius: 50%; + position: relative; + } + + .status-circle svg { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + } + + .validated { + background-color: green; + } + + .rejected { + background-color: red; + } + + .pending { + background-color: rgb(255, 230, 0); + } + + .not-uploaded { + background-color: gray; + } + + + + .logout-button { + background-color: #f44336; /* Color de fondo del botón */ + color: white; /* Color del texto */ + border: none; /* Sin borde */ + padding: 10px 20px; /* Espaciado interno */ + text-align: center; /* Alineación del texto */ + text-decoration: none; /* Sin subrayado */ + display: inline-block; /* Mostrar en línea */ + font-size: 16px; /* Tamaño de la fuente */ + margin: 4px 2px; /* Margen */ + cursor: pointer; /* Cambiar el cursor al pasar sobre el botón */ + border-radius: 12px; /* Bordes redondeados */ + } + + .logout-button:hover { + background-color: #d32f2f; /* Color de fondo al pasar el cursor */ + } + \ No newline at end of file diff --git a/react_frontend/src/components/InicioDocente2.js b/react_frontend/src/components/InicioDocente2.js new file mode 100644 index 0000000000000000000000000000000000000000..4049cca92dc7bb1e1616759ed24d6f4601429f12 --- /dev/null +++ b/react_frontend/src/components/InicioDocente2.js @@ -0,0 +1,149 @@ +import React from "react"; +import { useNavigate } from "react-router-dom"; +import "./InicioDocente.css"; + +function InicioDocente() { + + const navigate = useNavigate(); + + const handleListaAlumnos = () => { + navigate(`/docente-alumnos`); + }; + + const handleLogout = () => { + localStorage.removeItem("isAuthenticated"); + localStorage.removeItem("userType"); + navigate("/"); + } + + const handleChangeView = () => { + navigate('/inicio-docente') + } + + return ( +
+
+ +
+ +
+ +

Docente

+

M en C Juan Carlos Sanchez

+

A continuacion, seleccione la lista que desee visualizar

+ +
+ + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GrupoSalónAlumnosMateriaLunesMartesMiércolesJuevesViernesSábado
1AB1 + + Algebra Lineal------
1AB1 + + Algebra Superior------
1AB1 + + Estadística------
2AB2 + + Estadística aplicada------
+
+
+ + +
+
+
+ ); +} + +export default InicioDocente; diff --git a/react_frontend/src/components/InicioTutor.css b/react_frontend/src/components/InicioTutor.css new file mode 100644 index 0000000000000000000000000000000000000000..2f0e0b2d6da8e3da97784836030c6538d7f8b305 --- /dev/null +++ b/react_frontend/src/components/InicioTutor.css @@ -0,0 +1,180 @@ +.tutor-layout { + display: flex; + width: 100%; +} + +.sidebar { + width: 200px; /* Ajusta el ancho de las barras laterales */ + background-color: #e0e0e0; /* Color de fondo de las barras laterales */ +} +.top-right { + position: absolute; + top: 10px; + right: 10px; + z-index: 1; /* Asegura que se mantenga en la parte superior */ +} +.tutor-container { + flex: 1; /* Hace que el contenido principal ocupe el espacio restante */ + padding: 20px; + text-align: center; + background-color: white; + position: relative; /* Permite el posicionamiento relativo del botón */ +} + +.tutor-container h2 { + font-size: 1.8rem; + font-weight: bold; + color: #002a5c; +} + +.tutor-container p { + color: #555; +} + +.tutor-content { + margin: 0 auto; +} + +.tutor-table { + width: 100%; + table-layout: fixed; /* Hace que las columnas tengan un ancho fijo */ +} + +.tutor-table th, +.tutor-table td { + width: 33.33%; /* Asegura que cada columna tenga el mismo ancho */ + text-align: center; /* Centra el contenido */ +} + +.tutor-table { + width: 100%; + border-collapse: collapse; + margin: 20px 0; + overflow-x: auto; +} + +.tutor-table th, +.tutor-table td { + border: 1px solid #ddd; + padding: 10px; + text-align: center; +} + +.tutor-table th { + background-color: #f2f2f2; + font-weight: bold; +} + +.actions { + text-align: center; /* Centra el contenido en las celdas de acciones */ +} + +.tutor-table img { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; /* Alinea los íconos verticalmente al centro */ +} + +.tutor-buttons { + display: flex; + justify-content: center; + gap: 20px; + margin-top: 20px; +} + +.button { + padding: 10px 20px; + font-size: 1rem; + background-color: #002a5c; + color: white; + border: none; + cursor: pointer; +} + +.button:hover { + background-color: #003a8c; +} + +.field-group { + display: flex; + flex-wrap: wrap; /* Permite que el contenido se ajuste en columnas */ + align-items: center; + margin-bottom: 5px; +} + +.field-group label { + width: 100px; + margin-right: 10px; + text-align: left; /* Alinea el texto a la derecha */ +} + +.field-group input, +.field-group select { + flex: 1; + min-width: 0; /* Evita que el input se expanda fuera del contenedor */ + padding: 8px; + margin-top: 5px; +} + +.icon-button { + background-color: transparent; + border: none; + cursor: pointer; +} + +.icon-button svg { + width: 24px; /* Ajusta el tamaño según sea necesario */ + height: 24px; /* Ajusta el tamaño según sea necesario */ + vertical-align: middle; +} + +.status-circle { + display: inline-block; + width: 24px; + height: 24px; + border-radius: 50%; + position: relative; +} + +.status-circle svg { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.validated { + background-color: green; +} + +.rejected { + background-color: red; +} + +.pending { + background-color: rgb(255, 230, 0); +} + +.not-uploaded { + background-color: gray; +} + + + +.logout-button { + background-color: #f44336; /* Color de fondo del botón */ + color: white; /* Color del texto */ + border: none; /* Sin borde */ + padding: 10px 20px; /* Espaciado interno */ + text-align: center; /* Alineación del texto */ + text-decoration: none; /* Sin subrayado */ + display: inline-block; /* Mostrar en línea */ + font-size: 16px; /* Tamaño de la fuente */ + margin: 4px 2px; /* Margen */ + cursor: pointer; /* Cambiar el cursor al pasar sobre el botón */ + border-radius: 12px; /* Bordes redondeados */ +} + +.logout-button:hover { + background-color: #d32f2f; /* Color de fondo al pasar el cursor */ +} diff --git a/Inscripciones_UAIE/react_frontend/src/components/InicioTutor.js b/react_frontend/src/components/InicioTutor.js similarity index 94% rename from Inscripciones_UAIE/react_frontend/src/components/InicioTutor.js rename to react_frontend/src/components/InicioTutor.js index a34aae3ebc45418b25a0c76ef9e2a6b3c41e856e..71b58d8c1270a24682d7f3d3b48011b7982dfe52 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/InicioTutor.js +++ b/react_frontend/src/components/InicioTutor.js @@ -10,9 +10,20 @@ function InicioTutor() { navigate(`/revisar-horario`); }; + const handleLogout = () => { + localStorage.removeItem("isAuthenticated"); + localStorage.removeItem("userType"); + navigate("/"); + } + return (
+ +
+ +
+

Tutor

A continuación, se muestra una lista de alumnos

que tiene asignados como tutor.

diff --git a/Inscripciones_UAIE/react_frontend/src/components/Pie_pagina.css b/react_frontend/src/components/Pie_pagina.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Pie_pagina.css rename to react_frontend/src/components/Pie_pagina.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/Pie_pagina.js b/react_frontend/src/components/Pie_pagina.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Pie_pagina.js rename to react_frontend/src/components/Pie_pagina.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/PrivateRoute.js b/react_frontend/src/components/PrivateRoute.js similarity index 80% rename from Inscripciones_UAIE/react_frontend/src/components/PrivateRoute.js rename to react_frontend/src/components/PrivateRoute.js index aaedb8783815f16f9ef2d35c66aae58ff213de4d..4b8cdb8f2bb7d5dd2b903a50b7d8aff192ce1942 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/PrivateRoute.js +++ b/react_frontend/src/components/PrivateRoute.js @@ -5,7 +5,7 @@ const PrivateRoute = ({ children }) => { // Verifica si el usuario está autenticado const isAuthenticated = localStorage.getItem("isAuthenticated") === "true"; - return isAuthenticated ? children : ; + return isAuthenticated ? children : ; }; export default PrivateRoute; diff --git a/Inscripciones_UAIE/react_frontend/src/components/RedirectRoute.js b/react_frontend/src/components/RedirectRoute.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/RedirectRoute.js rename to react_frontend/src/components/RedirectRoute.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/Registro.css b/react_frontend/src/components/Registro.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Registro.css rename to react_frontend/src/components/Registro.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/Registro.js b/react_frontend/src/components/Registro.js similarity index 93% rename from Inscripciones_UAIE/react_frontend/src/components/Registro.js rename to react_frontend/src/components/Registro.js index 784695a19ab5784b7b81b470fe5ee0bf9b43b87b..39238a4f1ca95ef88fc702e7bcead4a4bbea29b2 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/Registro.js +++ b/react_frontend/src/components/Registro.js @@ -6,6 +6,7 @@ import "./Registro.css"; function Registro() { const [tipoUsuario, setTipoUsuario] = useState("alumno"); const [matricula, setMatricula] = useState(""); + const [nombre, setNombre] = useState(""); const [password, setPassword] = useState(""); const [mensaje, setMensaje] = useState(""); const navigate = useNavigate(); // Hook para la navegación @@ -24,8 +25,10 @@ function Registro() { setMensaje(response.data.mensaje); if (response.status === 200) { localStorage.setItem("isAuthenticated", "true"); + localStorage.setItem("matricula", matricula); + localStorage.setItem("nombreAlumno", nombre); setMensaje(response.data.mensaje); - navigate('/horario-seleccion'); // Redirecciona a la página de selección de horario + navigate('/horario-seleccion', {state: {nombre}}); // Redirecciona a la página de selección de horario } } catch (error) { console.error("Error al iniciar sesión:", error); diff --git a/Inscripciones_UAIE/react_frontend/src/components/RevisionHorarioTutor.css b/react_frontend/src/components/RevisionHorarioTutor.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/RevisionHorarioTutor.css rename to react_frontend/src/components/RevisionHorarioTutor.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/RevisionHorarioTutor.js b/react_frontend/src/components/RevisionHorarioTutor.js similarity index 68% rename from Inscripciones_UAIE/react_frontend/src/components/RevisionHorarioTutor.js rename to react_frontend/src/components/RevisionHorarioTutor.js index 0d61a968452c3577de4a0023959645f3ba2f1841..efdbe744bf18f9ffaf9fa9f4f395c2cff18144fd 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/RevisionHorarioTutor.js +++ b/react_frontend/src/components/RevisionHorarioTutor.js @@ -1,19 +1,29 @@ -import React from "react"; +import React, { useState } from "react"; import "./RevisionHorarioTutor.css"; function RevisionHorarioTutor() { + + const [mostrarModal, setMostrarModal] = useState(false); + + const setModal = () => { + setMostrarModal(true); + } + return (
+

Revisión de horario

-

Nombre del alumno: Juan Perez

Semestre: 2do

-

Carrera: Ingeniería en desarrollo

+ +

Nombre del alumno: Juan Perez

Semestre: 2do

+

Carrera: Ingeniería en desarrollo

+ @@ -42,6 +52,19 @@ function RevisionHorarioTutor() {
+ {mostrarModal && ( +
+
+

AVISO

+

Una vez que finalice el proceso, no podrá hacer cambios.

+

+ ¿Desea continuar con la validación? +

+ + +
+
+ )}

Comentarios

@@ -57,7 +80,7 @@ function RevisionHorarioTutor() {
- +
diff --git a/Inscripciones_UAIE/react_frontend/src/components/UserList.js b/react_frontend/src/components/UserList.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/UserList.js rename to react_frontend/src/components/UserList.js diff --git a/Inscripciones_UAIE/react_frontend/src/components/Validacion1.css b/react_frontend/src/components/Validacion1.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Validacion1.css rename to react_frontend/src/components/Validacion1.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/Validacion1.js b/react_frontend/src/components/Validacion1.js similarity index 98% rename from Inscripciones_UAIE/react_frontend/src/components/Validacion1.js rename to react_frontend/src/components/Validacion1.js index 9b91974981b86b77995a91563bb177d03e053338..105608d6b4d04cb4aa2182525131508de3cf38a2 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/Validacion1.js +++ b/react_frontend/src/components/Validacion1.js @@ -1,4 +1,3 @@ -import React, { useEffect, useState } from "react"; import { useLocation, useNavigate } from "react-router-dom"; import "./Validacion1.css"; diff --git a/Inscripciones_UAIE/react_frontend/src/components/Validacion2.css b/react_frontend/src/components/Validacion2.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/components/Validacion2.css rename to react_frontend/src/components/Validacion2.css diff --git a/Inscripciones_UAIE/react_frontend/src/components/Validacion2.js b/react_frontend/src/components/Validacion2.js similarity index 95% rename from Inscripciones_UAIE/react_frontend/src/components/Validacion2.js rename to react_frontend/src/components/Validacion2.js index 01d1ec5bddd1498dbce4b0f6a37a0d20e7d6213a..a8ce18b081a6292e549fd9c428527cad0d004e5b 100644 --- a/Inscripciones_UAIE/react_frontend/src/components/Validacion2.js +++ b/react_frontend/src/components/Validacion2.js @@ -35,11 +35,14 @@ function Validacion2() { return (
-
- -
+ +

Validación de horario

+
+ +
+

Tu horario está en proceso de validación por parte del tutor. Una vez validado y subiendo tu comprobante de pago, podrás descargar tu diff --git a/Inscripciones_UAIE/react_frontend/src/index.css b/react_frontend/src/index.css similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/index.css rename to react_frontend/src/index.css diff --git a/Inscripciones_UAIE/react_frontend/src/index.js b/react_frontend/src/index.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/index.js rename to react_frontend/src/index.js diff --git a/Inscripciones_UAIE/react_frontend/src/logo.svg b/react_frontend/src/logo.svg similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/logo.svg rename to react_frontend/src/logo.svg diff --git a/Inscripciones_UAIE/react_frontend/src/reportWebVitals.js b/react_frontend/src/reportWebVitals.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/reportWebVitals.js rename to react_frontend/src/reportWebVitals.js diff --git a/Inscripciones_UAIE/react_frontend/src/setupTests.js b/react_frontend/src/setupTests.js similarity index 100% rename from Inscripciones_UAIE/react_frontend/src/setupTests.js rename to react_frontend/src/setupTests.js