From c4f4c44218e90f168cf961e9763e4ba368600253 Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 15:41:34 -0700 Subject: [PATCH 01/29] =?UTF-8?q?=F0=9F=8E=89|=20Initial=20commit?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 53 ++++++ .gitignore | 4 + .prettierrc | 8 + .vscode/settings.json | 3 + README.md | 226 ++++++++++++++++++++++++ package.json | 51 ++++++ scripts/env.js | 1 + scripts/minify.js | 1 + src/api/api.ts | 58 ++++++ src/api/database/database.ts | 29 +++ src/api/routes/session/create.ts | 51 ++++++ src/api/routes/session/delete.ts | 41 +++++ src/api/routes/session/url.ts | 54 ++++++ src/api/routes/session/user/connect.ts | 178 +++++++++++++++++++ src/api/routes/session/user/kick.ts | 34 ++++ src/api/routes/session/valid.ts | 43 +++++ src/models/Session.ts | 28 +++ src/pages/data/index.ejs.json | 37 ++++ src/pages/pages.ts | 198 +++++++++++++++++++++ src/pages/pages/index.ejs | 1 + src/server.ts | 34 ++++ src/ts/.prettierrc | 8 + src/ts/min/minify.js | 49 +++++ src/ts/src/connectionResponseHandler.ts | 185 +++++++++++++++++++ src/ts/src/exceptions.ts | 44 +++++ src/ts/src/sessionHandler.ts | 129 ++++++++++++++ src/ts/tsconfig.json | 101 +++++++++++ src/util/ApplicationOptions.ts | 65 +++++++ src/util/bundle.ts | 9 + src/util/logger.ts | 165 +++++++++++++++++ src/util/walk.ts | 32 ++++ tsconfig.json | 30 ++++ 32 files changed, 1950 insertions(+) create mode 100644 .eslintrc.json create mode 100644 .gitignore create mode 100644 .prettierrc create mode 100644 .vscode/settings.json create mode 100644 README.md create mode 100644 package.json create mode 100644 scripts/env.js create mode 100644 scripts/minify.js create mode 100644 src/api/api.ts create mode 100644 src/api/database/database.ts create mode 100644 src/api/routes/session/create.ts create mode 100644 src/api/routes/session/delete.ts create mode 100644 src/api/routes/session/url.ts create mode 100644 src/api/routes/session/user/connect.ts create mode 100644 src/api/routes/session/user/kick.ts create mode 100644 src/api/routes/session/valid.ts create mode 100644 src/models/Session.ts create mode 100644 src/pages/data/index.ejs.json create mode 100644 src/pages/pages.ts create mode 100644 src/pages/pages/index.ejs create mode 100644 src/server.ts create mode 100644 src/ts/.prettierrc create mode 100644 src/ts/min/minify.js create mode 100644 src/ts/src/connectionResponseHandler.ts create mode 100644 src/ts/src/exceptions.ts create mode 100644 src/ts/src/sessionHandler.ts create mode 100644 src/ts/tsconfig.json create mode 100644 src/util/ApplicationOptions.ts create mode 100644 src/util/bundle.ts create mode 100644 src/util/logger.ts create mode 100644 src/util/walk.ts create mode 100644 tsconfig.json diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..ba5f798 --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,53 @@ +{ + "env": { + "node": true, + "es6": true + }, + "extends": [ + "airbnb-typescript/base", + "prettier/@typescript-eslint", + "plugin:prettier/recommended", + "plugin:node/recommended", + "plugin:@typescript-eslint/recommended" + ], + "plugins": [ + "prettier" + ], + "parserOptions": { + "parser": "@typescript-eslint/parser", + "ecmaVersion": 2018, + "sourceType": "module" + }, + "rules": { + "prettier/prettier": "warn", + "consistent-return": "off", + "ban-ts-ignore": "off", + "no-unused-vars": [ + "warn", + { + "args": "none" + } + ], + "no-unused-expressions": [ + "warn", + { + "allowTernary": true + } + ], + "import/no-cycle": "off", + "no-console": "off", + "func-names": "off", + "object-shorthand": "off", + "class-methods-use-this": "off", + "import/no-dynamic-require": "off", + "global-require": "off", + "no-shadow": "off", + "no-useless-constructor": "off", + "node/no-unsupported-features/es-syntax": "off", + "lines-between-class-members": "off", + "import/prefer-default-export": "off", + "import/named": "off", + "@typescript-eslint/no-explicit-any": "off", + "@typescript-eslint/interface-name-prefix": "off" + } +} \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f8e48fc --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +node_modules +.env +out +yarn.lock \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..489851d --- /dev/null +++ b/.prettierrc @@ -0,0 +1,8 @@ +{ + "semi": true, + "singleQuote": true, + "useTabs": false, + "tabWidth": 4, + "trailingComma": "all", + "bracketSpacing": true +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b0fc34e --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "terminal.integrated.defaultProfile.windows": "Git Bash" +} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..5e33ee8 --- /dev/null +++ b/README.md @@ -0,0 +1,226 @@ + + +# Remote Visual Studio Code Server + +Repository for the Remote Visual Studio Code server. + +## Table of Contents + + + +
+ +# Usage + +
+ +## Installation + +#### Install via Yarn + +```bash +$ yarn install +``` + +#### Install via NPM + +```bash +$ npm install +``` + +### Adding your `.env` file + +

$ node scripts/env.js + +? Enter a MongoDB URI: mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority + +? Enter a port number: 8000 + +

+ +Output: + +```d +DATABASE_URI="mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority" +PROD_URL="https://remote-vscode.tech" // Default +PORT=8000 +``` + +### Running the server + +```bash +$ yarn start +``` + +Or + +```bash +$ npm run start +``` + +
+
+ +
+ +# Contributing + +This project is sperated into a few sections. + +
+ +## Backend + +The main code for the server is in the src/server.ts and the following folders: + +- src/api - The API for the server. +- src/models - The models for the database of server. +- src/utils - Utility functions for the server. + +
+ +
+ +## Frontend + +The frontend has two different parts: + +- src/pages - The pages for the server. + + - Routing for the UI. Each page has 2 files: a `meta` file, and a `ejs` file. The EJS file is the HTML file for the page, and the `meta` file tells the server what the page is, the route, title, meta tags, web typescript, css, javascript, and more. + + - Example of a page: + + src/pages/data/index.ejs.json + + ```JSON + { + "name": "index.ejs", + "title": "Home", // Title tag + "route": { + "override": true, // Override the default route, which in this case would be `/index` + "path": "/", // Not needed if `override` is false + "method": "GET" // Not needed if `override` is false + }, + "dependencies": [ + "exceptions" // `src/ts/src/exceptions.ts` + ], + "imports": { + "css": [], + "js": [ + "https://cdn.tailwindcss.com/dist/tailwind.min.js" + ], + "custom_js": [ + // Here you can add custom JavaScript, for example: + "console.log('Hello World')" // This will be included as a \n`; + } + + for (let i = 0; i < imports.js.length; i += 1) { + const js = imports.js[i]; + + dependencyString += ` \n`; + } + + let cssString = ''; + + for (let i = 0; i < imports.css.length; i += 1) { + const css = imports.css[i]; + + cssString += ` \n`; + } + + const metaString = meta.meta + .map( + (m): string => ` `, + ) + .join('\n'); + + const customJs = meta.imports.custom_js; + + let customJsString = ''; + + for (let i = 0; i < customJs.length; i += 1) { + const js = customJs[i]; + + customJsString += ` \n`; + } + + const header = `\n${metaString}\n\n${cssString}\n${dependencyString}\n${customJsString}\n ${title}\n`; + + const page = template + .replace('||#PAGE_HEADER#||', `${header}`) + .replace('||#PAGE_BODY#||', newEjs); + + let route = path; + let method: 'GET' | 'POST' | 'DELETE' | 'PUT' | 'PATCH' = 'GET'; + + if (meta.route.override) { + if (!meta.route.route) throw new Error('Route not found'); + route = meta.route.route; // eslint-disable-line prefer-destructuring + + if (meta.route.method) { + if ( + method !== 'GET' && + method !== 'POST' && + method !== 'DELETE' && + method !== 'PUT' && + method !== 'PATCH' + ) { + throw new Error(`Method ${method} not found`); + } + + // @ts-ignore + method = meta.route.method; // eslint-disable-line prefer-destructuring + } + } + + path = path.replace(/^\.\/src\/pages\/pages\//, ''); // eslint-disable-line no-param-reassign + + fs.writeFileSync(`./out/src/pages/out${path}`, page); + + const run = (req: Request, res: Response): void => { + const callback = new Function( + 'req', + 'res', + 'logger', + `${meta.callback}`, + ); + + callback(req, res, logger); + + if (path.charAt(0) === '/') path = path.substring(1); + + res.render(`${path}`); + }; + + switch (method) { + case 'GET': + app.get(route, (req: Request, res: Response) => { + run(req, res); + }); + break; + case 'POST': + app.post(route, (req: Request, res: Response) => { + run(req, res); + }); + break; + case 'DELETE': + app.delete(route, (req: Request, res: Response) => { + run(req, res); + }); + break; + case 'PUT': + app.put(route, (req: Request, res: Response) => { + run(req, res); + }); + break; + case 'PATCH': + app.patch(route, (req: Request, res: Response) => { + run(req, res); + }); + break; + default: + throw new Error(`Method ${method} not found`); + } +} + +const metaFolder = './src/pages/data/'; +const ejsFolder = './src/pages/pages/'; + +function getMetadataFromPage(page: string): Meta { + const content = fs.readFileSync(`${metaFolder}${page}.json`, 'utf8'); + + const meta = JSON.parse(content); + + return meta; +} + +export default function compilePages(app: Application): void { + walk(ejsFolder, (error: Error, files: string[]): void => { + if (error) throw error; + + for (let i = 0; i < files.length; i += 1) { + const file = files[i].split('pages')[2].replace(/\\/g, '/'); + + const path = `${ejsFolder}${file}`; + const meta = getMetadataFromPage(file); + + const content = fs.readFileSync(path, 'utf8'); + + compile(app, path, content, meta); + } + }); +} diff --git a/src/pages/pages/index.ejs b/src/pages/pages/index.ejs new file mode 100644 index 0000000..efe5048 --- /dev/null +++ b/src/pages/pages/index.ejs @@ -0,0 +1 @@ +

Hello world!

\ No newline at end of file diff --git a/src/server.ts b/src/server.ts new file mode 100644 index 0000000..3bb2c25 --- /dev/null +++ b/src/server.ts @@ -0,0 +1,34 @@ +/* eslint-disable import/no-named-as-default-member, import/no-named-as-default, node/no-missing-require, no-new, import/order, import/first */ +require('dotenv').config(); + +import ApplicationOptions from './util/ApplicationOptions'; +import express, { Request, Response } from 'express'; +import pages from './pages/pages'; + +const app = express(); + +(async (): Promise => { + app.get('/a', (_req: Request, res: Response) => { + res.send('Remote VSCode main server'); + }); + + new ApplicationOptions(app, { + url_parsers: { + url_encoded: true, + json: true, + }, + cors_policy: { + origin: '*', + }, + view_engine: { + engine: 'ejs', + folder: './out/src/pages/out', + }, + routers: [['/api', require('./api/api').default]], + pages: pages, + }); + + await require('./api/database/database').connect(app); +})(); + +export {}; diff --git a/src/ts/.prettierrc b/src/ts/.prettierrc new file mode 100644 index 0000000..489851d --- /dev/null +++ b/src/ts/.prettierrc @@ -0,0 +1,8 @@ +{ + "semi": true, + "singleQuote": true, + "useTabs": false, + "tabWidth": 4, + "trailingComma": "all", + "bracketSpacing": true +} \ No newline at end of file diff --git a/src/ts/min/minify.js b/src/ts/min/minify.js new file mode 100644 index 0000000..f007b83 --- /dev/null +++ b/src/ts/min/minify.js @@ -0,0 +1,49 @@ +/* eslint-disable*/ 'use strict'; +const minifier = require('uglify-js'); +const fs = require('fs'); +const log = {}; +const names = []; +function getCommentedText() { + return `/*\n This file was created by the Remote Visual Studio Code team\n You may NOT distribute or modify any files that belong to the Remote Visual Studio Code team\n\n Š ${new Date().getFullYear()} by Remote Visaul Studio Code\n*/\n`; +} +function makeName() { + const name = + '_' + + Math.random() + .toString(36) + .substr(2, 9); + if (names.includes(name)) return makeName(); + names.push(name); + return name; +} +function getHtmlTemplate(files) { + let scripts = ''; + for (const file of files) + scripts += ` \n`; + return `\n\n\n \n \n \n Document\n\n\n

Hello World

\n\n${scripts}\n`; +} +fs.readdir('./out/min', (err, files) => { + files.forEach(file => { + fs.unlink(`./out/min/${file}`, err => { + if (err) throw err; + }); + }); +}); +fs.readdirSync('./out').forEach(file => { + if (!file.endsWith('.js')) return; + const name = makeName(); + fs.renameSync(`./out/${file}`, `./out/min/${name}.js`); + const code = fs.readFileSync(`./out/min/${name}.js`, 'utf8'); + const minified = minifier.minify(code, { mangle: false }); + if (minified.error) return; + fs.writeFileSync( + `./out/min/${name}.js`, + getCommentedText() + minified.code, + ); + log[file] = `${name}.js`; + fs.writeFileSync('./out/min/log.json', JSON.stringify(log, null, 4)); + fs.writeFileSync( + './out/min/index.html', + getHtmlTemplate(Object.values(log)), + ); +}); diff --git a/src/ts/src/connectionResponseHandler.ts b/src/ts/src/connectionResponseHandler.ts new file mode 100644 index 0000000..713323f --- /dev/null +++ b/src/ts/src/connectionResponseHandler.ts @@ -0,0 +1,185 @@ +/* eslint-disable @typescript-eslint/no-unused-vars,no-unused-vars,no-restricted-syntax */ +class StatusCode { + static OK = 200; + static CREATED = 201; + static BAD_REQUEST = 400; + static UNAUTHORIZED = 401; + static FORBIDDEN = 403; + static NOT_FOUND = 404; + static CONFLICT = 409; + static INTERNAL_SERVER_ERROR = 500; + + static getStatusText(code: number): string { + switch (code) { + case StatusCode.OK: + return 'OK'; + case StatusCode.CREATED: + return 'Created'; + case StatusCode.BAD_REQUEST: + return 'Bad Request'; + case StatusCode.UNAUTHORIZED: + return 'Unauthorized'; + case StatusCode.FORBIDDEN: + return 'Forbidden'; + case StatusCode.NOT_FOUND: + return 'Not Found'; + case StatusCode.CONFLICT: + return 'Conflict'; + case StatusCode.INTERNAL_SERVER_ERROR: + return 'Internal Server Error'; + default: + return 'Unknown'; + } + } + + static isSuccess(code: number): boolean { + return code >= 200 && code < 300; + } + + static isError(code: number): boolean { + return !StatusCode.isSuccess(code); + } + + static isClientError(code: number): boolean { + return code >= 400 && code < 500; + } + + static isServerError(code: number): boolean { + return code >= 500 && code < 600; + } + + static isRedirection(code: number): boolean { + return code >= 300 && code < 400; + } +} + +class ConnectionResponse { + statusCode: number; + success: boolean; + message: string; + + data: { + success: boolean; + accepted?: boolean; + permission?: string; + message: string; + }; + + constructor( + statusCode: number, + data: { + success: boolean; + accepted?: boolean; + permission?: string; + message: string; + }, + ) { + this.statusCode = statusCode; + this.data = data; + this.success = StatusCode.isSuccess(statusCode); + this.message = this.data.message; + } +} + +class ConnectionResponseHandler { + private response: ConnectionResponse; + + constructor(response: ConnectionResponse) { + this.response = response; + } + + get statusCode(): StatusCode { + return this.response.statusCode; + } + + get success(): boolean { + return this.response.success; + } + + get message(): string { + return this.response.message; + } + + get data(): any { + return this.response.data; + } + + get accepted(): boolean { + if ( + (this.statusCode !== StatusCode.OK && + this.statusCode !== StatusCode.CREATED) || + !this.response.data.accepted + ) + return false; + + return this.response.data.accepted; + } + + get permission(): string | null { + if ( + (this.statusCode !== StatusCode.OK && + this.statusCode !== StatusCode.CREATED) || + !this.response.data.permission + ) + return null; + + return this.response.data.permission; + } +} + +const SUCCESS_MESSAGES = ['Success', 'Timed out']; + +const ERROR_MESSAGES = [ + 'Missing parameters', + 'Invalid permission', + 'Invalid location', + 'Session not found', + 'Invalid response', + 'Could not connect', +]; + +function validateResponseFromConnection(httpResponse: any): boolean { + if (!httpResponse) return false; + + const data: { + success: boolean; + accepted?: boolean; + permission?: string; + message: string; + } = { + success: false, + message: 'Unknown error', + }; + + if (httpResponse.success === undefined || !httpResponse.message) + return false; + data.success = httpResponse.success; + data.message = httpResponse.message; + + if (httpResponse.accepted !== undefined) + data.accepted = httpResponse.accepted; + if (httpResponse.permission !== undefined) + data.permission = httpResponse.permission; + + const response = new ConnectionResponse(httpResponse.statusCode, data); + + let isValid; + + for (const message of ERROR_MESSAGES) { + if (response.message === message) { + isValid = false; + break; + } + } + + for (const message of SUCCESS_MESSAGES) { + if (response.message === message) { + isValid = true; + break; + } + } + + if (!isValid) return false; + + return true; +} diff --git a/src/ts/src/exceptions.ts b/src/ts/src/exceptions.ts new file mode 100644 index 0000000..763657f --- /dev/null +++ b/src/ts/src/exceptions.ts @@ -0,0 +1,44 @@ +/* eslint-disable @typescript-eslint/no-unused-vars */ +/* eslint-disable no-unused-vars */ +abstract class Exception { + private message: string; + private name: string; + + constructor(message: string) { + this.message = message; + + this.name = this.constructor.name; + + console.error(this.toString()); + } + + public toString(): string { + return `${this.name}: ${this.message}`; + } + + public getName(): string { + return this.name; + } + + public getMessage(): string { + return this.message; + } +} + +class ClientServerConnectionRefusedException extends Exception { + constructor(message: string) { + super(message); + } +} + +class ServerConnectionRefusedException extends Exception { + constructor(message: string) { + super(message); + } +} + +class FileNotFoundException extends Exception { + constructor(message: string) { + super(message); + } +} diff --git a/src/ts/src/sessionHandler.ts b/src/ts/src/sessionHandler.ts new file mode 100644 index 0000000..1b87f76 --- /dev/null +++ b/src/ts/src/sessionHandler.ts @@ -0,0 +1,129 @@ +/* eslint-disable @typescript-eslint/no-unused-vars,no-unused-vars,prefer-promise-reject-errors */ +function makeRequest(method: string, url: string): Promise { + return new Promise((resolve, reject) => { + const req = new XMLHttpRequest(); // eslint-disable-line no-undef + try { + req.open(method, `${url}`); + req.send(); + } catch (err) { + reject({ + status: 500, + data: { + success: false, + message: err, + }, + }); + } + + req.onload = (): void => { + if (req.status === 200) { + const json = JSON.parse(req.responseText); + + const obj = { + status: 200, + data: json, + }; + + resolve(obj); + } else { + const error = req.statusText; + const { status } = req; + + const obj = { + status: status, + data: { + success: false, + message: error, + }, + }; + + resolve(obj); + } + }; + }); +} + +class Session { + public sid: string; + public password: string; + public url: string; + + constructor(sid: string, password: string, url: string) { + this.sid = sid; + this.password = password; + this.url = url; + } +} + +async function getSession( + sid: string, + password: string, +): Promise { + let response: any; + + try { + response = await makeRequest( + 'GET', + `http://localhost:8000/api/session/valid?sid=${sid}&password=${encodeURIComponent( + password, + )}`, + ); + } catch (err) { + console.log(err); + return null; + } + + if (!response) return null; + + const { message } = response.data; + const valid = message === 'Valid session'; + + try { + response = await makeRequest( + 'GET', + `http://localhost:8000/api/session/url?sid=${sid}&password=${encodeURIComponent( + password, + )}`, + ); + } catch (err) { + console.log(err); + return null; + } + + if (!response) return null; + + const { url } = response.data; + if (!url) return null; + + return new Session(sid, password, url); +} + +class SessionHandler { + public session: Session; + + constructor(session: Session) { + this.session = session; + } + + public async getFile(file: string): Promise { + const response: any = await makeRequest( + 'GET', + `${this.session.url}/files/system?file=${file}`, + ); + + if (response.status !== 200) throw new Error(response.data.message); + + return response.data.content; + } + + static async from( + sid: string, + password: string, + ): Promise { + const session = await getSession(sid, password); + + if (!session || session === null) return null; + + return new SessionHandler(session); + } +} diff --git a/src/ts/tsconfig.json b/src/ts/tsconfig.json new file mode 100644 index 0000000..726ff2d --- /dev/null +++ b/src/ts/tsconfig.json @@ -0,0 +1,101 @@ +{ + "compilerOptions": { + /* Visit https://aka.ms/tsconfig.json to read more about this file */ + + /* Projects */ + // "incremental": true, /* Enable incremental compilation */ + // "composite": true, /* Enable constraints that allow a TypeScript project to be used with project references. */ + // "tsBuildInfoFile": "./", /* Specify the folder for .tsbuildinfo incremental compilation files. */ + // "disableSourceOfProjectReferenceRedirect": true, /* Disable preferring source files instead of declaration files when referencing composite projects */ + // "disableSolutionSearching": true, /* Opt a project out of multi-project reference checking when editing. */ + // "disableReferencedProjectLoad": true, /* Reduce the number of projects loaded automatically by TypeScript. */ + + /* Language and Environment */ + "target": "es2016", /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */ + // "lib": [], /* Specify a set of bundled library declaration files that describe the target runtime environment. */ + // "jsx": "preserve", /* Specify what JSX code is generated. */ + // "experimentalDecorators": true, /* Enable experimental support for TC39 stage 2 draft decorators. */ + // "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated declarations in source files. */ + // "jsxFactory": "", /* Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h' */ + // "jsxFragmentFactory": "", /* Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'. */ + // "jsxImportSource": "", /* Specify module specifier used to import the JSX factory functions when using `jsx: react-jsx*`.` */ + // "reactNamespace": "", /* Specify the object invoked for `createElement`. This only applies when targeting `react` JSX emit. */ + // "noLib": true, /* Disable including any library files, including the default lib.d.ts. */ + // "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class fields. */ + + /* Modules */ + "module": "commonjs", /* Specify what module code is generated. */ + "rootDir": "./src", /* Specify the root folder within your source files. */ + // "moduleResolution": "node", /* Specify how TypeScript looks up a file from a given module specifier. */ + // "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */ + // "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */ + // "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */ + // "typeRoots": [], /* Specify multiple folders that act like `./node_modules/@types`. */ + // "types": [], /* Specify type package names to be included without being referenced in a source file. */ + // "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */ + // "resolveJsonModule": true, /* Enable importing .json files */ + // "noResolve": true, /* Disallow `import`s, `require`s or ``s from expanding the number of files TypeScript should add to a project. */ + + /* JavaScript Support */ + // "allowJs": true, /* Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files. */ + // "checkJs": true, /* Enable error reporting in type-checked JavaScript files. */ + // "maxNodeModuleJsDepth": 1, /* Specify the maximum folder depth used for checking JavaScript files from `node_modules`. Only applicable with `allowJs`. */ + + /* Emit */ + // "declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */ + // "declarationMap": true, /* Create sourcemaps for d.ts files. */ + // "emitDeclarationOnly": true, /* Only output d.ts files and not JavaScript files. */ + // "sourceMap": true, /* Create source map files for emitted JavaScript files. */ + // "outFile": "./", /* Specify a file that bundles all outputs into one JavaScript file. If `declaration` is true, also designates a file that bundles all .d.ts output. */ + "outDir": "./out", /* Specify an output folder for all emitted files. */ + // "removeComments": true, /* Disable emitting comments. */ + // "noEmit": true, /* Disable emitting files from a compilation. */ + // "importHelpers": true, /* Allow importing helper functions from tslib once per project, instead of including them per-file. */ + // "importsNotUsedAsValues": "remove", /* Specify emit/checking behavior for imports that are only used for types */ + // "downlevelIteration": true, /* Emit more compliant, but verbose and less performant JavaScript for iteration. */ + // "sourceRoot": "", /* Specify the root path for debuggers to find the reference source code. */ + // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": true, /* Include sourcemap files inside the emitted JavaScript. */ + // "inlineSources": true, /* Include source code in the sourcemaps inside the emitted JavaScript. */ + // "emitBOM": true, /* Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files. */ + // "newLine": "crlf", /* Set the newline character for emitting files. */ + // "stripInternal": true, /* Disable emitting declarations that have `@internal` in their JSDoc comments. */ + // "noEmitHelpers": true, /* Disable generating custom helper functions like `__extends` in compiled output. */ + // "noEmitOnError": true, /* Disable emitting files if any type checking errors are reported. */ + // "preserveConstEnums": true, /* Disable erasing `const enum` declarations in generated code. */ + // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ + // "preserveValueImports": true, /* Preserve unused imported values in the JavaScript output that would otherwise be removed. */ + + /* Interop Constraints */ + // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ + // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ + "esModuleInterop": true, /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables `allowSyntheticDefaultImports` for type compatibility. */ + // "preserveSymlinks": true, /* Disable resolving symlinks to their realpath. This correlates to the same flag in node. */ + "forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */ + + /* Type Checking */ + "strict": true, /* Enable all strict type-checking options. */ + // "noImplicitAny": true, /* Enable error reporting for expressions and declarations with an implied `any` type.. */ + // "strictNullChecks": true, /* When type checking, take into account `null` and `undefined`. */ + // "strictFunctionTypes": true, /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */ + // "strictBindCallApply": true, /* Check that the arguments for `bind`, `call`, and `apply` methods match the original function. */ + // "strictPropertyInitialization": true, /* Check for class properties that are declared but not set in the constructor. */ + // "noImplicitThis": true, /* Enable error reporting when `this` is given the type `any`. */ + // "useUnknownInCatchVariables": true, /* Type catch clause variables as 'unknown' instead of 'any'. */ + // "alwaysStrict": true, /* Ensure 'use strict' is always emitted. */ + // "noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */ + // "noUnusedParameters": true, /* Raise an error when a function parameter isn't read */ + // "exactOptionalPropertyTypes": true, /* Interpret optional property types as written, rather than adding 'undefined'. */ + // "noImplicitReturns": true, /* Enable error reporting for codepaths that do not explicitly return in a function. */ + // "noFallthroughCasesInSwitch": true, /* Enable error reporting for fallthrough cases in switch statements. */ + // "noUncheckedIndexedAccess": true, /* Include 'undefined' in index signature results */ + // "noImplicitOverride": true, /* Ensure overriding members in derived classes are marked with an override modifier. */ + // "noPropertyAccessFromIndexSignature": true, /* Enforces using indexed accessors for keys declared using an indexed type */ + // "allowUnusedLabels": true, /* Disable error reporting for unused labels. */ + // "allowUnreachableCode": true, /* Disable error reporting for unreachable code. */ + + /* Completeness */ + // "skipDefaultLibCheck": true, /* Skip type checking .d.ts files that are included with TypeScript. */ + "skipLibCheck": true /* Skip type checking all .d.ts files. */ + } +} diff --git a/src/util/ApplicationOptions.ts b/src/util/ApplicationOptions.ts new file mode 100644 index 0000000..ffde600 --- /dev/null +++ b/src/util/ApplicationOptions.ts @@ -0,0 +1,65 @@ +import bodyparser from 'body-parser'; +import { Application } from 'express'; +import cors from 'cors'; + +type Options = { + url_parsers: { url_encoded: boolean; json: boolean }; + cors_policy: { origin: string }; + view_engine: { engine: string; folder: string }; + routers: [string, any][]; + pages: any; +}; + +export default class ApplicationOptions { + private app: Application; + + private options: Options; + + constructor(app: Application, options: Options) { + this.app = app; + this.options = options; + + this.applyOptions(); + } + + private applyOptions(): void { + const applyUrlParsers = (): void => { + if (this.options.url_parsers.url_encoded) { + this.app.use(bodyparser.urlencoded({ extended: false })); + } + + if (this.options.url_parsers.json) { + this.app.use(bodyparser.json()); + } + }; + + const applyCorsPolicy = (): void => { + this.app.use( + cors({ + origin: this.options.cors_policy.origin, + }), + ); + }; + + const applyViewEngine = (): void => { + this.app.set('view engine', this.options.view_engine.engine); + this.app.set('views', this.options.view_engine.folder); + }; + + const applyAppRouters = (): void => { + this.options.routers.forEach(([path, router]) => { + this.app.use(path, router); + }); + }; + + const enableWebPages = (): void => { + this.options.pages(this.app); + }; + + applyUrlParsers(); + applyCorsPolicy(); + applyViewEngine(); + applyAppRouters(); + enableWebPages(); + } +} diff --git a/src/util/bundle.ts b/src/util/bundle.ts new file mode 100644 index 0000000..8c7bc8e --- /dev/null +++ b/src/util/bundle.ts @@ -0,0 +1,9 @@ +/* eslint-disable @typescript-eslint/ban-ts-ignore */ +// @ts-ignore +import log from '../web/log.json'; // eslint-disable-line import/no-unresolved + +export = { + get: (key: string): string => { + return log[key]; + }, +}; diff --git a/src/util/logger.ts b/src/util/logger.ts new file mode 100644 index 0000000..3565275 --- /dev/null +++ b/src/util/logger.ts @@ -0,0 +1,165 @@ +import { Response } from 'express'; +import colors, { Color } from 'colors'; + +function _getCallerFileName() { + const original = Error.prepareStackTrace; + let caller; + + try { + const err = new Error(); + let current; + + Error.prepareStackTrace = (_err: any, stack: any) => { + return stack; + }; + + if (!err.stack) return null; + + // @ts-ignore + current = err.stack.shift().getFileName(); + + while (err.stack.length) { + // @ts-ignore + caller = err.stack.shift().getFileName(); + + if (current !== caller) break; + } + } catch (err) {} + + Error.prepareStackTrace = original; + return caller; +} + +const LOCATION_COLOR = colors.blue; +const MESSAGE_COLOR = colors.blue; + +const REPLACEMENTS = [ + { + name: 'Api', + replacement: 'API', + }, +]; + +function capitalizeFirstLetter(string: string): string { + return string.charAt(0).toUpperCase() + string.slice(1); +} + +function replacement(name: string): string { + return REPLACEMENTS.find(r => r.name === name)?.replacement ?? name; +} + +function _log(message: string, color: Color, overrideLocation?: string): void { + const location = overrideLocation + ? overrideLocation + : replacement( + capitalizeFirstLetter( + _getCallerFileName() + .split('.')[0] + .split('/') + .pop() + .split('\\') + .pop() + .replace('index', 'main'), + ), + ); + + console.log( + `${colors.bold(LOCATION_COLOR(`[${location}]`))} ${color(message)}`, + ); +} + +const info = (message: string, overrideLocation?: string): void => { + if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); + else _log(message, MESSAGE_COLOR); +}; + +const warn = (message: string, overrideLocation?: string): void => { + if (overrideLocation) _log(message, colors.yellow, overrideLocation); + _log(message, colors.yellow); +}; + +const error = (message: string, overrideLocation?: string): void => { + if (overrideLocation) _log(message, colors.red, overrideLocation); + _log(message, colors.red); +}; + +const infoWithStatus = ( + message: string, + res: Response, + status: number, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); + info(message); + return res.status(status); +}; + +const warnWithStatus = ( + message: string, + res: Response, + status: number, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, colors.yellow, overrideLocation); + warn(message); + return res.status(status); +}; + +const errorWithStatus = ( + message: string, + res: Response, + status: number, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, colors.red, overrideLocation); + error(message); + return res.status(status); +}; + +const infoWithStatusAndJson = ( + message: string, + res: Response, + status: number, + json: any, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); + info(message); + return res.status(status).json(json); +}; + +const warnWithStatusAndJson = ( + message: string, + res: Response, + status: number, + json: any, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, colors.yellow, overrideLocation); + warn(message); + return res.status(status).json(json); +}; + +const errorWithStatusAndJson = ( + message: string, + res: Response, + status: number, + json: any, + overrideLocation?: string, +): Response => { + if (overrideLocation) _log(message, colors.red, overrideLocation); + error(message); + return res.status(status).json(json); +}; + +export { + info, + warn, + error, + infoWithStatus, + warnWithStatus, + errorWithStatus, + infoWithStatusAndJson, + warnWithStatusAndJson, + errorWithStatusAndJson, +}; diff --git a/src/util/walk.ts b/src/util/walk.ts new file mode 100644 index 0000000..85814da --- /dev/null +++ b/src/util/walk.ts @@ -0,0 +1,32 @@ +/* eslint-disable consistent-return */ +/* eslint-disable no-param-reassign */ +/* eslint-disable no-plusplus */ + +import path from 'path'; +import fs from 'fs'; + +export default function walk(dir: string, done: any): void { + let results: string[] = []; + fs.readdir(dir, (err, list) => { + if (err) return done(err); + + let pending = list.length; + + if (!pending) done(null, results); + list.forEach(file => { + file = path.resolve(dir, file); + + fs.stat(file, (_err, stat) => { + if (stat && stat.isDirectory()) { + walk(file, (_err: any, res: string[]) => { + results = results.concat(res); + if (!--pending) done(null, results); + }); + } else { + results.push(file); + if (!--pending) done(null, results); + } + }); + }); + }); +} diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..d4ebf6d --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,30 @@ +{ + "compilerOptions": { + "target": "ES2020", + "lib": ["ES6"], + "module": "commonjs", + "rootDir": "./src", + "allowJs": true, + "checkJs": true, + "declaration": true, + "declarationMap": true, + "outDir": "./out/src", + "removeComments": true, + "declarationDir": "./out/declaration", + "esModuleInterop": true, + "forceConsistentCasingInFileNames": true, + "strict": true, + "noImplicitAny": true, + "strictNullChecks": true, + "strictFunctionTypes": true, + "strictPropertyInitialization": true, + "alwaysStrict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitReturns": true, + "skipDefaultLibCheck": true, + "skipLibCheck": true, + "moduleResolution": "Node" + }, + "exclude": ["node_modules", "out", "src/ts", "scripts"] +} From b91410a72f7537d75bc0d74eac228f37905f3a09 Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 15:47:03 -0700 Subject: [PATCH 02/29] =?UTF-8?q?=E2=9C=A8|=20Update=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 81 +++++++++++++++++++++---------------------------------- 1 file changed, 30 insertions(+), 51 deletions(-) diff --git a/README.md b/README.md index 5e33ee8..8fe8ca5 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,8 @@ - - -# Remote Visual Studio Code Server - -Repository for the Remote Visual Studio Code server. - -## Table of Contents +## Table of Contents
    @@ -40,11 +19,11 @@ Repository for the Remote Visual Studio Code server.
    -# Usage +# Usage
    -## Installation +## Installation #### Install via Yarn @@ -60,11 +39,11 @@ $ npm install ### Adding your `.env` file -

    $ node scripts/env.js +

    $ node scripts/env.js -? Enter a MongoDB URI: mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority +? Enter a MongoDB URI: mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority -? Enter a port number: 8000 +? Enter a port number: 8000

    @@ -93,35 +72,35 @@ $ npm run start
    -# Contributing +# Contributing -This project is sperated into a few sections. +This project is sperated into a few sections.
    -## Backend +## Backend -The main code for the server is in the src/server.ts and the following folders: +The main code for the server is in the src/server.ts and the following folders: -- src/api - The API for the server. -- src/models - The models for the database of server. -- src/utils - Utility functions for the server. +- src/api - The API for the server. +- src/models - The models for the database of server. +- src/utils - Utility functions for the server.
    -## Frontend +## Frontend The frontend has two different parts: -- src/pages - The pages for the server. +- src/pages - The pages for the server. - Routing for the UI. Each page has 2 files: a `meta` file, and a `ejs` file. The EJS file is the HTML file for the page, and the `meta` file tells the server what the page is, the route, title, meta tags, web typescript, css, javascript, and more. - Example of a page: - src/pages/data/index.ejs.json + src/pages/data/index.ejs.json ```JSON { @@ -165,15 +144,15 @@ The frontend has two different parts: } ``` - src/pages/pages/index.ejs + src/pages/pages/index.ejs ```html

    Hello world!

    ``` -- src/ts - Web Typescript files. +- src/ts - Web Typescript files. - Web TypeScript, or `bundles`, are TypeScript files that are compiled into a minfied file with a random name, for example: `_d85favsog.js`. Then they are assigned a route like `/api/bundle/_d85favsog.js`. The browser can then access them from their original names, listed as dependencies in their `meta` file. - - src/ts/min/minify.js - A script that compiles and minfies all web TypeScript files. + - src/ts/min/minify.js - A script that compiles and minfies all web TypeScript files.
    Minify files: ```bash @@ -185,18 +164,18 @@ The frontend has two different parts:
    -## API +## API -The API (src/api) is the main API for the server. +The API (src/api) is the main API for the server. It contains: -- src/api/api.ts - The express router focused on configuring the API on startup. Includes: `Folder routing (Folders transform into routes)`, and `Web TypeScript routing (adds routes for the compiled web TypeScript)` +- src/api/api.ts - The express router focused on configuring the API on startup. Includes: `Folder routing (Folders transform into routes)`, and `Web TypeScript routing (adds routes for the compiled web TypeScript)` -- src/api/routes - The routes folder, which contains the routes for the API. +- src/api/routes - The routes folder, which contains the routes for the API. Example of a route: - src/api/routes/weather/grab.ts + src/api/routes/weather/grab.ts ```TS import { Request, Response } from 'express'; @@ -213,14 +192,14 @@ It contains: } ``` -- src/api/database - The database folder, which handles establishing a connection to the database. The app will only start once the database is connected. +- src/api/database - The database folder, which handles establishing a connection to the database. The app will only start once the database is connected.
    -# License +# License -CC BY-NC-ND 3.0 +CC BY-NC-ND 3.0 -This project is licensed under the CC BY-NC-ND 3.0 license. +This project is licensed under the CC BY-NC-ND 3.0 license. From f810c37c4ef5b538095fa381337eea03bd89e94f Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 15:52:47 -0700 Subject: [PATCH 03/29] Testing readme styles --- README.md | 62 ++++++++++++++++++++++++----------------------- readme-styles.svg | 23 ++++++++++++++++++ 2 files changed, 55 insertions(+), 30 deletions(-) create mode 100644 readme-styles.svg diff --git a/README.md b/README.md index 8fe8ca5..c4608e0 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ -# Remote Visual Studio Code Server +Styles -Repository for the >Remote Visual Studio Code server. +# Remote Visual Studio Code Server -## Table of Contents +Repository for the Remote Visual Studio Code server. + +## Table of Contents
      @@ -19,11 +21,11 @@ Repository for the > -# Usage +# Usage
      -## Installation +## Installation #### Install via Yarn @@ -39,11 +41,11 @@ $ npm install ### Adding your `.env` file -

      $ node scripts/env.js +

      $ node scripts/env.js -? Enter a MongoDB URI: mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority +? Enter a MongoDB URI: mongodb+srv://USERNAME:PASSWORD@DATABASE.rxwax.mongodb.net/DATABASE?retryWrites=true&w=majority -? Enter a port number: 8000 +? Enter a port number: 8000

      @@ -72,35 +74,35 @@ $ npm run start
      -# Contributing +# Contributing -This project is sperated into a few sections. +This project is sperated into a few sections.
      -## Backend +## Backend -The main code for the server is in the src/server.ts and the following folders: +The main code for the server is in the src/server.ts and the following folders: -- src/api - The API for the server. -- src/models - The models for the database of server. -- src/utils - Utility functions for the server. +- src/api - The API for the server. +- src/models - The models for the database of server. +- src/utils - Utility functions for the server.
      -## Frontend +## Frontend The frontend has two different parts: -- src/pages - The pages for the server. +- src/pages - The pages for the server. - Routing for the UI. Each page has 2 files: a `meta` file, and a `ejs` file. The EJS file is the HTML file for the page, and the `meta` file tells the server what the page is, the route, title, meta tags, web typescript, css, javascript, and more. - Example of a page: - src/pages/data/index.ejs.json + src/pages/data/index.ejs.json ```JSON { @@ -144,15 +146,15 @@ The frontend has two different parts: } ``` - src/pages/pages/index.ejs + src/pages/pages/index.ejs ```html

      Hello world!

      ``` -- src/ts - Web Typescript files. +- src/ts - Web Typescript files. - Web TypeScript, or `bundles`, are TypeScript files that are compiled into a minfied file with a random name, for example: `_d85favsog.js`. Then they are assigned a route like `/api/bundle/_d85favsog.js`. The browser can then access them from their original names, listed as dependencies in their `meta` file. - - src/ts/min/minify.js - A script that compiles and minfies all web TypeScript files. + - src/ts/min/minify.js - A script that compiles and minfies all web TypeScript files.
      Minify files: ```bash @@ -164,18 +166,18 @@ The frontend has two different parts:
      -## API +## API -The API (src/api) is the main API for the server. +The API (src/api) is the main API for the server. It contains: -- src/api/api.ts - The express router focused on configuring the API on startup. Includes: `Folder routing (Folders transform into routes)`, and `Web TypeScript routing (adds routes for the compiled web TypeScript)` +- src/api/api.ts - The express router focused on configuring the API on startup. Includes: `Folder routing (Folders transform into routes)`, and `Web TypeScript routing (adds routes for the compiled web TypeScript)` -- src/api/routes - The routes folder, which contains the routes for the API. +- src/api/routes - The routes folder, which contains the routes for the API. Example of a route: - src/api/routes/weather/grab.ts + src/api/routes/weather/grab.ts ```TS import { Request, Response } from 'express'; @@ -192,14 +194,14 @@ It contains: } ``` -- src/api/database - The database folder, which handles establishing a connection to the database. The app will only start once the database is connected. +- src/api/database - The database folder, which handles establishing a connection to the database. The app will only start once the database is connected.
      -# License +# License -CC BY-NC-ND 3.0 +CC BY-NC-ND 3.0 -This project is licensed under the CC BY-NC-ND 3.0 license. +This project is licensed under the CC BY-NC-ND 3.0 license. diff --git a/readme-styles.svg b/readme-styles.svg new file mode 100644 index 0000000..ce183fb --- /dev/null +++ b/readme-styles.svg @@ -0,0 +1,23 @@ + + +
      + +
      +
      +
      From e1e8239ba1c7f106e2f4ed5c8a25b5b51c6592c0 Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 15:54:28 -0700 Subject: [PATCH 04/29] =?UTF-8?q?=E2=9C=A8|=20Update=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 20 +++++++++++++++++++- readme-styles.svg | 23 ----------------------- 2 files changed, 19 insertions(+), 24 deletions(-) delete mode 100644 readme-styles.svg diff --git a/README.md b/README.md index c4608e0..3ceb5f8 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,22 @@ -Styles +DISCLAIMER: Easier to read in Visual Studio Code because styles in markdown are not supported in github. + + # Remote Visual Studio Code Server diff --git a/readme-styles.svg b/readme-styles.svg deleted file mode 100644 index ce183fb..0000000 --- a/readme-styles.svg +++ /dev/null @@ -1,23 +0,0 @@ - - -
      - -
      -
      -
      From a3cc2ae47d7800d2f9facadca75730c935c1b96e Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 22:16:31 -0700 Subject: [PATCH 05/29] =?UTF-8?q?=E2=9C=A8|=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + package.json | 3 +- src/pages/data/editor.ejs.json | 29 ++++++++++++ src/pages/data/index.ejs.json | 37 --------------- src/pages/pages.ts | 11 ++++- src/pages/pages/editor.ejs | 34 ++++++++++++++ src/pages/pages/index.ejs | 1 - src/public/css/editor/editor.css | 32 +++++++++++++ src/public/css/editor/files.css | 5 ++ src/public/css/editor/terminal.css | 30 ++++++++++++ src/public/css/editor/texteditor.css | 24 ++++++++++ src/server.ts | 3 ++ src/ts/src/editor.ts | 68 ++++++++++++++++++++++++++++ src/util/ApplicationOptions.ts | 12 +++-- 14 files changed, 247 insertions(+), 43 deletions(-) create mode 100644 src/pages/data/editor.ejs.json delete mode 100644 src/pages/data/index.ejs.json create mode 100644 src/pages/pages/editor.ejs delete mode 100644 src/pages/pages/index.ejs create mode 100644 src/public/css/editor/editor.css create mode 100644 src/public/css/editor/files.css create mode 100644 src/public/css/editor/terminal.css create mode 100644 src/public/css/editor/texteditor.css create mode 100644 src/ts/src/editor.ts diff --git a/README.md b/README.md index 3ceb5f8..2fac8b1 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ The frontend has two different parts: "content": "home, index, page" } ], + "header": "header\n", // Add more tags to the header // This code executes on the server "callback": "logger.info('Index loaded!', 'Router');" // The logger class is default imported for all callbacks } diff --git a/package.json b/package.json index 6dc70a7..3600195 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,8 @@ "description": "Server for Remote Visual Studio Code.", "main": "src/server.js", "scripts": { - "start": "yarn run lint && yarn run compile && node out/src/server.js", + "start": "yarn compile && node out/src/server.js", + "startl": "yarn lint && yarn start", "buildweb": "cd src/ts && rm -rf ./out/min && mkdir out\\min && tsc && node min/minify.js", "moveweb": "rm -rf out/src/web && mkdir out\\src\\web && mv src/ts/out/min/* out/src/web && rm -rf src/ts/out && rm -rf out/src/web/index.html", "compile": "tsc && copyfiles -u 1 src/**/*.ejs out/src && copyfiles -u 1 src/**/*.json out/src && yarn run buildweb && yarn run moveweb && node scripts/minify.js", diff --git a/src/pages/data/editor.ejs.json b/src/pages/data/editor.ejs.json new file mode 100644 index 0000000..0c8dff3 --- /dev/null +++ b/src/pages/data/editor.ejs.json @@ -0,0 +1,29 @@ +{ + "name": "editor.ejs", + "title": "Remote VSCode Editor", + "route": { + "override": false + }, + "dependencies": [ + "editor" + ], + "imports": { + "css": [ + "http://localhost:8000/css/editor/editor.css", + "http://localhost:8000/css/editor/files.css", + "http://localhost:8000/css/editor/terminal.css", + "http://localhost:8000/css/editor/texteditor.css", + "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap" + ], + "js": [], + "custom_js": [] + }, + "meta": [ + { + "name": "viewport", + "content": "width=device-width" + } + ], + "header": "\n\n", + "callback": "" +} \ No newline at end of file diff --git a/src/pages/data/index.ejs.json b/src/pages/data/index.ejs.json deleted file mode 100644 index 891f56e..0000000 --- a/src/pages/data/index.ejs.json +++ /dev/null @@ -1,37 +0,0 @@ -{ - "name": "index.ejs", - "title": "Home", - "route": { - "override": true, - "route": "/", - "method": "GET" - }, - "dependencies": [ - "sessionHandler", - "exceptions" - ], - "imports": { - "css": [], - "js": [ - "https://cdn.tailwindcss.com/dist/tailwind.min.js" - ], - "custom_js": [ - "tailwind.config={theme:{extend:{colors:{primary:'#222831',secondary:'#393E46',accent:'#00ADB5',white:'#FFFFFF'}}}}" - ] - }, - "meta": [ - { - "name": "viewport", - "content": "width=device-width, initial-scale=1" - }, - { - "name": "description", - "content": "The home page of the website" - }, - { - "name": "keywords", - "content": "home, index, page" - } - ], - "callback": "logger.info('Index loaded!', 'Router');" -} \ No newline at end of file diff --git a/src/pages/pages.ts b/src/pages/pages.ts index 319e430..5b6fe4a 100644 --- a/src/pages/pages.ts +++ b/src/pages/pages.ts @@ -20,6 +20,7 @@ type Meta = { dependencies: string[]; imports: { css: string[]; js: string[]; custom_js: string[] }; meta: { name: string; content: string }[]; + header: string; callback: string; }; @@ -90,7 +91,7 @@ export function compile( customJsString += ` \n`; } - const header = `\n${metaString}\n\n${cssString}\n${dependencyString}\n${customJsString}\n ${title}\n`; + const header = `\n ${meta.header}\n${metaString}\n\n${cssString}\n${dependencyString}\n${customJsString}\n ${title}\n`; const page = template .replace('||#PAGE_HEADER#||', `${header}`) @@ -117,6 +118,14 @@ export function compile( // @ts-ignore method = meta.route.method; // eslint-disable-line prefer-destructuring } + } else { + // @ts-ignore + route = `/${ + route + .split('/') + .pop() + ?.split('.')[0] + }`; } path = path.replace(/^\.\/src\/pages\/pages\//, ''); // eslint-disable-line no-param-reassign diff --git a/src/pages/pages/editor.ejs b/src/pages/pages/editor.ejs new file mode 100644 index 0000000..591b5ef --- /dev/null +++ b/src/pages/pages/editor.ejs @@ -0,0 +1,34 @@ +
      +
      +

      Files

      + +
      + + + +
      + +
      +
      +

      No files open

      +

      You can open files on your left.

      +
      + +
      +

      Text Editor

      +
      +
      + +
      +
      + +
      + + +
      +
      + + \ No newline at end of file diff --git a/src/pages/pages/index.ejs b/src/pages/pages/index.ejs deleted file mode 100644 index efe5048..0000000 --- a/src/pages/pages/index.ejs +++ /dev/null @@ -1 +0,0 @@ -

      Hello world!

      \ No newline at end of file diff --git a/src/public/css/editor/editor.css b/src/public/css/editor/editor.css new file mode 100644 index 0000000..081814d --- /dev/null +++ b/src/public/css/editor/editor.css @@ -0,0 +1,32 @@ +:root { + --primary: #222831; + --secondary: #393e46; + --blue: #00ADB5; + --white: #EEEEEE; +} + +body { + height: 100vh; + background: var(--secondary); + font-family: 'Fira Code', monospace; +} + +.blue { + color: var(--blue); +} + +.white { + color: var(--white); +} + +.editor-wrapper { + display: grid; + grid-template-columns: 0.4fr 1fr 0.75fr; + grid-template-rows: 1fr; + grid-column-gap: 0p; + grid-row-gap: 0px; + color: var(--white); + min-height: 98vh; + max-height: 98vh; + overflow: hidden; +} diff --git a/src/public/css/editor/files.css b/src/public/css/editor/files.css new file mode 100644 index 0000000..f150c30 --- /dev/null +++ b/src/public/css/editor/files.css @@ -0,0 +1,5 @@ +.files { + grid-area: 1 / 1 / 2 / 2; + background: var(--primary); + overflow: hidden; +} \ No newline at end of file diff --git a/src/public/css/editor/terminal.css b/src/public/css/editor/terminal.css new file mode 100644 index 0000000..59fb5c4 --- /dev/null +++ b/src/public/css/editor/terminal.css @@ -0,0 +1,30 @@ +.terminal { + padding: 10px; + grid-area: 1 / 3 / 2 / 4; + background: var(--primary); + max-width: 33vw; + overflow: hidden; +} + +#terminal-text { + overflow-y: auto; + background: var(--primary); + border: none; + resize: none; + width: 100%; + height: 80%; + padding: 15px; + max-height: 100vh; + border-radius: 20px; + background-color: var(--secondary); +} + +.terminal-input { + background: #222831; + border-radius: 20px; + border: none; + padding: 10px; + color: #EEEEEE; + outline: none; + width: 95%; +} \ No newline at end of file diff --git a/src/public/css/editor/texteditor.css b/src/public/css/editor/texteditor.css new file mode 100644 index 0000000..5552bc7 --- /dev/null +++ b/src/public/css/editor/texteditor.css @@ -0,0 +1,24 @@ +.text-editor-wrapper { + grid-area: 1 / 2 / 2 / 3; + background: var(--primary); + margin-left: 5px; + margin-right: 5px; + overflow: hidden; +} + +.text-editor-no-files { + padding: 10px; + display: none; +} + +.text-editor-no-files.active { + display: block; +} + +.text-editor { + display: none; +} + +.text-editor.active { + display: block; +} \ No newline at end of file diff --git a/src/server.ts b/src/server.ts index 3bb2c25..6034328 100644 --- a/src/server.ts +++ b/src/server.ts @@ -24,6 +24,9 @@ const app = express(); engine: 'ejs', folder: './out/src/pages/out', }, + public: { + folder: './src/public', + }, routers: [['/api', require('./api/api').default]], pages: pages, }); diff --git a/src/ts/src/editor.ts b/src/ts/src/editor.ts new file mode 100644 index 0000000..12ad7cd --- /dev/null +++ b/src/ts/src/editor.ts @@ -0,0 +1,68 @@ +/* eslint-disable */ +let PROJECT_NAME: string; +let filesOpen: any[]; + +let textEditorNoFiles: any; +let textEditor: any; + +let terminalInput: any; +let terminal: any; + +function init() { + PROJECT_NAME = 'Project'; + filesOpen = []; + + textEditorNoFiles = document.querySelectorAll('.text-editor-no-files')[0]; + textEditor = document.querySelectorAll('.text-editor')[0]; + + terminalInput = document.querySelectorAll('.terminal-input')[0]; + terminal = document.getElementById('terminal-text'); + + // @ts-ignore + terminalInput.addEventListener('keyup', ({ key }) => { + if (key !== 'Enter') return; + + const command = terminalInput.value; + + const output = 'Stuff'; + + addTerminalOutput(command, output); + + terminal.scrollTop = terminal.scrollHeight; + + terminalInput.value = ''; + }); +} + +function openFirstFile() { + if (filesOpen.length > 0) return; + if ( + textEditor.classList.contains('active') || + !textEditorNoFiles.classList.contains('active') + ) + return; + + textEditorNoFiles.classList.remove('active'); + textEditor.classList.add('active'); +} + +function closeFiles() { + //if (filesOpen.length < 1) return; + if ( + textEditorNoFiles.classList.contains('active') || + !textEditor.classList.contains('active') + ) + return; + + textEditorNoFiles.classList.add('active'); + textEditor.classList.remove('active'); +} + +function addTerminalOutput(command: string, output: string) { + terminal.innerHTML += `~/${PROJECT_NAME} $ ${command}
      ${output}
      `; +} + +function initTerminal() { + if (terminal.innerHTML !== '') return; + terminal.innerHTML += `~/${PROJECT_NAME} $
      `; +} diff --git a/src/util/ApplicationOptions.ts b/src/util/ApplicationOptions.ts index ffde600..4e63867 100644 --- a/src/util/ApplicationOptions.ts +++ b/src/util/ApplicationOptions.ts @@ -1,11 +1,12 @@ import bodyparser from 'body-parser'; -import { Application } from 'express'; +import express, { Application } from 'express'; import cors from 'cors'; type Options = { url_parsers: { url_encoded: boolean; json: boolean }; cors_policy: { origin: string }; view_engine: { engine: string; folder: string }; + public: { folder: string }; routers: [string, any][]; pages: any; }; @@ -46,20 +47,25 @@ export default class ApplicationOptions { this.app.set('views', this.options.view_engine.folder); }; + const applyPublicDirs = (): void => { + this.app.use(express.static(this.options.public.folder)); + }; + const applyAppRouters = (): void => { this.options.routers.forEach(([path, router]) => { this.app.use(path, router); }); }; - const enableWebPages = (): void => { + const enableSitePages = (): void => { this.options.pages(this.app); }; applyUrlParsers(); applyCorsPolicy(); applyViewEngine(); + applyPublicDirs(); applyAppRouters(); - enableWebPages(); + enableSitePages(); } } From e40f16ae48e61455d69d4171510b928aa5fffd9a Mon Sep 17 00:00:00 2001 From: Itchss Date: Tue, 26 Apr 2022 22:29:11 -0700 Subject: [PATCH 06/29] =?UTF-8?q?=E2=9C=A8|=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/public/css/editor/terminal.css | 2 +- src/ts/src/editor.ts | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/public/css/editor/terminal.css b/src/public/css/editor/terminal.css index 59fb5c4..4450421 100644 --- a/src/public/css/editor/terminal.css +++ b/src/public/css/editor/terminal.css @@ -20,7 +20,7 @@ } .terminal-input { - background: #222831; + background: var(--secondary); border-radius: 20px; border: none; padding: 10px; diff --git a/src/ts/src/editor.ts b/src/ts/src/editor.ts index 12ad7cd..95957f2 100644 --- a/src/ts/src/editor.ts +++ b/src/ts/src/editor.ts @@ -8,6 +8,8 @@ let textEditor: any; let terminalInput: any; let terminal: any; +let first: boolean = true; + function init() { PROJECT_NAME = 'Project'; filesOpen = []; @@ -24,7 +26,7 @@ function init() { const command = terminalInput.value; - const output = 'Stuff'; + const output = `Output for command ${command}`; addTerminalOutput(command, output); @@ -59,7 +61,9 @@ function closeFiles() { } function addTerminalOutput(command: string, output: string) { + if (first) terminal.innerHTML = ''; terminal.innerHTML += `~/${PROJECT_NAME} $ ${command}
      ${output}
      `; + first = false; } function initTerminal() { From 882a6ed7b7699002a4ea447165fffd0b81d106ea Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 28 Apr 2022 10:09:48 -0700 Subject: [PATCH 07/29] =?UTF-8?q?=E2=9C=A8|=20Fix=20bugs,=20update=20logge?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 ++-- src/api/database/database.ts | 5 ++--- src/util/logger.ts | 13 ++++++++++--- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 3600195..0a0d60d 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "express": "^4.17.3", "express-ejs-layouts": "^2.5.1", "mongoose": "^6.2.10", + "typescript": "^4.6.3", "uglify-js": "^3.15.4", "uuid": "^8.3.2" }, @@ -46,7 +47,6 @@ "eslint-plugin-node": "^9.1.0", "eslint-plugin-prettier": "^3.1.0", "inquirer": "^8.2.3", - "prettier": "^1.18.2", - "typescript": "^4.6.3" + "prettier": "^1.18.2" } } diff --git a/src/api/database/database.ts b/src/api/database/database.ts index e3f64c2..6f3eda9 100644 --- a/src/api/database/database.ts +++ b/src/api/database/database.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-ts-ignore */ /* eslint-disable import/order */ import logger = require('../../util/logger'); import { Application } from 'express'; @@ -13,8 +12,8 @@ export = { try { await mongoose.connect(URI); - } catch (err) { - logger.error(`Failed to connect to database: ${err}`); + } catch (err: Error) { + return logger.errorThrow(`Failed to connect to database`, err); } const port = process.env.PORT || 8000; diff --git a/src/util/logger.ts b/src/util/logger.ts index 3565275..f9d1246 100644 --- a/src/util/logger.ts +++ b/src/util/logger.ts @@ -48,7 +48,7 @@ function replacement(name: string): string { return REPLACEMENTS.find(r => r.name === name)?.replacement ?? name; } -function _log(message: string, color: Color, overrideLocation?: string): void { +function _log(msg: string, color: Color, overrideLocation?: string, error?: Error): void { const location = overrideLocation ? overrideLocation : replacement( @@ -63,6 +63,8 @@ function _log(message: string, color: Color, overrideLocation?: string): void { ), ); + const message = error ? `${msg}: ${error}` : msg; + console.log( `${colors.bold(LOCATION_COLOR(`[${location}]`))} ${color(message)}`, ); @@ -75,14 +77,18 @@ const info = (message: string, overrideLocation?: string): void => { const warn = (message: string, overrideLocation?: string): void => { if (overrideLocation) _log(message, colors.yellow, overrideLocation); - _log(message, colors.yellow); + else _log(message, colors.yellow); }; const error = (message: string, overrideLocation?: string): void => { if (overrideLocation) _log(message, colors.red, overrideLocation); - _log(message, colors.red); + else _log(message, colors.red); }; +const errorThrow = (message: string, error?: string, overrideLocation?: string): void => { + _log(message, colors.red, overrideLocation ? overrideLocation : undefined, error ? error : undefined); +} + const infoWithStatus = ( message: string, res: Response, @@ -156,6 +162,7 @@ export { info, warn, error, + errorThrow, infoWithStatus, warnWithStatus, errorWithStatus, From 9c85471a276fa30468cdb52e6f155add8a58bcbb Mon Sep 17 00:00:00 2001 From: Exortions Date: Mon, 2 May 2022 18:07:26 -0700 Subject: [PATCH 08/29] =?UTF-8?q?=E2=9C=A8|=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + src/api/database/database.ts | 3 +- src/api/routes/session/create.ts | 4 +- src/api/routes/session/delete.ts | 19 +++++--- src/pages/data/editor.ejs.json | 4 +- src/pages/pages/editor.ejs | 18 +++---- src/public/css/editor/editor.css | 4 ++ src/public/css/editor/files.css | 19 +++++++- src/server.ts | 6 +-- src/ts/src/editor.ts | 2 + src/util/logger.ts | 82 ++++++++++++++++++-------------- 11 files changed, 104 insertions(+), 59 deletions(-) diff --git a/package.json b/package.json index 0a0d60d..1f223ee 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "express": "^4.17.3", "express-ejs-layouts": "^2.5.1", "mongoose": "^6.2.10", + "sass": "^1.51.0", "typescript": "^4.6.3", "uglify-js": "^3.15.4", "uuid": "^8.3.2" @@ -34,6 +35,7 @@ "@types/ejs": "^3.1.0", "@types/express": "^4.17.13", "@types/express-ejs-layouts": "^2.5.0", + "@types/sass": "^1.43.1", "@types/uglify-js": "^3.13.2", "@types/uuid": "^8.3.4", "@typescript-eslint/eslint-plugin": "^2.0.0", diff --git a/src/api/database/database.ts b/src/api/database/database.ts index 6f3eda9..565cb8b 100644 --- a/src/api/database/database.ts +++ b/src/api/database/database.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/ban-ts-ignore */ /* eslint-disable import/order */ import logger = require('../../util/logger'); import { Application } from 'express'; @@ -12,7 +13,7 @@ export = { try { await mongoose.connect(URI); - } catch (err: Error) { + } catch (err) { return logger.errorThrow(`Failed to connect to database`, err); } diff --git a/src/api/routes/session/create.ts b/src/api/routes/session/create.ts index 380e51c..5769201 100644 --- a/src/api/routes/session/create.ts +++ b/src/api/routes/session/create.ts @@ -42,7 +42,9 @@ export default (req: Request, res: Response): void | Response => { .status(409) .json({ success: false, message: 'Already exists' }); - infoWithStatusAndJson('Created', res, 201, { + const message = `Created session { sid: "${sid}", password: "${password}", url: "${url}" }`; + + infoWithStatusAndJson(message, res, 201, { success: true, message: 'Created', sid: sid, diff --git a/src/api/routes/session/delete.ts b/src/api/routes/session/delete.ts index 7e85519..555963e 100644 --- a/src/api/routes/session/delete.ts +++ b/src/api/routes/session/delete.ts @@ -6,29 +6,36 @@ import { } from '../../../util/logger'; export default async (req: Request, res: Response): Promise => { - if (!req.body) - return errorWithStatusAndJson('Missing parameters - body', res, 400, { + if (!req.body) { + return errorWithStatusAndJson('Missing parameters', res, 400, { success: false, message: 'Missing parameters', }); + } const { password } = req.body; const { sid } = req.body; - if (!password || !sid) - return errorWithStatusAndJson('Missing parameters', res, 400, { + if (!password || !sid) { + errorWithStatusAndJson('Missing parameters', res, 400, { success: false, message: 'Missing parameters', }); + return; + } + const session = await Session.findOne({ sid: sid }); - if (!session || session.password !== password) - return errorWithStatusAndJson('No session found', res, 404, { + if (!session || session.password !== password) { + errorWithStatusAndJson('No session found', res, 404, { success: false, message: 'No session found', }); + return; + } + Session.findOneAndDelete({ sid: sid }, (err: any) => { if (err) return res.sendStatus(500); diff --git a/src/pages/data/editor.ejs.json b/src/pages/data/editor.ejs.json index 0c8dff3..ce81754 100644 --- a/src/pages/data/editor.ejs.json +++ b/src/pages/data/editor.ejs.json @@ -15,7 +15,9 @@ "http://localhost:8000/css/editor/texteditor.css", "https://fonts.googleapis.com/css2?family=Fira+Code:wght@300;400;500;600;700&display=swap" ], - "js": [], + "js": [ + "https://kit.fontawesome.com/f8c3208a74.js" + ], "custom_js": [] }, "meta": [ diff --git a/src/pages/pages/editor.ejs b/src/pages/pages/editor.ejs index 591b5ef..d7332ac 100644 --- a/src/pages/pages/editor.ejs +++ b/src/pages/pages/editor.ejs @@ -1,11 +1,14 @@
      -

      Files

      +
      + Files -
      - - - +
      + + + +
      +
      @@ -28,7 +31,4 @@
      - \ No newline at end of file + \ No newline at end of file diff --git a/src/public/css/editor/editor.css b/src/public/css/editor/editor.css index 081814d..0f794e6 100644 --- a/src/public/css/editor/editor.css +++ b/src/public/css/editor/editor.css @@ -9,6 +9,10 @@ body { height: 100vh; background: var(--secondary); font-family: 'Fira Code', monospace; + padding: 0; + margin: 0; + box-sizing: border-box; + overflow: hidden; } .blue { diff --git a/src/public/css/editor/files.css b/src/public/css/editor/files.css index f150c30..44302e3 100644 --- a/src/public/css/editor/files.css +++ b/src/public/css/editor/files.css @@ -2,4 +2,21 @@ grid-area: 1 / 1 / 2 / 2; background: var(--primary); overflow: hidden; -} \ No newline at end of file +} + +.files-header { + display: flex; + justify-content: space-between; + margin: 1rem; +} + +.files-header .files-actions .action-separator { + height: 6px; + width: 0; + border-right: 1px solid white; + margin-right: 9px; +} + +/* .files-header .files-actions { + margin-top: +} */ \ No newline at end of file diff --git a/src/server.ts b/src/server.ts index 6034328..56128cc 100644 --- a/src/server.ts +++ b/src/server.ts @@ -2,16 +2,12 @@ require('dotenv').config(); import ApplicationOptions from './util/ApplicationOptions'; -import express, { Request, Response } from 'express'; +import express from 'express'; import pages from './pages/pages'; const app = express(); (async (): Promise => { - app.get('/a', (_req: Request, res: Response) => { - res.send('Remote VSCode main server'); - }); - new ApplicationOptions(app, { url_parsers: { url_encoded: true, diff --git a/src/ts/src/editor.ts b/src/ts/src/editor.ts index 95957f2..e20da0b 100644 --- a/src/ts/src/editor.ts +++ b/src/ts/src/editor.ts @@ -34,6 +34,8 @@ function init() { terminalInput.value = ''; }); + + initTerminal(); } function openFirstFile() { diff --git a/src/util/logger.ts b/src/util/logger.ts index f9d1246..494afd7 100644 --- a/src/util/logger.ts +++ b/src/util/logger.ts @@ -1,22 +1,22 @@ -import { Response } from 'express'; +/* eslint-disable @typescript-eslint/ban-ts-ignore */ import colors, { Color } from 'colors'; +import { Response } from 'express'; -function _getCallerFileName() { +function getCallerFileName(): any { const original = Error.prepareStackTrace; let caller; try { const err = new Error(); - let current; - Error.prepareStackTrace = (_err: any, stack: any) => { + Error.prepareStackTrace = (_err: any, stack: any): any => { return stack; }; if (!err.stack) return null; // @ts-ignore - current = err.stack.shift().getFileName(); + const current = err.stack.shift().getFileName(); while (err.stack.length) { // @ts-ignore @@ -24,7 +24,9 @@ function _getCallerFileName() { if (current !== caller) break; } - } catch (err) {} + } catch (err) { + /* empty */ + } Error.prepareStackTrace = original; return caller; @@ -48,20 +50,26 @@ function replacement(name: string): string { return REPLACEMENTS.find(r => r.name === name)?.replacement ?? name; } -function _log(msg: string, color: Color, overrideLocation?: string, error?: Error): void { - const location = overrideLocation - ? overrideLocation - : replacement( - capitalizeFirstLetter( - _getCallerFileName() - .split('.')[0] - .split('/') - .pop() - .split('\\') - .pop() - .replace('index', 'main'), - ), - ); +// eslint-disable-next-line no-underscore-dangle +function log( + msg: string, + color: Color, + overrideLocation?: string, + error?: any, +): void { + const location = + overrideLocation || + replacement( + capitalizeFirstLetter( + getCallerFileName() + .split('.')[0] + .split('/') + .pop() + .split('\\') + .pop() + .replace('index', 'main'), + ), + ); const message = error ? `${msg}: ${error}` : msg; @@ -71,23 +79,27 @@ function _log(msg: string, color: Color, overrideLocation?: string, error?: Erro } const info = (message: string, overrideLocation?: string): void => { - if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); - else _log(message, MESSAGE_COLOR); + if (overrideLocation) log(message, MESSAGE_COLOR, overrideLocation); + else log(message, MESSAGE_COLOR); }; const warn = (message: string, overrideLocation?: string): void => { - if (overrideLocation) _log(message, colors.yellow, overrideLocation); - else _log(message, colors.yellow); + if (overrideLocation) log(message, colors.yellow, overrideLocation); + else log(message, colors.yellow); }; const error = (message: string, overrideLocation?: string): void => { - if (overrideLocation) _log(message, colors.red, overrideLocation); - else _log(message, colors.red); + if (overrideLocation) log(message, colors.red, overrideLocation); + else log(message, colors.red); }; -const errorThrow = (message: string, error?: string, overrideLocation?: string): void => { - _log(message, colors.red, overrideLocation ? overrideLocation : undefined, error ? error : undefined); -} +const errorThrow = ( + message: string, + error?: any, + overrideLocation?: string, +): void => { + log(message, colors.red, overrideLocation || undefined, error || undefined); +}; const infoWithStatus = ( message: string, @@ -95,7 +107,7 @@ const infoWithStatus = ( status: number, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); + if (overrideLocation) log(message, MESSAGE_COLOR, overrideLocation); info(message); return res.status(status); }; @@ -106,7 +118,7 @@ const warnWithStatus = ( status: number, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, colors.yellow, overrideLocation); + if (overrideLocation) log(message, colors.yellow, overrideLocation); warn(message); return res.status(status); }; @@ -117,7 +129,7 @@ const errorWithStatus = ( status: number, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, colors.red, overrideLocation); + if (overrideLocation) log(message, colors.red, overrideLocation); error(message); return res.status(status); }; @@ -129,7 +141,7 @@ const infoWithStatusAndJson = ( json: any, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, MESSAGE_COLOR, overrideLocation); + if (overrideLocation) log(message, MESSAGE_COLOR, overrideLocation); info(message); return res.status(status).json(json); }; @@ -141,7 +153,7 @@ const warnWithStatusAndJson = ( json: any, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, colors.yellow, overrideLocation); + if (overrideLocation) log(message, colors.yellow, overrideLocation); warn(message); return res.status(status).json(json); }; @@ -153,7 +165,7 @@ const errorWithStatusAndJson = ( json: any, overrideLocation?: string, ): Response => { - if (overrideLocation) _log(message, colors.red, overrideLocation); + if (overrideLocation) log(message, colors.red, overrideLocation); error(message); return res.status(status).json(json); }; From eabc28a71f69330199faed5f320a99528ae6b390 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Tue, 3 May 2022 12:57:59 -0700 Subject: [PATCH 09/29] Update pages.ts --- src/pages/pages.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/pages.ts b/src/pages/pages.ts index 5b6fe4a..8eaaa35 100644 --- a/src/pages/pages.ts +++ b/src/pages/pages.ts @@ -11,7 +11,7 @@ import * as logger from '../util/logger'; const env = process.env.NODE_ENV || 'development'; const url = - env === 'development' ? 'http://localhost:8000' : process.env.PROD_URL; + env === 'development' ? `http://localhost:${process.env.PORT}` : process.env.PROD_URL; type Meta = { name: string; From 35f2fb5b7337b0746b60ea9db24ee3f3b3699935 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Tue, 3 May 2022 13:01:37 -0700 Subject: [PATCH 10/29] Update pages.ts --- src/pages/pages.ts | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/pages/pages.ts b/src/pages/pages.ts index 8eaaa35..9cc69fb 100644 --- a/src/pages/pages.ts +++ b/src/pages/pages.ts @@ -149,29 +149,19 @@ export function compile( switch (method) { case 'GET': - app.get(route, (req: Request, res: Response) => { - run(req, res); - }); + app.get(route, run); break; case 'POST': - app.post(route, (req: Request, res: Response) => { - run(req, res); - }); + app.post(route, run); break; case 'DELETE': - app.delete(route, (req: Request, res: Response) => { - run(req, res); - }); + app.delete(route, run); break; case 'PUT': - app.put(route, (req: Request, res: Response) => { - run(req, res); - }); + app.put(route, run); break; case 'PATCH': - app.patch(route, (req: Request, res: Response) => { - run(req, res); - }); + app.patch(route, run); break; default: throw new Error(`Method ${method} not found`); From df8bdabc3358d29174858d35af03c08a4196d1a7 Mon Sep 17 00:00:00 2001 From: Exortions Date: Thu, 5 May 2022 23:06:08 -0700 Subject: [PATCH 11/29] =?UTF-8?q?=E2=9C=A8|=20Update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintrc.json | 3 +- package.json | 2 +- src/api/database/database.ts | 5 +- src/api/routes/session/terminal/execute.ts | 77 ++++++++++++++ src/models/Session.ts | 111 ++++++++++++++++++++- src/pages/pages.ts | 8 +- src/pages/pages/editor.ejs | 27 ++++- src/public/css/editor/editor.css | 2 +- src/public/css/editor/files.css | 11 +- src/public/css/editor/texteditor.css | 6 ++ src/server.ts | 9 +- src/ts/min/minify.js | 50 +--------- src/ts/src/editor.ts | 71 ++++++++++++- src/ts/src/exceptions.ts | 3 +- src/util/bundle.ts | 1 - src/util/logger.ts | 2 - src/util/walk.ts | 5 +- 17 files changed, 317 insertions(+), 76 deletions(-) create mode 100644 src/api/routes/session/terminal/execute.ts diff --git a/.eslintrc.json b/.eslintrc.json index ba5f798..cc2dbf8 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -48,6 +48,7 @@ "import/prefer-default-export": "off", "import/named": "off", "@typescript-eslint/no-explicit-any": "off", - "@typescript-eslint/interface-name-prefix": "off" + "@typescript-eslint/interface-name-prefix": "off", + "@typescript-eslint/ban-ts-ignore": "off" } } \ No newline at end of file diff --git a/package.json b/package.json index 1f223ee..a45d8f3 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "startl": "yarn lint && yarn start", "buildweb": "cd src/ts && rm -rf ./out/min && mkdir out\\min && tsc && node min/minify.js", "moveweb": "rm -rf out/src/web && mkdir out\\src\\web && mv src/ts/out/min/* out/src/web && rm -rf src/ts/out && rm -rf out/src/web/index.html", - "compile": "tsc && copyfiles -u 1 src/**/*.ejs out/src && copyfiles -u 1 src/**/*.json out/src && yarn run buildweb && yarn run moveweb && node scripts/minify.js", + "compile": "tsc && copyfiles -u 1 src/**/*.ejs out/src && copyfiles -u 1 src/**/*.json out/src && rm -rf out/src/public && cp -R src/public out/src/public/ && yarn run buildweb && yarn run moveweb && node scripts/minify.js", "lint": "eslint src --fix" }, "author": "Exortions", diff --git a/src/api/database/database.ts b/src/api/database/database.ts index 565cb8b..ed0f655 100644 --- a/src/api/database/database.ts +++ b/src/api/database/database.ts @@ -1,9 +1,8 @@ -/* eslint-disable @typescript-eslint/ban-ts-ignore */ -/* eslint-disable import/order */ -import logger = require('../../util/logger'); import { Application } from 'express'; import mongoose from 'mongoose'; +import logger = require('../../util/logger'); + export = { connect: async (app: Application): Promise => { logger.info('Attempting to connect to database'); diff --git a/src/api/routes/session/terminal/execute.ts b/src/api/routes/session/terminal/execute.ts new file mode 100644 index 0000000..7c0d5df --- /dev/null +++ b/src/api/routes/session/terminal/execute.ts @@ -0,0 +1,77 @@ +import * as express from 'express'; +import axios from 'axios'; + +import { Session } from '../../../../models/Session'; +import * as logger from '../../../../util/logger'; + +export default async ( + req: express.Request, + res: express.Response, +): Promise>> => { + if (!req.body) + return logger.errorWithStatusAndJson('Missing parameters', res, 400, { + success: false, + message: 'Missing parameters', + out: null, + }); + + const { sid, password, command } = req.body; + const { user, location } = req.body.auth; + + if (!sid || !password || !command || !user || !location) + return logger.errorWithStatusAndJson('Missing parameters', res, 400, { + success: false, + message: 'Missing parameters', + out: null, + }); + + const session = await Session.findOne({ sid: sid, password: password }); + + if (!session) + return logger.errorWithStatusAndJson('No session found', res, 404, { + success: false, + message: 'No session found', + out: null, + }); + + let valid = false; + + session.users_connected.forEach( + (userConnected: { + name: string; + location: string; + permission: string; + }) => { + if ( + userConnected.name === user && + userConnected.location === location && + userConnected.permission === 'admin' + ) + valid = true; + }, + ); + + if (!valid) + return logger.errorWithStatusAndJson('No permission', res, 403, { + success: false, + message: 'No permission', + out: null, + }); + + const { data } = await axios.post(`${session.url}/terminal`, { + command: command, + }); + + if (!data.success) + return logger.errorWithStatusAndJson('Error', res, 500, { + success: false, + message: data.message, + out: data.out, + }); + + return logger.infoWithStatusAndJson('Success', res, 200, { + success: true, + message: 'Success', + out: data.out, + }); +}; diff --git a/src/models/Session.ts b/src/models/Session.ts index 5728392..f7d866b 100644 --- a/src/models/Session.ts +++ b/src/models/Session.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/ban-ts-ignore */ import mongoose from 'mongoose'; const { Schema } = mongoose; @@ -23,6 +24,114 @@ const SessionSchema = new Schema({ }, }); +type SessionDocument = mongoose.Document & { + sid: string; + password: string; + url: string; + users_connected: string[]; +}; + const Session = mongoose.model('Session', SessionSchema); -export { Session }; +async function valid(session: { + sid: string; + password: string; +}): Promise { + const found = Session.findOne({ + sid: session.sid, + password: session.password, + }); + + return found !== null && found !== undefined; +} + +async function find(session: { + sid: string; + password: string; +}): Promise { + if (!(await valid(session))) return null; + + const found = Session.findOne({ + sid: session.sid, + password: session.password, + }); + + return found; +} + +async function create(data: { + sid: string; + password: string; + url: string; +}): Promise { + const options = { + ...data, + users_connected: [], + }; + + const session = new Session(options); + + session.save(); + + return session; +} + +async function remove(session: { + sid: string; + password: string; +}): Promise { + if (!(await valid(session))) return null; + + // @ts-ignore + const found: SessionDocument = find(session); + + found.remove(); + + return found; +} + +async function addUser( + session: { sid: string; password: string }, + user: string, +): Promise { + if (!(await valid(session))) return null; + + // @ts-ignore + const found: SessionDocument = find(session); + + found.users_connected.push(user); + found.save(); + + return found; +} + +async function removeUser( + session: { sid: string; password: string }, + user: string, +): Promise { + if (!(await valid(session))) return null; + + // @ts-ignore + const found: SessionDocument = find(session); + + const index = found.users_connected.indexOf(user); + + found.users_connected.splice(index, 1); + found.save(); + + return found; +} + +async function getUsers(session: { + sid: string; + password: string; +}): Promise { + if (!(await valid(session))) return null; + + // @ts-ignore + const found: SessionDocument = find(session); + + return found.users_connected; +} + +export { Session, create, remove, valid, find, addUser, removeUser, getUsers }; diff --git a/src/pages/pages.ts b/src/pages/pages.ts index 9cc69fb..6df77e4 100644 --- a/src/pages/pages.ts +++ b/src/pages/pages.ts @@ -11,7 +11,9 @@ import * as logger from '../util/logger'; const env = process.env.NODE_ENV || 'development'; const url = - env === 'development' ? `http://localhost:${process.env.PORT}` : process.env.PROD_URL; + env === 'development' + ? `http://localhost:${process.env.PORT}` + : process.env.PROD_URL; type Meta = { name: string; @@ -172,7 +174,9 @@ const metaFolder = './src/pages/data/'; const ejsFolder = './src/pages/pages/'; function getMetadataFromPage(page: string): Meta { - const content = fs.readFileSync(`${metaFolder}${page}.json`, 'utf8'); + const content = fs + .readFileSync(`${metaFolder}${page}.json`, 'utf8') + .replace(`http://localhost:${process.env.PORT}`, `${url}`); const meta = JSON.parse(content); diff --git a/src/pages/pages/editor.ejs b/src/pages/pages/editor.ejs index d7332ac..ec4e0c8 100644 --- a/src/pages/pages/editor.ejs +++ b/src/pages/pages/editor.ejs @@ -9,6 +9,21 @@
      + +
      +
      + + index.html +
      +
      + + app.js +
      +
      + + style.css +
      +
    @@ -18,7 +33,11 @@
    -

    Text Editor

    +
    +

    No files open

    +
    + +
    @@ -31,4 +50,8 @@
- \ No newline at end of file + + + \ No newline at end of file diff --git a/src/public/css/editor/editor.css b/src/public/css/editor/editor.css index 0f794e6..57a2ba5 100644 --- a/src/public/css/editor/editor.css +++ b/src/public/css/editor/editor.css @@ -1,6 +1,6 @@ :root { --primary: #222831; - --secondary: #393e46; + --secondary: #282c34; --blue: #00ADB5; --white: #EEEEEE; } diff --git a/src/public/css/editor/files.css b/src/public/css/editor/files.css index 44302e3..ec79a2c 100644 --- a/src/public/css/editor/files.css +++ b/src/public/css/editor/files.css @@ -19,4 +19,13 @@ /* .files-header .files-actions { margin-top: -} */ \ No newline at end of file +} */ + + +.files-files { + display: flex; + flex-wrap: wrap; + justify-content: space-between; + align-items: flex-start; + margin: 1rem; +} \ No newline at end of file diff --git a/src/public/css/editor/texteditor.css b/src/public/css/editor/texteditor.css index 5552bc7..218e4b7 100644 --- a/src/public/css/editor/texteditor.css +++ b/src/public/css/editor/texteditor.css @@ -21,4 +21,10 @@ .text-editor.active { display: block; +} + +.text-editor-header { + display: flex; + justify-content: center; + align-items: center; } \ No newline at end of file diff --git a/src/server.ts b/src/server.ts index 56128cc..4384972 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,8 +1,9 @@ -/* eslint-disable import/no-named-as-default-member, import/no-named-as-default, node/no-missing-require, no-new, import/order, import/first */ +/* eslint-disable import/no-named-as-default-member, import/no-named-as-default, node/no-missing-require, no-new, import/first */ require('dotenv').config(); -import ApplicationOptions from './util/ApplicationOptions'; import express from 'express'; + +import ApplicationOptions from './util/ApplicationOptions'; import pages from './pages/pages'; const app = express(); @@ -21,7 +22,7 @@ const app = express(); folder: './out/src/pages/out', }, public: { - folder: './src/public', + folder: './out/src/public', }, routers: [['/api', require('./api/api').default]], pages: pages, @@ -29,5 +30,3 @@ const app = express(); await require('./api/database/database').connect(app); })(); - -export {}; diff --git a/src/ts/min/minify.js b/src/ts/min/minify.js index f007b83..c0e8d04 100644 --- a/src/ts/min/minify.js +++ b/src/ts/min/minify.js @@ -1,49 +1 @@ -/* eslint-disable*/ 'use strict'; -const minifier = require('uglify-js'); -const fs = require('fs'); -const log = {}; -const names = []; -function getCommentedText() { - return `/*\n This file was created by the Remote Visual Studio Code team\n You may NOT distribute or modify any files that belong to the Remote Visual Studio Code team\n\n Š ${new Date().getFullYear()} by Remote Visaul Studio Code\n*/\n`; -} -function makeName() { - const name = - '_' + - Math.random() - .toString(36) - .substr(2, 9); - if (names.includes(name)) return makeName(); - names.push(name); - return name; -} -function getHtmlTemplate(files) { - let scripts = ''; - for (const file of files) - scripts += ` \n`; - return `\n\n\n \n \n \n Document\n\n\n

Hello World

\n\n${scripts}\n`; -} -fs.readdir('./out/min', (err, files) => { - files.forEach(file => { - fs.unlink(`./out/min/${file}`, err => { - if (err) throw err; - }); - }); -}); -fs.readdirSync('./out').forEach(file => { - if (!file.endsWith('.js')) return; - const name = makeName(); - fs.renameSync(`./out/${file}`, `./out/min/${name}.js`); - const code = fs.readFileSync(`./out/min/${name}.js`, 'utf8'); - const minified = minifier.minify(code, { mangle: false }); - if (minified.error) return; - fs.writeFileSync( - `./out/min/${name}.js`, - getCommentedText() + minified.code, - ); - log[file] = `${name}.js`; - fs.writeFileSync('./out/min/log.json', JSON.stringify(log, null, 4)); - fs.writeFileSync( - './out/min/index.html', - getHtmlTemplate(Object.values(log)), - ); -}); +/* eslint-disable */"use strict";const minifier=require("uglify-js"),fs=require("fs"),log={},names=[];function getCommentedText(){return`/*\n This file was created by the Remote Visual Studio Code team\n You may NOT distribute or modify any files that belong to the Remote Visual Studio Code team\n\n Š ${(new Date).getFullYear()} by Remote Visaul Studio Code\n*/`}function makeName(){var name="_"+Math.random().toString(36).substr(2,9);return names.includes(name)?makeName():(names.push(name),name)}function getHtmlTemplate(files){let scripts="";for(const file of files)scripts+=` `;return`\n\n\n \n \n \n Document\n\n\n

Hello World

\n\n${scripts}`}fs.readdir("./out/min",(err,files)=>{files.forEach(file=>{fs.unlink("./out/min/"+file,err=>{if(err)throw err})})}),fs.readdirSync("./out").forEach(file=>{var name,code;file.endsWith(".js")&&(name=makeName(),fs.renameSync("./out/"+file,`./out/min/${name}.js`),code=fs.readFileSync(`./out/min/${name}.js`,"utf8"),(code=minifier.minify(code,{mangle:!1})).error||(fs.writeFileSync(`./out/min/${name}.js`,getCommentedText()+code.code),log[file]=name+".js",fs.writeFileSync("./out/min/log.json",JSON.stringify(log,null,4)),fs.writeFileSync("./out/min/index.html",getHtmlTemplate(Object.values(log)))))}); \ No newline at end of file diff --git a/src/ts/src/editor.ts b/src/ts/src/editor.ts index e20da0b..645c2b9 100644 --- a/src/ts/src/editor.ts +++ b/src/ts/src/editor.ts @@ -10,6 +10,29 @@ let terminal: any; let first: boolean = true; +const ACE_MODES = { + js: 'ace/mode/javascript', + ts: 'ace/mode/typescript', + css: 'ace/mode/css', + html: 'ace/mode/html', + json: 'ace/mode/json', + java: 'ace/mode/java', + c: 'ace/mode/c_cpp', + cpp: 'ace/mode/c_cpp', + py: 'ace/mode/python', + rb: 'ace/mode/ruby', + php: 'ace/mode/php', + sql: 'ace/mode/sql', + scss: 'ace/mode/scss', + less: 'ace/mode/less', + styl: 'ace/mode/stylus', + yml: 'ace/mode/yaml', + yaml: 'ace/mode/yaml', + md: 'ace/mode/markdown', + markdown: 'ace/mode/markdown', + txt: 'ace/mode/text', +}; + function init() { PROJECT_NAME = 'Project'; filesOpen = []; @@ -50,8 +73,54 @@ function openFirstFile() { textEditor.classList.add('active'); } +function openFile(file: string, content: string) { + if (filesOpen.length === 0) openFirstFile(); + + const oldFile = document.querySelectorAll('.file')[0]; + if (oldFile) oldFile.remove(); + + const fileContainer = document.createElement('div'); + fileContainer.classList.add('file'); + fileContainer.id = 'editor'; + + const lines = content.split('\n'); + + for (let i = 0; i < lines.length; i++) { + const line = lines[i]; + + fileContainer.innerHTML += line; + + if (i !== lines.length - 1) fileContainer.innerHTML += '\n'; + } + + fileContainer.style.width = '1fr'; + fileContainer.style.height = '90vh'; + fileContainer.style.overflowX = 'hidden'; + fileContainer.style.overflowY = 'hidden'; + + fileContainer.style.marginLeft = '50px'; + fileContainer.style.marginRight = '50px'; + + fileContainer.style.marginBottom = '100px'; + + // @ts-ignore + document + .getElementById('text-editor-files-container') + .appendChild(fileContainer); + + // @ts-ignore + ace.edit('editor', { + theme: 'ace/theme/one_dark', + // @ts-ignore + mode: ACE_MODES[file.split('.').pop()], + autoScrollEditorIntoView: true, + showGutter: true, + minLines: lines.length < 100 ? lines.length : 100, + }); +} + function closeFiles() { - //if (filesOpen.length < 1) return; + if (filesOpen.length < 1) return; if ( textEditorNoFiles.classList.contains('active') || !textEditor.classList.contains('active') diff --git a/src/ts/src/exceptions.ts b/src/ts/src/exceptions.ts index 763657f..348b314 100644 --- a/src/ts/src/exceptions.ts +++ b/src/ts/src/exceptions.ts @@ -1,5 +1,4 @@ -/* eslint-disable @typescript-eslint/no-unused-vars */ -/* eslint-disable no-unused-vars */ +/* eslint-disable @typescript-eslint/no-unused-vars, no-unused-vars */ abstract class Exception { private message: string; private name: string; diff --git a/src/util/bundle.ts b/src/util/bundle.ts index 8c7bc8e..a479ad6 100644 --- a/src/util/bundle.ts +++ b/src/util/bundle.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-ts-ignore */ // @ts-ignore import log from '../web/log.json'; // eslint-disable-line import/no-unresolved diff --git a/src/util/logger.ts b/src/util/logger.ts index 494afd7..486219c 100644 --- a/src/util/logger.ts +++ b/src/util/logger.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/ban-ts-ignore */ import colors, { Color } from 'colors'; import { Response } from 'express'; @@ -50,7 +49,6 @@ function replacement(name: string): string { return REPLACEMENTS.find(r => r.name === name)?.replacement ?? name; } -// eslint-disable-next-line no-underscore-dangle function log( msg: string, color: Color, diff --git a/src/util/walk.ts b/src/util/walk.ts index 85814da..a279464 100644 --- a/src/util/walk.ts +++ b/src/util/walk.ts @@ -1,7 +1,4 @@ -/* eslint-disable consistent-return */ -/* eslint-disable no-param-reassign */ -/* eslint-disable no-plusplus */ - +/* eslint-disable consistent-return, no-param-reassign, no-plusplus */ import path from 'path'; import fs from 'fs'; From a0dd80f65594ff605e257ae443373bfee3c25379 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:07:47 -0700 Subject: [PATCH 12/29] =?UTF-8?q?=E2=9C=A8|=20Add=20Node=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/node.js.yml diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml new file mode 100644 index 0000000..6d2a0cd --- /dev/null +++ b/.github/workflows/node.js.yml @@ -0,0 +1,31 @@ +# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [12.x, 14.x, 16.x] + # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + cache: 'npm' + - run: npm ci + - run: npm run build --if-present + - run: npm test From 0a5977512628a7d3caa65e65850ce14bac62b41d Mon Sep 17 00:00:00 2001 From: Exortions Date: Thu, 5 May 2022 23:09:04 -0700 Subject: [PATCH 13/29] =?UTF-8?q?=F0=9F=90=9B|=20Fix=20gitignore=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 - yarn.lock | 2752 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 2752 insertions(+), 1 deletion(-) create mode 100644 yarn.lock diff --git a/.gitignore b/.gitignore index f8e48fc..30c5de7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ node_modules .env out -yarn.lock \ No newline at end of file diff --git a/yarn.lock b/yarn.lock new file mode 100644 index 0000000..9ebae50 --- /dev/null +++ b/yarn.lock @@ -0,0 +1,2752 @@ +# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. +# yarn lockfile v1 + + +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.16.7.tgz#44416b6bd7624b998f5b1af5d470856c40138789" + integrity sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg== + dependencies: + "@babel/highlight" "^7.16.7" + +"@babel/generator@^7.17.9": + version "7.17.9" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.17.9.tgz#f4af9fd38fa8de143c29fce3f71852406fc1e2fc" + integrity sha512-rAdDousTwxbIxbz5I7GEQ3lUip+xVCXooZNbsydCWs3xA7ZsYOv+CFRdzGxRX78BmQHu9B1Eso59AOZQOJDEdQ== + dependencies: + "@babel/types" "^7.17.0" + jsesc "^2.5.1" + source-map "^0.5.0" + +"@babel/helper-environment-visitor@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/helper-environment-visitor/-/helper-environment-visitor-7.16.7.tgz#ff484094a839bde9d89cd63cba017d7aae80ecd7" + integrity sha512-SLLb0AAn6PkUeAfKJCCOl9e1R53pQlGAfc4y4XuMRZfqeMYLE0dM1LMhqbGAlGQY0lfw5/ohoYWAe9V1yibRag== + dependencies: + "@babel/types" "^7.16.7" + +"@babel/helper-function-name@^7.17.9": + version "7.17.9" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.17.9.tgz#136fcd54bc1da82fcb47565cf16fd8e444b1ff12" + integrity sha512-7cRisGlVtiVqZ0MW0/yFB4atgpGLWEHUVYnb448hZK4x+vih0YO5UoS11XIYtZYqHd0dIPMdUSv8q5K4LdMnIg== + dependencies: + "@babel/template" "^7.16.7" + "@babel/types" "^7.17.0" + +"@babel/helper-hoist-variables@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.16.7.tgz#86bcb19a77a509c7b77d0e22323ef588fa58c246" + integrity sha512-m04d/0Op34H5v7pbZw6pSKP7weA6lsMvfiIAMeIvkY/R4xQtBSMFEigu9QTZ2qB/9l22vsxtM8a+Q8CzD255fg== + dependencies: + "@babel/types" "^7.16.7" + +"@babel/helper-split-export-declaration@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.16.7.tgz#0b648c0c42da9d3920d85ad585f2778620b8726b" + integrity sha512-xbWoy/PFoxSWazIToT9Sif+jJTlrMcndIsaOKvTA6u7QEo7ilkRZpjew18/W3c7nm8fXdUDXh02VXTbZ0pGDNw== + dependencies: + "@babel/types" "^7.16.7" + +"@babel/helper-validator-identifier@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.16.7.tgz#e8c602438c4a8195751243da9031d1607d247cad" + integrity sha512-hsEnFemeiW4D08A5gUAZxLBTXpZ39P+a+DGDsHw1yxqyQ/jzFEnxf5uTEGp+3bzAbNOxU1paTgYS4ECU/IgfDw== + +"@babel/highlight@^7.16.7": + version "7.17.9" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.17.9.tgz#61b2ee7f32ea0454612def4fccdae0de232b73e3" + integrity sha512-J9PfEKCbFIv2X5bjTMiZu6Vf341N05QIY+d6FvVKynkG1S7G0j3I0QoRtWIrXhZ+/Nlb5Q0MzqL7TokEJ5BNHg== + dependencies: + "@babel/helper-validator-identifier" "^7.16.7" + chalk "^2.0.0" + js-tokens "^4.0.0" + +"@babel/parser@^7.16.7", "@babel/parser@^7.17.9", "@babel/parser@^7.7.0": + version "7.17.9" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.17.9.tgz#9c94189a6062f0291418ca021077983058e171ef" + integrity sha512-vqUSBLP8dQHFPdPi9bc5GK9vRkYHJ49fsZdtoJ8EQ8ibpwk5rPKfvNIwChB0KVXcIjcepEBBd2VHC5r9Gy8ueg== + +"@babel/template@^7.16.7": + version "7.16.7" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.16.7.tgz#8d126c8701fde4d66b264b3eba3d96f07666d155" + integrity sha512-I8j/x8kHUrbYRTUxXrrMbfCa7jxkE7tZre39x3kjr9hvI82cK1FfqLygotcWN5kdPGWcLdWMHpSBavse5tWw3w== + dependencies: + "@babel/code-frame" "^7.16.7" + "@babel/parser" "^7.16.7" + "@babel/types" "^7.16.7" + +"@babel/traverse@^7.7.0": + version "7.17.9" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.17.9.tgz#1f9b207435d9ae4a8ed6998b2b82300d83c37a0d" + integrity sha512-PQO8sDIJ8SIwipTPiR71kJQCKQYB5NGImbOviK8K+kg5xkNSYXLBupuX9QhatFowrsvo9Hj8WgArg3W7ijNAQw== + dependencies: + "@babel/code-frame" "^7.16.7" + "@babel/generator" "^7.17.9" + "@babel/helper-environment-visitor" "^7.16.7" + "@babel/helper-function-name" "^7.17.9" + "@babel/helper-hoist-variables" "^7.16.7" + "@babel/helper-split-export-declaration" "^7.16.7" + "@babel/parser" "^7.17.9" + "@babel/types" "^7.17.0" + debug "^4.1.0" + globals "^11.1.0" + +"@babel/types@^7.16.7", "@babel/types@^7.17.0", "@babel/types@^7.7.0": + version "7.17.0" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.17.0.tgz#a826e368bccb6b3d84acd76acad5c0d87342390b" + integrity sha512-TmKSNO4D5rzhL5bjWFcVHHLETzfQ/AmbKpKPOSjlP0WoHZ6L911fgoOKY4Alp/emzG4cHJdyN49zpgkbXFEHHw== + dependencies: + "@babel/helper-validator-identifier" "^7.16.7" + to-fast-properties "^2.0.0" + +"@types/body-parser@*", "@types/body-parser@^1.19.2": + version "1.19.2" + resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.2.tgz#aea2059e28b7658639081347ac4fab3de166e6f0" + integrity sha512-ALYone6pm6QmwZoAgeyNksccT9Q4AWZQ6PvfwR37GT6r6FWUPguq6sUmNGSMV2Wr761oQoBxwGGa6DR5o1DC9g== + dependencies: + "@types/connect" "*" + "@types/node" "*" + +"@types/connect@*": + version "3.4.35" + resolved "https://registry.yarnpkg.com/@types/connect/-/connect-3.4.35.tgz#5fcf6ae445e4021d1fc2219a4873cc73a3bb2ad1" + integrity sha512-cdeYyv4KWoEgpBISTxWvqYsVy444DOqehiF3fM3ne10AmJ62RSyNkUnxMJXHQWRQQX2eR94m5y1IZyDwBjV9FQ== + dependencies: + "@types/node" "*" + +"@types/cors@^2.8.12": + version "2.8.12" + resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.12.tgz#6b2c510a7ad7039e98e7b8d3d6598f4359e5c080" + integrity sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw== + +"@types/ejs@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@types/ejs/-/ejs-3.1.0.tgz#ab8109208106b5e764e5a6c92b2ba1c625b73020" + integrity sha512-DCg+Ka+uDQ31lJ/UtEXVlaeV3d6t81gifaVWKJy4MYVVgvJttyX/viREy+If7fz+tK/gVxTGMtyrFPnm4gjrVA== + +"@types/eslint-visitor-keys@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d" + integrity sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag== + +"@types/express-ejs-layouts@^2.5.0": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@types/express-ejs-layouts/-/express-ejs-layouts-2.5.0.tgz#de000689e10ac8046daea0e3b235f1f27308567e" + integrity sha512-/ZPZgDy5SBOPONy7wFTmfJagLoU/V4O7y2gu9e/dCzZyxyNaFFI2VjvDO60BDGw2GCPxwiNNGYMlXmVJyPMRoA== + dependencies: + "@types/express" "*" + "@types/node" "*" + +"@types/express-serve-static-core@^4.17.18": + version "4.17.28" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.28.tgz#c47def9f34ec81dc6328d0b1b5303d1ec98d86b8" + integrity sha512-P1BJAEAW3E2DJUlkgq4tOL3RyMunoWXqbSCygWo5ZIWTjUgN1YnaXWW4VWl/oc8vs/XoYibEGBKP0uZyF4AHig== + dependencies: + "@types/node" "*" + "@types/qs" "*" + "@types/range-parser" "*" + +"@types/express@*", "@types/express@^4.17.13": + version "4.17.13" + resolved "https://registry.yarnpkg.com/@types/express/-/express-4.17.13.tgz#a76e2995728999bab51a33fabce1d705a3709034" + integrity sha512-6bSZTPaTIACxn48l50SR+axgrqm6qXFIxrdAKaG6PaJk3+zuUr35hBlgT7vOmJcum+OEaIBLtHV/qloEAFITeA== + dependencies: + "@types/body-parser" "*" + "@types/express-serve-static-core" "^4.17.18" + "@types/qs" "*" + "@types/serve-static" "*" + +"@types/json-schema@^7.0.3": + version "7.0.11" + resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.11.tgz#d421b6c527a3037f7c84433fd2c4229e016863d3" + integrity sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ== + +"@types/json5@^0.0.29": + version "0.0.29" + resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" + integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= + +"@types/mime@^1": + version "1.3.2" + resolved "https://registry.yarnpkg.com/@types/mime/-/mime-1.3.2.tgz#93e25bf9ee75fe0fd80b594bc4feb0e862111b5a" + integrity sha512-YATxVxgRqNH6nHEIsvg6k2Boc1JHI9ZbH5iWFFv/MTkchz3b1ieGDa5T0a9RznNdI0KhVbdbWSN+KWWrQZRxTw== + +"@types/node@*": + version "17.0.30" + resolved "https://registry.yarnpkg.com/@types/node/-/node-17.0.30.tgz#2c6e8512acac70815e8176aa30c38025067880ef" + integrity sha512-oNBIZjIqyHYP8VCNAV9uEytXVeXG2oR0w9lgAXro20eugRQfY002qr3CUl6BAe+Yf/z3CRjPdz27Pu6WWtuSRw== + +"@types/qs@*": + version "6.9.7" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb" + integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw== + +"@types/range-parser@*": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.4.tgz#cd667bcfdd025213aafb7ca5915a932590acdcdc" + integrity sha512-EEhsLsD6UsDM1yFhAvy0Cjr6VwmpMWqFBCb9w07wVugF7w9nfajxLuVmngTIpgS6svCnm6Vaw+MZhoDCKnOfsw== + +"@types/sass@^1.43.1": + version "1.43.1" + resolved "https://registry.yarnpkg.com/@types/sass/-/sass-1.43.1.tgz#86bb0168e9e881d7dade6eba16c9ed6d25dc2f68" + integrity sha512-BPdoIt1lfJ6B7rw35ncdwBZrAssjcwzI5LByIrYs+tpXlj/CAkuVdRsgZDdP4lq5EjyWzwxZCqAoFyHKFwp32g== + dependencies: + "@types/node" "*" + +"@types/serve-static@*": + version "1.13.10" + resolved "https://registry.yarnpkg.com/@types/serve-static/-/serve-static-1.13.10.tgz#f5e0ce8797d2d7cc5ebeda48a52c96c4fa47a8d9" + integrity sha512-nCkHGI4w7ZgAdNkrEu0bv+4xNV/XDqW+DydknebMOQwkpDGx8G+HTlj7R7ABI8i8nKxVw0wtKPi1D+lPOkh4YQ== + dependencies: + "@types/mime" "^1" + "@types/node" "*" + +"@types/uglify-js@^3.13.2": + version "3.13.2" + resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.13.2.tgz#1044c1713fb81cb1ceef29ad8a9ee1ce08d690ef" + integrity sha512-/xFrPIo+4zOeNGtVMbf9rUm0N+i4pDf1ynExomqtokIJmVzR3962lJ1UE+MmexMkA0cmN9oTzg5Xcbwge0Ij2Q== + dependencies: + source-map "^0.6.1" + +"@types/uuid@^8.3.4": + version "8.3.4" + resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" + integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== + +"@types/webidl-conversions@*": + version "6.1.1" + resolved "https://registry.yarnpkg.com/@types/webidl-conversions/-/webidl-conversions-6.1.1.tgz#e33bc8ea812a01f63f90481c666334844b12a09e" + integrity sha512-XAahCdThVuCFDQLT7R7Pk/vqeObFNL3YqRyFZg+AqAP/W1/w3xHaIxuW7WszQqTbIBOPRcItYJIou3i/mppu3Q== + +"@types/whatwg-url@^8.2.1": + version "8.2.1" + resolved "https://registry.yarnpkg.com/@types/whatwg-url/-/whatwg-url-8.2.1.tgz#f1aac222dab7c59e011663a0cb0a3117b2ef05d4" + integrity sha512-2YubE1sjj5ifxievI5Ge1sckb9k/Er66HyR2c+3+I6VDUUg1TLPdYYTEbQ+DjRkS4nTxMJhgWfSfMRD2sl2EYQ== + dependencies: + "@types/node" "*" + "@types/webidl-conversions" "*" + +"@typescript-eslint/eslint-plugin@^2.0.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9" + integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ== + dependencies: + "@typescript-eslint/experimental-utils" "2.34.0" + functional-red-black-tree "^1.0.1" + regexpp "^3.0.0" + tsutils "^3.17.1" + +"@typescript-eslint/experimental-utils@1.13.0": + version "1.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz#b08c60d780c0067de2fb44b04b432f540138301e" + integrity sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "1.13.0" + eslint-scope "^4.0.0" + +"@typescript-eslint/experimental-utils@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f" + integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA== + dependencies: + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "2.34.0" + eslint-scope "^5.0.0" + eslint-utils "^2.0.0" + +"@typescript-eslint/parser@^1.11.0": + version "1.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.13.0.tgz#61ac7811ea52791c47dc9fd4dd4a184fae9ac355" + integrity sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ== + dependencies: + "@types/eslint-visitor-keys" "^1.0.0" + "@typescript-eslint/experimental-utils" "1.13.0" + "@typescript-eslint/typescript-estree" "1.13.0" + eslint-visitor-keys "^1.0.0" + +"@typescript-eslint/parser@^2.0.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.34.0.tgz#50252630ca319685420e9a39ca05fe185a256bc8" + integrity sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA== + dependencies: + "@types/eslint-visitor-keys" "^1.0.0" + "@typescript-eslint/experimental-utils" "2.34.0" + "@typescript-eslint/typescript-estree" "2.34.0" + eslint-visitor-keys "^1.1.0" + +"@typescript-eslint/typescript-estree@1.13.0": + version "1.13.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz#8140f17d0f60c03619798f1d628b8434913dc32e" + integrity sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw== + dependencies: + lodash.unescape "4.0.1" + semver "5.5.0" + +"@typescript-eslint/typescript-estree@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" + integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg== + dependencies: + debug "^4.1.1" + eslint-visitor-keys "^1.1.0" + glob "^7.1.6" + is-glob "^4.0.1" + lodash "^4.17.15" + semver "^7.3.2" + tsutils "^3.17.1" + +accepts@~1.3.8: + version "1.3.8" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.8.tgz#0bf0be125b67014adcb0b0921e62db7bffe16b2e" + integrity sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw== + dependencies: + mime-types "~2.1.34" + negotiator "0.6.3" + +acorn-jsx@^5.2.0: + version "5.3.2" + resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" + integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== + +acorn@^7.1.1: + version "7.4.1" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" + integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== + +ajv@^6.10.0, ajv@^6.10.2: + version "6.12.6" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.12.6.tgz#baf5a62e802b07d977034586f8c3baf5adf26df4" + integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g== + dependencies: + fast-deep-equal "^3.1.1" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.4.1" + uri-js "^4.2.2" + +ansi-escapes@^4.2.1: + version "4.3.2" + resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-4.3.2.tgz#6b2291d1db7d98b6521d5f1efa42d0f3a9feb65e" + integrity sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ== + dependencies: + type-fest "^0.21.3" + +ansi-regex@^4.1.0: + version "4.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.1.tgz#164daac87ab2d6f6db3a29875e2d1766582dabed" + integrity sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g== + +ansi-regex@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" + integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" + integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== + dependencies: + color-convert "^1.9.0" + +ansi-styles@^4.0.0, ansi-styles@^4.1.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-4.3.0.tgz#edd803628ae71c04c85ae7a0906edad34b648937" + integrity sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg== + dependencies: + color-convert "^2.0.1" + +anymatch@~3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" + integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== + dependencies: + normalize-path "^3.0.0" + picomatch "^2.0.4" + +argparse@^1.0.7: + version "1.0.10" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" + integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== + dependencies: + sprintf-js "~1.0.2" + +array-flatten@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" + integrity sha1-ml9pkFGx5wczKPKgCJaLZOopVdI= + +array-includes@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.4.tgz#f5b493162c760f3539631f005ba2bb46acb45ba9" + integrity sha512-ZTNSQkmWumEbiHO2GF4GmWxYVTiQyJy2XOTa15sdQSrvKn7l+180egQMqlrMOUMCyLMD7pmyQe4mMDUT6Behrw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + get-intrinsic "^1.1.1" + is-string "^1.0.7" + +array.prototype.flat@^1.2.5: + version "1.3.0" + resolved "https://registry.yarnpkg.com/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz#0b0c1567bf57b38b56b4c97b8aa72ab45e4adc7b" + integrity sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.2" + es-shim-unscopables "^1.0.0" + +astral-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-1.0.0.tgz#6c8c3fb827dd43ee3918f27b82782ab7658a6fd9" + integrity sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg== + +async@^3.2.3: + version "3.2.3" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.3.tgz#ac53dafd3f4720ee9e8a160628f18ea91df196c9" + integrity sha512-spZRyzKL5l5BZQrr/6m/SqFdBN0q3OCI0f9rjfBzCMBIP4p75P620rR3gTmaksNOhmzgdxcaxdNfMy6anrbM0g== + +axios@^0.26.1: + version "0.26.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.26.1.tgz#1ede41c51fcf51bbbd6fd43669caaa4f0495aaa9" + integrity sha512-fPwcX4EvnSHuInCMItEhAGnaSEXRBjtzh9fOtsE6E1G6p7vl7edEeZe11QHf18+6+9gR5PbKV/sGKNaD8YaMeA== + dependencies: + follow-redirects "^1.14.8" + +babel-eslint@^10.0.1: + version "10.1.0" + resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232" + integrity sha512-ifWaTHQ0ce+448CYop8AdrQiBsGrnC+bMgfyKFdi6EsPLTAWG+QfyDeM6OH+FmWnKvEq5NnBMLvlBUPKQZoDSg== + dependencies: + "@babel/code-frame" "^7.0.0" + "@babel/parser" "^7.7.0" + "@babel/traverse" "^7.7.0" + "@babel/types" "^7.7.0" + eslint-visitor-keys "^1.0.0" + resolve "^1.12.0" + +balanced-match@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" + integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== + +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + +binary-extensions@^2.0.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" + integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== + +bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +body-parser@1.20.0, body-parser@^1.20.0: + version "1.20.0" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.20.0.tgz#3de69bd89011c11573d7bfee6a64f11b6bd27cc5" + integrity sha512-DfJ+q6EPcGKZD1QWUjSpqp+Q7bDQTsQIF4zfUAtZ6qk+H/3/QRhg9CEp39ss+/T2vw0+HaidC0ecJj/DRLIaKg== + dependencies: + bytes "3.1.2" + content-type "~1.0.4" + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + http-errors "2.0.0" + iconv-lite "0.4.24" + on-finished "2.4.1" + qs "6.10.3" + raw-body "2.5.1" + type-is "~1.6.18" + unpipe "1.0.0" + +brace-expansion@^1.1.7: + version "1.1.11" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" + integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== + dependencies: + balanced-match "^1.0.0" + concat-map "0.0.1" + +brace-expansion@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-2.0.1.tgz#1edc459e0f0c548486ecf9fc99f2221364b9a0ae" + integrity sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA== + dependencies: + balanced-match "^1.0.0" + +braces@~3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" + integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== + dependencies: + fill-range "^7.0.1" + +bson@^4.6.2: + version "4.6.3" + resolved "https://registry.yarnpkg.com/bson/-/bson-4.6.3.tgz#d1a9a0b84b9e84b62390811fc5580f6a8b1d858c" + integrity sha512-rAqP5hcUVJhXP2MCSNVsf0oM2OGU1So6A9pVRDYayvJ5+hygXHQApf87wd5NlhPM1J9RJnbqxIG/f8QTzRoQ4A== + dependencies: + buffer "^5.6.0" + +buffer@^5.5.0, buffer@^5.6.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +bytes@3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.1.2.tgz#8b0beeb98605adf1b128fa4386403c009e0221a5" + integrity sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg== + +call-bind@^1.0.0, call-bind@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.2.tgz#b1d4e89e688119c3c9a903ad30abb2f6a919be3c" + integrity sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA== + dependencies: + function-bind "^1.1.1" + get-intrinsic "^1.0.2" + +callsites@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" + integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== + +chalk@^2.0.0, chalk@^2.1.0: + version "2.4.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" + integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== + dependencies: + ansi-styles "^3.2.1" + escape-string-regexp "^1.0.5" + supports-color "^5.3.0" + +chalk@^4.0.2, chalk@^4.1.0, chalk@^4.1.1: + version "4.1.2" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" + integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== + dependencies: + ansi-styles "^4.1.0" + supports-color "^7.1.0" + +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" + integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA== + +"chokidar@>=3.0.0 <4.0.0": + version "3.5.3" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.3.tgz#1cf37c8707b932bd1af1ae22c0432e2acd1903bd" + integrity sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw== + dependencies: + anymatch "~3.1.2" + braces "~3.0.2" + glob-parent "~5.1.2" + is-binary-path "~2.1.0" + is-glob "~4.0.1" + normalize-path "~3.0.0" + readdirp "~3.6.0" + optionalDependencies: + fsevents "~2.3.2" + +cities.json@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/cities.json/-/cities.json-1.1.5.tgz#bd82fd19f67e8f7a9735b0e9c1c45d050c2bfe73" + integrity sha512-BKge3FmYfYOtN3tBaLfN9QvB7M5dDyjen3aFOn6XwgNASvLDhWTJazAtCvbpDWlpM6YWZXh4TUTsgxOn/n6MbA== + +cli-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-3.1.0.tgz#264305a7ae490d1d03bf0c9ba7c925d1753af307" + integrity sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw== + dependencies: + restore-cursor "^3.1.0" + +cli-spinners@^2.5.0: + version "2.6.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" + integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== + +cli-width@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-3.0.0.tgz#a2f48437a2caa9a22436e794bf071ec9e61cedf6" + integrity sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw== + +cliui@^7.0.2: + version "7.0.4" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-7.0.4.tgz#a0265ee655476fc807aea9df3df8df7783808b4f" + integrity sha512-OcRE68cOsVMXp1Yvonl/fzkQOyjLSu/8bhPDfQt0e0/Eb283TKP20Fs2MqoPsr9SwA595rRCA+QMzYc9nBP+JQ== + dependencies: + string-width "^4.2.0" + strip-ansi "^6.0.0" + wrap-ansi "^7.0.0" + +clone@^1.0.2: + version "1.0.4" + resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.4.tgz#da309cc263df15994c688ca902179ca3c7cd7c7e" + integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4= + +color-convert@^1.9.0: + version "1.9.3" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" + integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== + dependencies: + color-name "1.1.3" + +color-convert@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-2.0.1.tgz#72d3a68d598c9bdb3af2ad1e84f21d896abd4de3" + integrity sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ== + dependencies: + color-name "~1.1.4" + +color-name@1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" + integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= + +color-name@~1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" + integrity sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA== + +colors@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/colors/-/colors-1.4.0.tgz#c50491479d4c1bdaed2c9ced32cf7c7dc2360f78" + integrity sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA== + +concat-map@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" + integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= + +confusing-browser-globals@^1.0.5: + version "1.0.11" + resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" + integrity sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA== + +content-disposition@0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.4.tgz#8b82b4efac82512a02bb0b1dcec9d2c5e8eb5bfe" + integrity sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ== + dependencies: + safe-buffer "5.2.1" + +content-type@~1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" + integrity sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA== + +cookie-signature@1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c" + integrity sha1-4wOogrNCzD7oylE6eZmXNNqzriw= + +cookie@0.5.0: + version "0.5.0" + resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" + integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== + +copyfiles@^2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/copyfiles/-/copyfiles-2.4.1.tgz#d2dcff60aaad1015f09d0b66e7f0f1c5cd3c5da5" + integrity sha512-fereAvAvxDrQDOXybk3Qu3dPbOoKoysFMWtkY3mv5BsL8//OSZVL5DCLYqgRfY5cWirgRzlC+WSrxp6Bo3eNZg== + dependencies: + glob "^7.0.5" + minimatch "^3.0.3" + mkdirp "^1.0.4" + noms "0.0.0" + through2 "^2.0.1" + untildify "^4.0.0" + yargs "^16.1.0" + +core-util-is@~1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.3.tgz#a6042d3634c2b27e9328f837b965fac83808db85" + integrity sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ== + +cors@^2.8.5: + version "2.8.5" + resolved "https://registry.yarnpkg.com/cors/-/cors-2.8.5.tgz#eac11da51592dd86b9f06f6e7ac293b3df875d29" + integrity sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g== + dependencies: + object-assign "^4" + vary "^1" + +cross-spawn@^6.0.5: + version "6.0.5" + resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" + integrity sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ== + dependencies: + nice-try "^1.0.4" + path-key "^2.0.1" + semver "^5.5.0" + shebang-command "^1.2.0" + which "^1.2.9" + +debug@2.6.9, debug@^2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== + dependencies: + ms "2.0.0" + +debug@4.x, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== + dependencies: + ms "2.1.2" + +debug@^3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" + integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== + dependencies: + ms "^2.1.1" + +deep-is@~0.1.3: + version "0.1.4" + resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" + integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== + +defaults@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/defaults/-/defaults-1.0.3.tgz#c656051e9817d9ff08ed881477f3fe4019f3ef7d" + integrity sha1-xlYFHpgX2f8I7YgUd/P+QBnz730= + dependencies: + clone "^1.0.2" + +define-properties@^1.1.3: + version "1.1.4" + resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.4.tgz#0b14d7bd7fbeb2f3572c3a7eda80ea5d57fb05b1" + integrity sha512-uckOqKcfaVvtBdsVkdPv3XjveQJsNQqmhXgRi8uhvWWuPYZCNlzT8qAyblUgNoXdHdjMTzAqeGjAoli8f+bzPA== + dependencies: + has-property-descriptors "^1.0.0" + object-keys "^1.1.1" + +denque@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/denque/-/denque-2.0.1.tgz#bcef4c1b80dc32efe97515744f21a4229ab8934a" + integrity sha512-tfiWc6BQLXNLpNiR5iGd0Ocu3P3VpxfzFiqubLgMfhfOw9WyvgJBd46CClNn9k3qfbjvT//0cf7AlYRX/OslMQ== + +depd@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/depd/-/depd-2.0.0.tgz#b696163cc757560d09cf22cc8fad1571b79e76df" + integrity sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw== + +destroy@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.2.0.tgz#4803735509ad8be552934c67df614f94e66fa015" + integrity sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg== + +doctrine@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.1.0.tgz#5cd01fc101621b42c4cd7f5d1a66243716d3f39d" + integrity sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw== + dependencies: + esutils "^2.0.2" + +doctrine@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" + integrity sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w== + dependencies: + esutils "^2.0.2" + +dotenv@^16.0.0: + version "16.0.0" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.0.tgz#c619001253be89ebb638d027b609c75c26e47411" + integrity sha512-qD9WU0MPM4SWLPJy/r2Be+2WgQj8plChsyrCNQzW/0WjvcJQiKQJ9mH3ZgB3fxbUUxgc/11ZJ0Fi5KiimWGz2Q== + +ee-first@1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" + integrity sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0= + +ejs@^3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/ejs/-/ejs-3.1.7.tgz#c544d9c7f715783dd92f0bddcf73a59e6962d006" + integrity sha512-BIar7R6abbUxDA3bfXrO4DSgwo8I+fB5/1zgujl3HLLjwd6+9iOnrT+t3grn2qbk9vOgBubXOFwX2m9axoFaGw== + dependencies: + jake "^10.8.5" + +emoji-regex@^7.0.1: + version "7.0.3" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" + integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== + +emoji-regex@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-8.0.0.tgz#e818fd69ce5ccfcb404594f842963bf53164cc37" + integrity sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A== + +encodeurl@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" + integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= + +es-abstract@^1.19.1, es-abstract@^1.19.2: + version "1.19.5" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.19.5.tgz#a2cb01eb87f724e815b278b0dd0d00f36ca9a7f1" + integrity sha512-Aa2G2+Rd3b6kxEUKTF4TaW67czBLyAv3z7VOhYRU50YBx+bbsYZ9xQP4lMNazePuFlybXI0V4MruPos7qUo5fA== + dependencies: + call-bind "^1.0.2" + es-to-primitive "^1.2.1" + function-bind "^1.1.1" + get-intrinsic "^1.1.1" + get-symbol-description "^1.0.0" + has "^1.0.3" + has-symbols "^1.0.3" + internal-slot "^1.0.3" + is-callable "^1.2.4" + is-negative-zero "^2.0.2" + is-regex "^1.1.4" + is-shared-array-buffer "^1.0.2" + is-string "^1.0.7" + is-weakref "^1.0.2" + object-inspect "^1.12.0" + object-keys "^1.1.1" + object.assign "^4.1.2" + string.prototype.trimend "^1.0.4" + string.prototype.trimstart "^1.0.4" + unbox-primitive "^1.0.1" + +es-shim-unscopables@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz#702e632193201e3edf8713635d083d378e510241" + integrity sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w== + dependencies: + has "^1.0.3" + +es-to-primitive@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.2.1.tgz#e55cd4c9cdc188bcefb03b366c736323fc5c898a" + integrity sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA== + dependencies: + is-callable "^1.1.4" + is-date-object "^1.0.1" + is-symbol "^1.0.2" + +escalade@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" + integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + +escape-html@~1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988" + integrity sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg= + +escape-string-regexp@^1.0.5: + version "1.0.5" + resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" + integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= + +eslint-config-airbnb-base@^13.1.0, eslint-config-airbnb-base@^13.2.0: + version "13.2.0" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-13.2.0.tgz#f6ea81459ff4dec2dda200c35f1d8f7419d57943" + integrity sha512-1mg/7eoB4AUeB0X1c/ho4vb2gYkNH8Trr/EgCT/aGmKhhG+F6vF5s8+iRBlWAzFIAphxIdp3YfEKgEl0f9Xg+w== + dependencies: + confusing-browser-globals "^1.0.5" + object.assign "^4.1.0" + object.entries "^1.1.0" + +eslint-config-airbnb-typescript@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb-typescript/-/eslint-config-airbnb-typescript-4.0.1.tgz#516a95d6e8c495100973b0c49daa54bff0964434" + integrity sha512-4LHD0O0X1e08k+e8AngAsKPYNc7nL+5PzK7OEl9qZ6d7C+wo8BN2fMxBhhiUmRggJxArrldp7Dgb1s2f1/Robg== + dependencies: + "@typescript-eslint/parser" "^1.11.0" + eslint-config-airbnb "^17.1.0" + eslint-config-airbnb-base "^13.1.0" + +eslint-config-airbnb@^17.1.0: + version "17.1.1" + resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-17.1.1.tgz#2272e0b86bb1e2b138cdf88d07a3b6f4cda3d626" + integrity sha512-xCu//8a/aWqagKljt+1/qAM62BYZeNq04HmdevG5yUGWpja0I/xhqd6GdLRch5oetEGFiJAnvtGuTEAese53Qg== + dependencies: + eslint-config-airbnb-base "^13.2.0" + object.assign "^4.1.0" + object.entries "^1.1.0" + +eslint-config-esnext@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-esnext/-/eslint-config-esnext-4.1.0.tgz#8695b858fcf40d28c1aedca181f700528c7b60c6" + integrity sha512-GhfVEXdqYKEIIj7j+Fw2SQdL9qyZMekgXfq6PyXM66cQw0B435ddjz3P3kxOBVihMRJ0xGYjosaveQz5Y6z0uA== + dependencies: + babel-eslint "^10.0.1" + eslint "^6.8.0" + eslint-plugin-babel "^5.2.1" + eslint-plugin-import "^2.14.0" + +eslint-config-node@^4.0.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-node/-/eslint-config-node-4.1.0.tgz#fc1f13946d83766d6b83b0e67699e2071a56f417" + integrity sha512-Wz17xV5O2WFG8fGdMYEBdbiL6TL7YNJSJvSX9V4sXQownewfYmoqlly7wxqLkOUv/57pq6LnnotMiQQrrPjCqQ== + dependencies: + eslint "^6.8.0" + eslint-config-esnext "^4.1.0" + +eslint-config-prettier@^6.0.0: + version "6.15.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-6.15.0.tgz#7f93f6cb7d45a92f1537a70ecc06366e1ac6fed9" + integrity sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw== + dependencies: + get-stdin "^6.0.0" + +eslint-import-resolver-node@^0.3.6: + version "0.3.6" + resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz#4048b958395da89668252001dbd9eca6b83bacbd" + integrity sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw== + dependencies: + debug "^3.2.7" + resolve "^1.20.0" + +eslint-module-utils@^2.7.3: + version "2.7.3" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.7.3.tgz#ad7e3a10552fdd0642e1e55292781bd6e34876ee" + integrity sha512-088JEC7O3lDZM9xGe0RerkOMd0EjFl+Yvd1jPWIkMT5u3H9+HC34mWWPnqPrN13gieT9pBOO+Qt07Nb/6TresQ== + dependencies: + debug "^3.2.7" + find-up "^2.1.0" + +eslint-plugin-babel@^5.2.1: + version "5.3.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-babel/-/eslint-plugin-babel-5.3.1.tgz#75a2413ffbf17e7be57458301c60291f2cfbf560" + integrity sha512-VsQEr6NH3dj664+EyxJwO4FCYm/00JhYb3Sk3ft8o+fpKuIfQ9TaW6uVUfvwMXHcf/lsnRIoyFPsLMyiWCSL/g== + dependencies: + eslint-rule-composer "^0.3.0" + +eslint-plugin-es@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-es/-/eslint-plugin-es-1.4.1.tgz#12acae0f4953e76ba444bfd1b2271081ac620998" + integrity sha512-5fa/gR2yR3NxQf+UXkeLeP8FBBl6tSgdrAz1+cF84v1FMM4twGwQoqTnn+QxFLcPOrF4pdKEJKDB/q9GoyJrCA== + dependencies: + eslint-utils "^1.4.2" + regexpp "^2.0.1" + +eslint-plugin-import@^2.14.0: + version "2.26.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz#f812dc47be4f2b72b478a021605a59fc6fe8b88b" + integrity sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA== + dependencies: + array-includes "^3.1.4" + array.prototype.flat "^1.2.5" + debug "^2.6.9" + doctrine "^2.1.0" + eslint-import-resolver-node "^0.3.6" + eslint-module-utils "^2.7.3" + has "^1.0.3" + is-core-module "^2.8.1" + is-glob "^4.0.3" + minimatch "^3.1.2" + object.values "^1.1.5" + resolve "^1.22.0" + tsconfig-paths "^3.14.1" + +eslint-plugin-node@^9.1.0: + version "9.2.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-node/-/eslint-plugin-node-9.2.0.tgz#b1911f111002d366c5954a6d96d3cd5bf2a3036a" + integrity sha512-2abNmzAH/JpxI4gEOwd6K8wZIodK3BmHbTxz4s79OIYwwIt2gkpEXlAouJXu4H1c9ySTnRso0tsuthSOZbUMlA== + dependencies: + eslint-plugin-es "^1.4.1" + eslint-utils "^1.4.2" + ignore "^5.1.1" + minimatch "^3.0.4" + resolve "^1.10.1" + semver "^6.1.0" + +eslint-plugin-prettier@^3.1.0: + version "3.4.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-prettier/-/eslint-plugin-prettier-3.4.1.tgz#e9ddb200efb6f3d05ffe83b1665a716af4a387e5" + integrity sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g== + dependencies: + prettier-linter-helpers "^1.0.0" + +eslint-rule-composer@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" + integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== + +eslint-scope@^4.0.0: + version "4.0.3" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" + integrity sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg== + dependencies: + esrecurse "^4.1.0" + estraverse "^4.1.1" + +eslint-scope@^5.0.0: + version "5.1.1" + resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" + integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== + dependencies: + esrecurse "^4.3.0" + estraverse "^4.1.1" + +eslint-utils@^1.4.2, eslint-utils@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-1.4.3.tgz#74fec7c54d0776b6f67e0251040b5806564e981f" + integrity sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-utils@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-utils/-/eslint-utils-2.1.0.tgz#d2de5e03424e707dc10c74068ddedae708741b27" + integrity sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg== + dependencies: + eslint-visitor-keys "^1.1.0" + +eslint-visitor-keys@^1.0.0, eslint-visitor-keys@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" + integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== + +eslint@^6.1.0, eslint@^6.8.0: + version "6.8.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-6.8.0.tgz#62262d6729739f9275723824302fb227c8c93ffb" + integrity sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig== + dependencies: + "@babel/code-frame" "^7.0.0" + ajv "^6.10.0" + chalk "^2.1.0" + cross-spawn "^6.0.5" + debug "^4.0.1" + doctrine "^3.0.0" + eslint-scope "^5.0.0" + eslint-utils "^1.4.3" + eslint-visitor-keys "^1.1.0" + espree "^6.1.2" + esquery "^1.0.1" + esutils "^2.0.2" + file-entry-cache "^5.0.1" + functional-red-black-tree "^1.0.1" + glob-parent "^5.0.0" + globals "^12.1.0" + ignore "^4.0.6" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + inquirer "^7.0.0" + is-glob "^4.0.0" + js-yaml "^3.13.1" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.3.0" + lodash "^4.17.14" + minimatch "^3.0.4" + mkdirp "^0.5.1" + natural-compare "^1.4.0" + optionator "^0.8.3" + progress "^2.0.0" + regexpp "^2.0.1" + semver "^6.1.2" + strip-ansi "^5.2.0" + strip-json-comments "^3.0.1" + table "^5.2.3" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^6.1.2: + version "6.2.1" + resolved "https://registry.yarnpkg.com/espree/-/espree-6.2.1.tgz#77fc72e1fd744a2052c20f38a5b575832e82734a" + integrity sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw== + dependencies: + acorn "^7.1.1" + acorn-jsx "^5.2.0" + eslint-visitor-keys "^1.1.0" + +esprima@^4.0.0: + version "4.0.1" + resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" + integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== + +esquery@^1.0.1: + version "1.4.0" + resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.4.0.tgz#2148ffc38b82e8c7057dfed48425b3e61f0f24a5" + integrity sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w== + dependencies: + estraverse "^5.1.0" + +esrecurse@^4.1.0, esrecurse@^4.3.0: + version "4.3.0" + resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.3.0.tgz#7ad7964d679abb28bee72cec63758b1c5d2c9921" + integrity sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag== + dependencies: + estraverse "^5.2.0" + +estraverse@^4.1.1: + version "4.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" + integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== + +estraverse@^5.1.0, estraverse@^5.2.0: + version "5.3.0" + resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-5.3.0.tgz#2eea5290702f26ab8fe5370370ff86c965d21123" + integrity sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA== + +esutils@^2.0.2: + version "2.0.3" + resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" + integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== + +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" + integrity sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc= + +express-ejs-layouts@^2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/express-ejs-layouts/-/express-ejs-layouts-2.5.1.tgz#d204d9065ee2825fcbd718d820289fc81e691ccb" + integrity sha512-IXROv9n3xKga7FowT06n1Qn927JR8ZWDn5Dc9CJQoiiaaDqbhW5PDmWShzbpAa2wjWT1vJqaIM1S6vJwwX11gA== + +express@^4.17.3: + version "4.18.0" + resolved "https://registry.yarnpkg.com/express/-/express-4.18.0.tgz#7a426773325d0dd5406395220614c0db10b6e8e2" + integrity sha512-EJEXxiTQJS3lIPrU1AE2vRuT7X7E+0KBbpm5GSoK524yl0K8X+er8zS2P14E64eqsVNoWbMCT7MpmQ+ErAhgRg== + dependencies: + accepts "~1.3.8" + array-flatten "1.1.1" + body-parser "1.20.0" + content-disposition "0.5.4" + content-type "~1.0.4" + cookie "0.5.0" + cookie-signature "1.0.6" + debug "2.6.9" + depd "2.0.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + finalhandler "1.2.0" + fresh "0.5.2" + http-errors "2.0.0" + merge-descriptors "1.0.1" + methods "~1.1.2" + on-finished "2.4.1" + parseurl "~1.3.3" + path-to-regexp "0.1.7" + proxy-addr "~2.0.7" + qs "6.10.3" + range-parser "~1.2.1" + safe-buffer "5.2.1" + send "0.18.0" + serve-static "1.15.0" + setprototypeof "1.2.0" + statuses "2.0.1" + type-is "~1.6.18" + utils-merge "1.0.1" + vary "~1.1.2" + +external-editor@^3.0.3: + version "3.1.0" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.1.0.tgz#cb03f740befae03ea4d283caed2741a83f335495" + integrity sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew== + dependencies: + chardet "^0.7.0" + iconv-lite "^0.4.24" + tmp "^0.0.33" + +fast-deep-equal@^3.1.1: + version "3.1.3" + resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" + integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== + +fast-diff@^1.1.2: + version "1.2.0" + resolved "https://registry.yarnpkg.com/fast-diff/-/fast-diff-1.2.0.tgz#73ee11982d86caaf7959828d519cfe927fac5f03" + integrity sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w== + +fast-json-stable-stringify@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" + integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== + +fast-levenshtein@~2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" + integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= + +figures@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/figures/-/figures-3.2.0.tgz#625c18bd293c604dc4a8ddb2febf0c88341746af" + integrity sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg== + dependencies: + escape-string-regexp "^1.0.5" + +file-entry-cache@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-5.0.1.tgz#ca0f6efa6dd3d561333fb14515065c2fafdf439c" + integrity sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g== + dependencies: + flat-cache "^2.0.1" + +filelist@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/filelist/-/filelist-1.0.3.tgz#448607750376484932f67ef1b9ff07386b036c83" + integrity sha512-LwjCsruLWQULGYKy7TX0OPtrL9kLpojOFKc5VCTxdFTV7w5zbsgqVKfnkKG7Qgjtq50gKfO56hJv88OfcGb70Q== + dependencies: + minimatch "^5.0.1" + +fill-range@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" + integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== + dependencies: + to-regex-range "^5.0.1" + +finalhandler@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.2.0.tgz#7d23fe5731b207b4640e4fcd00aec1f9207a7b32" + integrity sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg== + dependencies: + debug "2.6.9" + encodeurl "~1.0.2" + escape-html "~1.0.3" + on-finished "2.4.1" + parseurl "~1.3.3" + statuses "2.0.1" + unpipe "~1.0.0" + +find-up@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-2.1.0.tgz#45d1b7e506c717ddd482775a2b77920a3c0c57a7" + integrity sha1-RdG35QbHF93UgndaK3eSCjwMV6c= + dependencies: + locate-path "^2.0.0" + +flat-cache@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-2.0.1.tgz#5d296d6f04bda44a4630a301413bdbc2ec085ec0" + integrity sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA== + dependencies: + flatted "^2.0.0" + rimraf "2.6.3" + write "1.0.3" + +flatted@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138" + integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA== + +follow-redirects@^1.14.8: + version "1.14.9" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.9.tgz#dd4ea157de7bfaf9ea9b3fbd85aa16951f78d8d7" + integrity sha512-MQDfihBQYMcyy5dhRDJUHcw7lb2Pv/TuE6xP1vyraLukNDHKbDxDNaOE3NbCAdKQApno+GPRyo1YAp89yCjK4w== + +forwarded@0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" + integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== + +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + integrity sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac= + +fs.realpath@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" + integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= + +fsevents@~2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a" + integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA== + +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + integrity sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A== + +functional-red-black-tree@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" + integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc= + +get-caller-file@^2.0.5: + version "2.0.5" + resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" + integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== + +get-intrinsic@^1.0.2, get-intrinsic@^1.1.0, get-intrinsic@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.1.1.tgz#15f59f376f855c446963948f0d24cd3637b4abc6" + integrity sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q== + dependencies: + function-bind "^1.1.1" + has "^1.0.3" + has-symbols "^1.0.1" + +get-stdin@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-6.0.0.tgz#9e09bf712b360ab9225e812048f71fde9c89657b" + integrity sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g== + +get-symbol-description@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" + integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + dependencies: + call-bind "^1.0.2" + get-intrinsic "^1.1.1" + +glob-parent@^5.0.0, glob-parent@~5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + +glob@^7.0.5, glob@^7.1.3, glob@^7.1.6: + version "7.2.0" + resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" + integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== + dependencies: + fs.realpath "^1.0.0" + inflight "^1.0.4" + inherits "2" + minimatch "^3.0.4" + once "^1.3.0" + path-is-absolute "^1.0.0" + +globals@^11.1.0: + version "11.12.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" + integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== + +globals@^12.1.0: + version "12.4.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-12.4.0.tgz#a18813576a41b00a24a97e7f815918c2e19925f8" + integrity sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg== + dependencies: + type-fest "^0.8.1" + +has-bigints@^1.0.1, has-bigints@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-bigints/-/has-bigints-1.0.2.tgz#0871bd3e3d51626f6ca0966668ba35d5602d6eaa" + integrity sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ== + +has-flag@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" + integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= + +has-flag@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" + integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== + +has-property-descriptors@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz#610708600606d36961ed04c196193b6a607fa861" + integrity sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ== + dependencies: + get-intrinsic "^1.1.1" + +has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" + integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== + +has-tostringtag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" + integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== + dependencies: + has-symbols "^1.0.2" + +has@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/has/-/has-1.0.3.tgz#722d7cbfc1f6aa8241f16dd814e011e1f41e8796" + integrity sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw== + dependencies: + function-bind "^1.1.1" + +http-errors@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-2.0.0.tgz#b7774a1486ef73cf7667ac9ae0858c012c57b9d3" + integrity sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ== + dependencies: + depd "2.0.0" + inherits "2.0.4" + setprototypeof "1.2.0" + statuses "2.0.1" + toidentifier "1.0.1" + +iconv-lite@0.4.24, iconv-lite@^0.4.24: + version "0.4.24" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" + integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA== + dependencies: + safer-buffer ">= 2.1.2 < 3" + +ieee754@^1.1.13: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + +ignore@^4.0.6: + version "4.0.6" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" + integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== + +ignore@^5.1.1: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" + integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + +immutable@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.0.0.tgz#b86f78de6adef3608395efb269a91462797e2c23" + integrity sha512-zIE9hX70qew5qTUjSS7wi1iwj/l7+m54KWU247nhM3v806UdGj1yDndXj+IOYxxtW9zyLI+xqFNZjTuDaLUqFw== + +import-fresh@^3.0.0: + version "3.3.0" + resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" + integrity sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw== + dependencies: + parent-module "^1.0.0" + resolve-from "^4.0.0" + +imurmurhash@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" + integrity sha1-khi5srkoojixPcT7a21XbyMUU+o= + +inflight@^1.0.4: + version "1.0.6" + resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" + integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= + dependencies: + once "^1.3.0" + wrappy "1" + +inherits@2, inherits@2.0.4, inherits@^2.0.1, inherits@^2.0.3, inherits@^2.0.4, inherits@~2.0.1, inherits@~2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c" + integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ== + +inquirer@^7.0.0: + version "7.3.3" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" + integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.19" + mute-stream "0.0.8" + run-async "^2.4.0" + rxjs "^6.6.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + +inquirer@^8.2.3: + version "8.2.4" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.4.tgz#ddbfe86ca2f67649a67daa6f1051c128f684f0b4" + integrity sha512-nn4F01dxU8VeKfq192IjLsxu0/OmMZ4Lg3xKAns148rCaXP6ntAoEkVYZThWjwON8AlzdZZi6oqnhNbxUG9hVg== + dependencies: + ansi-escapes "^4.2.1" + chalk "^4.1.1" + cli-cursor "^3.1.0" + cli-width "^3.0.0" + external-editor "^3.0.3" + figures "^3.0.0" + lodash "^4.17.21" + mute-stream "0.0.8" + ora "^5.4.1" + run-async "^2.4.0" + rxjs "^7.5.5" + string-width "^4.1.0" + strip-ansi "^6.0.0" + through "^2.3.6" + wrap-ansi "^7.0.0" + +internal-slot@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.3.tgz#7347e307deeea2faac2ac6205d4bc7d34967f59c" + integrity sha512-O0DB1JC/sPyZl7cIo78n5dR7eUSwwpYPiXRhTzNxZVAMUuB8vlnRFyLxdrVToks6XPLVnFfbzaVd5WLjhgg+vA== + dependencies: + get-intrinsic "^1.1.0" + has "^1.0.3" + side-channel "^1.0.4" + +ip@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" + integrity sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo= + +ipaddr.js@1.9.1: + version "1.9.1" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.1.tgz#bff38543eeb8984825079ff3a2a8e6cbd46781b3" + integrity sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g== + +is-bigint@^1.0.1: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-bigint/-/is-bigint-1.0.4.tgz#08147a1875bc2b32005d41ccd8291dffc6691df3" + integrity sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg== + dependencies: + has-bigints "^1.0.1" + +is-binary-path@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" + integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== + dependencies: + binary-extensions "^2.0.0" + +is-boolean-object@^1.1.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/is-boolean-object/-/is-boolean-object-1.1.2.tgz#5c6dc200246dd9321ae4b885a114bb1f75f63719" + integrity sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-callable@^1.1.4, is-callable@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.2.4.tgz#47301d58dd0259407865547853df6d61fe471945" + integrity sha512-nsuwtxZfMX67Oryl9LCQ+upnC0Z0BgpwntpS89m1H/TLF0zNfzfLMV/9Wa/6MZsj0acpEjAO0KF1xT6ZdLl95w== + +is-core-module@^2.8.1: + version "2.9.0" + resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.9.0.tgz#e1c34429cd51c6dd9e09e0799e396e27b19a9c69" + integrity sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A== + dependencies: + has "^1.0.3" + +is-date-object@^1.0.1: + version "1.0.5" + resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.5.tgz#0841d5536e724c25597bf6ea62e1bd38298df31f" + integrity sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ== + dependencies: + has-tostringtag "^1.0.0" + +is-extglob@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" + integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= + +is-fullwidth-code-point@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" + integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= + +is-fullwidth-code-point@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz#f116f8064fe90b3f7844a38997c0b75051269f1d" + integrity sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg== + +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: + version "4.0.3" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" + integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== + dependencies: + is-extglob "^2.1.1" + +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + +is-negative-zero@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/is-negative-zero/-/is-negative-zero-2.0.2.tgz#7bf6f03a28003b8b3965de3ac26f664d765f3150" + integrity sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA== + +is-number-object@^1.0.4: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-number-object/-/is-number-object-1.0.7.tgz#59d50ada4c45251784e9904f5246c742f07a42fc" + integrity sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ== + dependencies: + has-tostringtag "^1.0.0" + +is-number@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" + integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== + +is-regex@^1.1.4: + version "1.1.4" + resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.4.tgz#eef5663cd59fa4c0ae339505323df6854bb15958" + integrity sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg== + dependencies: + call-bind "^1.0.2" + has-tostringtag "^1.0.0" + +is-shared-array-buffer@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz#8f259c573b60b6a32d4058a1a07430c0a7344c79" + integrity sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA== + dependencies: + call-bind "^1.0.2" + +is-string@^1.0.5, is-string@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" + integrity sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg== + dependencies: + has-tostringtag "^1.0.0" + +is-symbol@^1.0.2, is-symbol@^1.0.3: + version "1.0.4" + resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.4.tgz#a6dac93b635b063ca6872236de88910a57af139c" + integrity sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg== + dependencies: + has-symbols "^1.0.2" + +is-unicode-supported@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" + integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== + +is-weakref@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-weakref/-/is-weakref-1.0.2.tgz#9529f383a9338205e89765e0392efc2f100f06f2" + integrity sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ== + dependencies: + call-bind "^1.0.2" + +isarray@0.0.1: + version "0.0.1" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" + integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= + +isarray@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" + integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE= + +isexe@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" + integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= + +jake@^10.8.5: + version "10.8.5" + resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.5.tgz#f2183d2c59382cb274226034543b9c03b8164c46" + integrity sha512-sVpxYeuAhWt0OTWITwT98oyV0GsXyMlXCF+3L1SuafBVUIr/uILGRB+NqwkzhgXKvoJpDIpQvqkUALgdmQsQxw== + dependencies: + async "^3.2.3" + chalk "^4.0.2" + filelist "^1.0.1" + minimatch "^3.0.4" + +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== + +js-yaml@^3.13.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537" + integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g== + dependencies: + argparse "^1.0.7" + esprima "^4.0.0" + +jsesc@^2.5.1: + version "2.5.2" + resolved "https://registry.yarnpkg.com/jsesc/-/jsesc-2.5.2.tgz#80564d2e483dacf6e8ef209650a67df3f0c283a4" + integrity sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA== + +json-schema-traverse@^0.4.1: + version "0.4.1" + resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" + integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== + +json-stable-stringify-without-jsonify@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" + integrity sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE= + +json5@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" + integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + dependencies: + minimist "^1.2.0" + +kareem@2.3.5: + version "2.3.5" + resolved "https://registry.yarnpkg.com/kareem/-/kareem-2.3.5.tgz#111fe9dbab754c8ed88b7a2360e2680cec1420ca" + integrity sha512-qxCyQtp3ioawkiRNQr/v8xw9KIviMSSNmy+63Wubj7KmMn3g7noRXIZB4vPCAP+ETi2SR8eH6CvmlKZuGpoHOg== + +levn@^0.3.0, levn@~0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" + integrity sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4= + dependencies: + prelude-ls "~1.1.2" + type-check "~0.3.2" + +locate-path@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-2.0.0.tgz#2b568b265eec944c6d9c0de9c3dbbbca0354cd8e" + integrity sha1-K1aLJl7slExtnA3pw9u7ygNUzY4= + dependencies: + p-locate "^2.0.0" + path-exists "^3.0.0" + +lodash.unescape@4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/lodash.unescape/-/lodash.unescape-4.0.1.tgz#bf2249886ce514cda112fae9218cdc065211fc9c" + integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw= + +lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +log-symbols@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" + integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== + dependencies: + chalk "^4.1.0" + is-unicode-supported "^0.1.0" + +lru-cache@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-6.0.0.tgz#6d6fe6570ebd96aaf90fcad1dafa3b2566db3a94" + integrity sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA== + dependencies: + yallist "^4.0.0" + +media-typer@0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748" + integrity sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g= + +memory-pager@^1.0.2: + version "1.5.0" + resolved "https://registry.yarnpkg.com/memory-pager/-/memory-pager-1.5.0.tgz#d8751655d22d384682741c972f2c3d6dfa3e66b5" + integrity sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg== + +merge-descriptors@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" + integrity sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E= + +methods@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" + integrity sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4= + +mime-db@1.52.0: + version "1.52.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.52.0.tgz#bbabcdc02859f4987301c856e3387ce5ec43bf70" + integrity sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg== + +mime-types@~2.1.24, mime-types@~2.1.34: + version "2.1.35" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.35.tgz#381a871b62a734450660ae3deee44813f70d959a" + integrity sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw== + dependencies: + mime-db "1.52.0" + +mime@1.6.0: + version "1.6.0" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" + integrity sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg== + +mimic-fn@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" + integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== + +minimatch@^3.0.3, minimatch@^3.0.4, minimatch@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.1.2.tgz#19cd194bfd3e428f049a70817c038d89ab4be35b" + integrity sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw== + dependencies: + brace-expansion "^1.1.7" + +minimatch@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.0.1.tgz#fb9022f7528125187c92bd9e9b6366be1cf3415b" + integrity sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g== + dependencies: + brace-expansion "^2.0.1" + +minimist@^1.2.0, minimist@^1.2.6: + version "1.2.6" + resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.6.tgz#8637a5b759ea0d6e98702cfb3a9283323c93af44" + integrity sha512-Jsjnk4bw3YJqYzbdyBiNsPWHPfO++UGG749Cxs6peCu5Xg4nrena6OVxOYxrQTqww0Jmwt+Ref8rggumkTLz9Q== + +mkdirp@^0.5.1: + version "0.5.6" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.6.tgz#7def03d2432dcae4ba1d611445c48396062255f6" + integrity sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw== + dependencies: + minimist "^1.2.6" + +mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== + +mongodb-connection-string-url@^2.5.2: + version "2.5.2" + resolved "https://registry.yarnpkg.com/mongodb-connection-string-url/-/mongodb-connection-string-url-2.5.2.tgz#f075c8d529e8d3916386018b8a396aed4f16e5ed" + integrity sha512-tWDyIG8cQlI5k3skB6ywaEA5F9f5OntrKKsT/Lteub2zgwSUlhqEN2inGgBTm8bpYJf8QYBdA/5naz65XDpczA== + dependencies: + "@types/whatwg-url" "^8.2.1" + whatwg-url "^11.0.0" + +mongodb@4.5.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/mongodb/-/mongodb-4.5.0.tgz#d74c2008567b606dccef220f62a44cd7b934eb92" + integrity sha512-A2l8MjEpKojnhbCM0MK3+UOGUSGvTNNSv7AkP1fsT7tkambrkkqN/5F2y+PhzsV0Nbv58u04TETpkaSEdI2zKA== + dependencies: + bson "^4.6.2" + denque "^2.0.1" + mongodb-connection-string-url "^2.5.2" + socks "^2.6.2" + optionalDependencies: + saslprep "^1.0.3" + +mongoose@^6.2.10: + version "6.3.1" + resolved "https://registry.yarnpkg.com/mongoose/-/mongoose-6.3.1.tgz#3dbf85209a39355542bb47fba95f07bda1684987" + integrity sha512-bknh/VzU/7mBudfE4/5N7NR2Bpjvuxl93iePvyCGLhjeHF6w+mCRmucYGQkG6wEbCmEUVmBQrcgr2b40krMo/Q== + dependencies: + bson "^4.6.2" + kareem "2.3.5" + mongodb "4.5.0" + mpath "0.8.4" + mquery "4.0.2" + ms "2.1.3" + sift "16.0.0" + +mpath@0.8.4: + version "0.8.4" + resolved "https://registry.yarnpkg.com/mpath/-/mpath-0.8.4.tgz#6b566d9581621d9e931dd3b142ed3618e7599313" + integrity sha512-DTxNZomBcTWlrMW76jy1wvV37X/cNNxPW1y2Jzd4DZkAaC5ZGsm8bfGfNOthcDuRJujXLqiuS6o3Tpy0JEoh7g== + +mquery@4.0.2: + version "4.0.2" + resolved "https://registry.yarnpkg.com/mquery/-/mquery-4.0.2.tgz#a13add5ecd7c2e5a67e0f814b3c7acdfb6772804" + integrity sha512-oAVF0Nil1mT3rxty6Zln4YiD6x6QsUWYz927jZzjMxOK2aqmhEz5JQ7xmrKK7xRFA2dwV+YaOpKU/S+vfNqKxA== + dependencies: + debug "4.x" + +ms@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" + integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= + +ms@2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" + integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w== + +ms@2.1.3, ms@^2.1.1: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.3.tgz#574c8138ce1d2b5861f0b44579dbadd60c6615b2" + integrity sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA== + +mute-stream@0.0.8: + version "0.0.8" + resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" + integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== + +natural-compare@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" + integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc= + +negotiator@0.6.3: + version "0.6.3" + resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.3.tgz#58e323a72fedc0d6f9cd4d31fe49f51479590ccd" + integrity sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg== + +nice-try@^1.0.4: + version "1.0.5" + resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" + integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== + +noms@0.0.0: + version "0.0.0" + resolved "https://registry.yarnpkg.com/noms/-/noms-0.0.0.tgz#da8ebd9f3af9d6760919b27d9cdc8092a7332859" + integrity sha1-2o69nzr51nYJGbJ9nNyAkqczKFk= + dependencies: + inherits "^2.0.1" + readable-stream "~1.0.31" + +normalize-path@^3.0.0, normalize-path@~3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" + integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== + +object-assign@^4: + version "4.1.1" + resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" + integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= + +object-inspect@^1.12.0, object-inspect@^1.9.0: + version "1.12.0" + resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.12.0.tgz#6e2c120e868fd1fd18cb4f18c31741d0d6e776f0" + integrity sha512-Ho2z80bVIvJloH+YzRmpZVQe87+qASmBUKZDWgx9cu+KDrX2ZDH/3tMy+gXbZETVGs2M8YdxObOh7XAtim9Y0g== + +object-keys@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.1.1.tgz#1c47f272df277f3b1daf061677d9c82e2322c60e" + integrity sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA== + +object.assign@^4.1.0, object.assign@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/object.assign/-/object.assign-4.1.2.tgz#0ed54a342eceb37b38ff76eb831a0e788cb63940" + integrity sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ== + dependencies: + call-bind "^1.0.0" + define-properties "^1.1.3" + has-symbols "^1.0.1" + object-keys "^1.1.1" + +object.entries@^1.1.0: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" + integrity sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +object.values@^1.1.5: + version "1.1.5" + resolved "https://registry.yarnpkg.com/object.values/-/object.values-1.1.5.tgz#959f63e3ce9ef108720333082131e4a459b716ac" + integrity sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + es-abstract "^1.19.1" + +on-finished@2.4.1: + version "2.4.1" + resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.4.1.tgz#58c8c44116e54845ad57f14ab10b03533184ac3f" + integrity sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg== + dependencies: + ee-first "1.1.1" + +once@^1.3.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" + integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= + dependencies: + wrappy "1" + +onetime@^5.1.0: + version "5.1.2" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-5.1.2.tgz#d0e96ebb56b07476df1dd9c4806e5237985ca45e" + integrity sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg== + dependencies: + mimic-fn "^2.1.0" + +optionator@^0.8.3: + version "0.8.3" + resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.3.tgz#84fa1d036fe9d3c7e21d99884b601167ec8fb495" + integrity sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA== + dependencies: + deep-is "~0.1.3" + fast-levenshtein "~2.0.6" + levn "~0.3.0" + prelude-ls "~1.1.2" + type-check "~0.3.2" + word-wrap "~1.2.3" + +ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + +os-tmpdir@~1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" + integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ= + +p-limit@^1.1.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.3.0.tgz#b86bd5f0c25690911c7590fcbfc2010d54b3ccb8" + integrity sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q== + dependencies: + p-try "^1.0.0" + +p-locate@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-2.0.0.tgz#20a0103b222a70c8fd39cc2e580680f3dde5ec43" + integrity sha1-IKAQOyIqcMj9OcwuWAaA893l7EM= + dependencies: + p-limit "^1.1.0" + +p-try@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/p-try/-/p-try-1.0.0.tgz#cbc79cdbaf8fd4228e13f621f2b1a237c1b207b3" + integrity sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M= + +parent-module@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/parent-module/-/parent-module-1.0.1.tgz#691d2709e78c79fae3a156622452d00762caaaa2" + integrity sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g== + dependencies: + callsites "^3.0.0" + +parseurl@~1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4" + integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ== + +path-exists@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" + integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= + +path-is-absolute@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" + integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= + +path-key@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" + integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= + +path-parse@^1.0.7: + version "1.0.7" + resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" + integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== + +path-to-regexp@0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" + integrity sha1-32BBeABfUi8V60SQ5yR6G/qmf4w= + +picomatch@^2.0.4, picomatch@^2.2.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42" + integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA== + +prelude-ls@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" + integrity sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ= + +prettier-linter-helpers@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/prettier-linter-helpers/-/prettier-linter-helpers-1.0.0.tgz#d23d41fe1375646de2d0104d3454a3008802cf7b" + integrity sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w== + dependencies: + fast-diff "^1.1.2" + +prettier@^1.18.2: + version "1.19.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb" + integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew== + +process-nextick-args@~2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2" + integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag== + +progress@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" + integrity sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA== + +proxy-addr@~2.0.7: + version "2.0.7" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.7.tgz#f19fe69ceab311eeb94b42e70e8c2070f9ba1025" + integrity sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg== + dependencies: + forwarded "0.2.0" + ipaddr.js "1.9.1" + +punycode@^2.1.0, punycode@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" + integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== + +qs@6.10.3: + version "6.10.3" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" + integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ== + dependencies: + side-channel "^1.0.4" + +range-parser@~1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031" + integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg== + +raw-body@2.5.1: + version "2.5.1" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.5.1.tgz#fe1b1628b181b700215e5fd42389f98b71392857" + integrity sha512-qqJBtEyVgS0ZmPGdCFPWJ3FreoqvG4MVQln/kCgF7Olq95IbOp0/BWyMwbdtn4VTvkM8Y7khCQ2Xgk/tcrCXig== + dependencies: + bytes "3.1.2" + http-errors "2.0.0" + iconv-lite "0.4.24" + unpipe "1.0.0" + +readable-stream@^3.4.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" + integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== + dependencies: + inherits "^2.0.3" + string_decoder "^1.1.1" + util-deprecate "^1.0.1" + +readable-stream@~1.0.31: + version "1.0.34" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" + integrity sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw= + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.1" + isarray "0.0.1" + string_decoder "~0.10.x" + +readable-stream@~2.3.6: + version "2.3.7" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57" + integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw== + 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" + +readdirp@~3.6.0: + version "3.6.0" + resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.6.0.tgz#74a370bd857116e245b29cc97340cd431a02a6c7" + integrity sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA== + dependencies: + picomatch "^2.2.1" + +regexpp@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-2.0.1.tgz#8d19d31cf632482b589049f8281f93dbcba4d07f" + integrity sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw== + +regexpp@^3.0.0: + version "3.2.0" + resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" + integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== + +require-directory@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" + integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= + +resolve-from@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-4.0.0.tgz#4abcd852ad32dd7baabfe9b40e00a36db5f392e6" + integrity sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g== + +resolve@^1.10.1, resolve@^1.12.0, resolve@^1.20.0, resolve@^1.22.0: + version "1.22.0" + resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.22.0.tgz#5e0b8c67c15df57a89bdbabe603a002f21731198" + integrity sha512-Hhtrw0nLeSrFQ7phPp4OOcVjLPIeMnRlr5mcnVuMe7M/7eBn98A3hmFRLoFo3DLZkivSYwhRUJTyPyWAk56WLw== + dependencies: + is-core-module "^2.8.1" + path-parse "^1.0.7" + supports-preserve-symlinks-flag "^1.0.0" + +restore-cursor@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-3.1.0.tgz#39f67c54b3a7a58cea5236d95cf0034239631f7e" + integrity sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + +rimraf@2.6.3: + version "2.6.3" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.3.tgz#b2d104fe0d8fb27cf9e0a1cda8262dd3833c6cab" + integrity sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA== + dependencies: + glob "^7.1.3" + +run-async@^2.4.0: + version "2.4.1" + resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" + integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== + +rxjs@^6.6.0: + version "6.6.7" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" + integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== + dependencies: + tslib "^1.9.0" + +rxjs@^7.5.5: + version "7.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" + integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== + dependencies: + tslib "^2.1.0" + +safe-buffer@5.2.1, safe-buffer@~5.2.0: + version "5.2.1" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" + integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== + +safe-buffer@~5.1.0, safe-buffer@~5.1.1: + version "5.1.2" + resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" + integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== + +"safer-buffer@>= 2.1.2 < 3": + version "2.1.2" + resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" + integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg== + +saslprep@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/saslprep/-/saslprep-1.0.3.tgz#4c02f946b56cf54297e347ba1093e7acac4cf226" + integrity sha512-/MY/PEMbk2SuY5sScONwhUDsV2p77Znkb/q3nSVstq/yQzYJOH/Azh29p9oJLsl3LnQwSvZDKagDGBsBwSooag== + dependencies: + sparse-bitfield "^3.0.3" + +sass@^1.51.0: + version "1.51.0" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.51.0.tgz#25ea36cf819581fe1fe8329e8c3a4eaaf70d2845" + integrity sha512-haGdpTgywJTvHC2b91GSq+clTKGbtkkZmVAb82jZQN/wTy6qs8DdFm2lhEQbEwrY0QDRgSQ3xDurqM977C3noA== + dependencies: + chokidar ">=3.0.0 <4.0.0" + immutable "^4.0.0" + source-map-js ">=0.6.2 <2.0.0" + +semver@5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" + integrity sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA== + +semver@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" + integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== + +semver@^6.1.0, semver@^6.1.2: + version "6.3.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" + integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== + +semver@^7.3.2: + version "7.3.7" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" + integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== + dependencies: + lru-cache "^6.0.0" + +send@0.18.0: + version "0.18.0" + resolved "https://registry.yarnpkg.com/send/-/send-0.18.0.tgz#670167cc654b05f5aa4a767f9113bb371bc706be" + integrity sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg== + dependencies: + debug "2.6.9" + depd "2.0.0" + destroy "1.2.0" + encodeurl "~1.0.2" + escape-html "~1.0.3" + etag "~1.8.1" + fresh "0.5.2" + http-errors "2.0.0" + mime "1.6.0" + ms "2.1.3" + on-finished "2.4.1" + range-parser "~1.2.1" + statuses "2.0.1" + +serve-static@1.15.0: + version "1.15.0" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.15.0.tgz#faaef08cffe0a1a62f60cad0c4e513cff0ac9540" + integrity sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g== + dependencies: + encodeurl "~1.0.2" + escape-html "~1.0.3" + parseurl "~1.3.3" + send "0.18.0" + +setprototypeof@1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.2.0.tgz#66c9a24a73f9fc28cbe66b09fed3d33dcaf1b424" + integrity sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw== + +shebang-command@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" + integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= + dependencies: + shebang-regex "^1.0.0" + +shebang-regex@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" + integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= + +side-channel@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" + integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + dependencies: + call-bind "^1.0.0" + get-intrinsic "^1.0.2" + object-inspect "^1.9.0" + +sift@16.0.0: + version "16.0.0" + resolved "https://registry.yarnpkg.com/sift/-/sift-16.0.0.tgz#447991577db61f1a8fab727a8a98a6db57a23eb8" + integrity sha512-ILTjdP2Mv9V1kIxWMXeMTIRbOBrqKc4JAXmFMnFq3fKeyQ2Qwa3Dw1ubcye3vR+Y6ofA0b9gNDr/y2t6eUeIzQ== + +signal-exit@^3.0.2: + version "3.0.7" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" + integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== + +slice-ansi@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-2.1.0.tgz#cacd7693461a637a5788d92a7dd4fba068e81636" + integrity sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ== + dependencies: + ansi-styles "^3.2.0" + astral-regex "^1.0.0" + is-fullwidth-code-point "^2.0.0" + +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + +socks@^2.6.2: + version "2.6.2" + resolved "https://registry.yarnpkg.com/socks/-/socks-2.6.2.tgz#ec042d7960073d40d94268ff3bb727dc685f111a" + integrity sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA== + dependencies: + ip "^1.1.5" + smart-buffer "^4.2.0" + +"source-map-js@>=0.6.2 <2.0.0": + version "1.0.2" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.2.tgz#adbc361d9c62df380125e7f161f71c826f1e490c" + integrity sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw== + +source-map@^0.5.0: + version "0.5.7" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" + integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= + +source-map@^0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== + +sparse-bitfield@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz#ff4ae6e68656056ba4b3e792ab3334d38273ca11" + integrity sha1-/0rm5oZWBWuks+eSqzM004JzyhE= + dependencies: + memory-pager "^1.0.2" + +sprintf-js@~1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" + integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= + +statuses@2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/statuses/-/statuses-2.0.1.tgz#55cb000ccf1d48728bd23c685a063998cf1a1b63" + integrity sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ== + +string-width@^3.0.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" + integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== + dependencies: + emoji-regex "^7.0.1" + is-fullwidth-code-point "^2.0.0" + strip-ansi "^5.1.0" + +string-width@^4.1.0, string-width@^4.2.0: + version "4.2.3" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" + integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== + dependencies: + emoji-regex "^8.0.0" + is-fullwidth-code-point "^3.0.0" + strip-ansi "^6.0.1" + +string.prototype.trimend@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz#e75ae90c2942c63504686c18b287b4a0b1a45f80" + integrity sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +string.prototype.trimstart@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz#b36399af4ab2999b4c9c648bd7a3fb2bb26feeed" + integrity sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw== + dependencies: + call-bind "^1.0.2" + define-properties "^1.1.3" + +string_decoder@^1.1.1: + version "1.3.0" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.3.0.tgz#42f114594a46cf1a8e30b0a84f56c78c3edac21e" + integrity sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA== + dependencies: + safe-buffer "~5.2.0" + +string_decoder@~0.10.x: + version "0.10.31" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-0.10.31.tgz#62e203bc41766c6c28c9fc84301dab1c5310fa94" + integrity sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ= + +string_decoder@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.1.1.tgz#9cf1611ba62685d7030ae9e4ba34149c3af03fc8" + integrity sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg== + dependencies: + safe-buffer "~5.1.0" + +strip-ansi@^5.1.0, strip-ansi@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" + integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== + dependencies: + ansi-regex "^4.1.0" + +strip-ansi@^6.0.0, strip-ansi@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" + integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== + dependencies: + ansi-regex "^5.0.1" + +strip-bom@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" + integrity sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM= + +strip-json-comments@^3.0.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" + integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== + +supports-color@^5.3.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" + integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== + dependencies: + has-flag "^3.0.0" + +supports-color@^7.1.0: + version "7.2.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-7.2.0.tgz#1b7dcdcb32b8138801b3e478ba6a51caa89648da" + integrity sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw== + dependencies: + has-flag "^4.0.0" + +supports-preserve-symlinks-flag@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09" + integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== + +table@^5.2.3: + version "5.4.6" + resolved "https://registry.yarnpkg.com/table/-/table-5.4.6.tgz#1292d19500ce3f86053b05f0e8e7e4a3bb21079e" + integrity sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug== + dependencies: + ajv "^6.10.2" + lodash "^4.17.14" + slice-ansi "^2.1.0" + string-width "^3.0.0" + +text-table@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" + integrity sha1-f17oI66AUgfACvLfSoTsP8+lcLQ= + +through2@^2.0.1: + version "2.0.5" + resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.5.tgz#01c1e39eb31d07cb7d03a96a70823260b23132cd" + integrity sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ== + dependencies: + readable-stream "~2.3.6" + xtend "~4.0.1" + +through@^2.3.6: + version "2.3.8" + resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= + +tmp@^0.0.33: + version "0.0.33" + resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" + integrity sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw== + dependencies: + os-tmpdir "~1.0.2" + +to-fast-properties@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-2.0.0.tgz#dc5e698cbd079265bc73e0377681a4e4e83f616e" + integrity sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4= + +to-regex-range@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" + integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== + dependencies: + is-number "^7.0.0" + +toidentifier@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.1.tgz#3be34321a88a820ed1bd80dfaa33e479fbb8dd35" + integrity sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA== + +tr46@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-3.0.0.tgz#555c4e297a950617e8eeddef633c87d4d9d6cbf9" + integrity sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA== + dependencies: + punycode "^2.1.1" + +tsconfig-paths@^3.14.1: + version "3.14.1" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" + integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== + dependencies: + "@types/json5" "^0.0.29" + json5 "^1.0.1" + minimist "^1.2.6" + strip-bom "^3.0.0" + +tslib@^1.8.1, tslib@^1.9.0: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tslib@^2.1.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" + integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== + +tsutils@^3.17.1: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + +type-check@~0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" + integrity sha1-WITKtRLPHTVeP7eE8wgEsrUg23I= + dependencies: + prelude-ls "~1.1.2" + +type-fest@^0.21.3: + version "0.21.3" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" + integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== + +type-fest@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" + integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== + +type-is@~1.6.18: + version "1.6.18" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.18.tgz#4e552cd05df09467dcbc4ef739de89f2cf37c131" + integrity sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g== + dependencies: + media-typer "0.3.0" + mime-types "~2.1.24" + +typescript@^4.6.3: + version "4.6.4" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" + integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== + +uglify-js@^3.15.4: + version "3.15.4" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.15.4.tgz#fa95c257e88f85614915b906204b9623d4fa340d" + integrity sha512-vMOPGDuvXecPs34V74qDKk4iJ/SN4vL3Ow/23ixafENYvtrNvtbcgUeugTcUGRGsOF/5fU8/NYSL5Hyb3l1OJA== + +unbox-primitive@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.2.tgz#29032021057d5e6cdbd08c5129c226dff8ed6f9e" + integrity sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw== + dependencies: + call-bind "^1.0.2" + has-bigints "^1.0.2" + has-symbols "^1.0.3" + which-boxed-primitive "^1.0.2" + +unpipe@1.0.0, unpipe@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" + integrity sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= + +untildify@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/untildify/-/untildify-4.0.0.tgz#2bc947b953652487e4600949fb091e3ae8cd919b" + integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw== + +uri-js@^4.2.2: + version "4.4.1" + resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.4.1.tgz#9b1a52595225859e55f669d928f88c6c57f2a77e" + integrity sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg== + dependencies: + punycode "^2.1.0" + +util-deprecate@^1.0.1, util-deprecate@~1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" + integrity sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8= + +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" + integrity sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM= + +uuid@^8.3.2: + version "8.3.2" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" + integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== + +v8-compile-cache@^2.0.3: + version "2.3.0" + resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" + integrity sha512-l8lCEmLcLYZh4nbunNZvQCJc5pv7+RCwa8q/LdUx8u7lsWvPDKmpodJAJNwkAhJC//dFY48KuIEmjtd4RViDrA== + +vary@^1, vary@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" + integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= + +wcwidth@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/wcwidth/-/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" + integrity sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g= + dependencies: + defaults "^1.0.3" + +webidl-conversions@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-7.0.0.tgz#256b4e1882be7debbf01d05f0aa2039778ea080a" + integrity sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g== + +whatwg-url@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-11.0.0.tgz#0a849eebb5faf2119b901bb76fd795c2848d4018" + integrity sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ== + dependencies: + tr46 "^3.0.0" + webidl-conversions "^7.0.0" + +which-boxed-primitive@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz#13757bc89b209b049fe5d86430e21cf40a89a8e6" + integrity sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg== + dependencies: + is-bigint "^1.0.1" + is-boolean-object "^1.1.0" + is-number-object "^1.0.4" + is-string "^1.0.5" + is-symbol "^1.0.3" + +which@^1.2.9: + version "1.3.1" + resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" + integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== + dependencies: + isexe "^2.0.0" + +word-wrap@~1.2.3: + version "1.2.3" + resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" + integrity sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ== + +wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + +wrappy@1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" + integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= + +write@1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/write/-/write-1.0.3.tgz#0800e14523b923a387e415123c865616aae0f5c3" + integrity sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig== + dependencies: + mkdirp "^0.5.1" + +xtend@~4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.2.tgz#bb72779f5fa465186b1f438f674fa347fdb5db54" + integrity sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ== + +y18n@^5.0.5: + version "5.0.8" + resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" + integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== + +yallist@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-4.0.0.tgz#9bb92790d9c0effec63be73519e11a35019a3a72" + integrity sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A== + +yargs-parser@^20.2.2: + version "20.2.9" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" + integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== + +yargs@^16.1.0: + version "16.2.0" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-16.2.0.tgz#1c82bf0f6b6a66eafce7ef30e376f49a12477f66" + integrity sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw== + dependencies: + cliui "^7.0.2" + escalade "^3.1.1" + get-caller-file "^2.0.5" + require-directory "^2.1.1" + string-width "^4.2.0" + y18n "^5.0.5" + yargs-parser "^20.2.2" From 9ffab2f8a45186b86026bb9c5a5c40298981e503 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:10:47 -0700 Subject: [PATCH 14/29] =?UTF-8?q?=F0=9F=90=9B|=20Convert=20from=20NPM=20to?= =?UTF-8?q?=20Yarn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 6d2a0cd..33e2b99 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -25,7 +25,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - cache: 'npm' - - run: npm ci - - run: npm run build --if-present - - run: npm test + cache: 'yarn' + - run: yarn ci + - run: yarn run compile + - run: yarn test --if-present From 0008630188cf8101f0993339e60fc683a4a08d67 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:11:54 -0700 Subject: [PATCH 15/29] =?UTF-8?q?=F0=9F=90=9B|=20Fix=20another=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 33e2b99..d4a0cd2 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,6 +26,6 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'yarn' - - run: yarn ci + - run: rm -rf node_modules && yarn install --frozen-lockfile - run: yarn run compile - run: yarn test --if-present From 292d2df9083930ddddd7fb0a534817cfd9b83946 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:14:30 -0700 Subject: [PATCH 16/29] =?UTF-8?q?=F0=9F=90=9B|=20Another=20actions=20bugfi?= =?UTF-8?q?x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index d4a0cd2..59bd11e 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,6 +26,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'yarn' + - run: yarn lint - run: rm -rf node_modules && yarn install --frozen-lockfile - - run: yarn run compile + - run: yarn run tsc - run: yarn test --if-present From c888c8767f18a3dccfa04d2393ccb6b39e2b841c Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:15:18 -0700 Subject: [PATCH 17/29] =?UTF-8?q?=F0=9F=90=9B|=20Bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 59bd11e..836194b 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -26,7 +26,7 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'yarn' - - run: yarn lint - run: rm -rf node_modules && yarn install --frozen-lockfile + - run: yarn lint - run: yarn run tsc - run: yarn test --if-present From ac2389c6c47560823c10634845428e4d011c38ce Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:16:22 -0700 Subject: [PATCH 18/29] =?UTF-8?q?=F0=9F=90=9B|=20Bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 836194b..b0f7010 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,4 +29,3 @@ jobs: - run: rm -rf node_modules && yarn install --frozen-lockfile - run: yarn lint - run: yarn run tsc - - run: yarn test --if-present From bca832a6b35e4dafb53002b3420dbf38bbab1be1 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Thu, 5 May 2022 23:19:17 -0700 Subject: [PATCH 19/29] =?UTF-8?q?=E2=9C=A8|=20Add=20greetings=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/greetings.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/greetings.yml diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml new file mode 100644 index 0000000..40f44d2 --- /dev/null +++ b/.github/workflows/greetings.yml @@ -0,0 +1,16 @@ +name: Greetings + +on: [pull_request_target, issues] + +jobs: + greeting: + runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write + steps: + - uses: actions/first-interaction@v1 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + issue-message: 'Hey! Thank you for helping us develop Remote Visual Studio Code. Your support is the world for us 💖.' + pr-message: 'Heyo! Thanks a ton for contributing to Remote Visual Studio Code, it means the world to us 💖.' From c9947429683db8e020370c77e5c8b97ed1edd937 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 07:44:56 -0700 Subject: [PATCH 20/29] =?UTF-8?q?=E2=9C=A8|=20Add=20CodeQL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/codeql-analysis.yml | 72 +++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 .github/workflows/codeql-analysis.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml new file mode 100644 index 0000000..e90e61b --- /dev/null +++ b/.github/workflows/codeql-analysis.yml @@ -0,0 +1,72 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '17 16 * * 0' + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + permissions: + actions: read + contents: read + security-events: write + + strategy: + fail-fast: false + matrix: + language: [ 'javascript' ] + # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ] + # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v2 + with: + languages: ${{ matrix.language }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + + # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). + # If this step fails, then you should remove it and run the build manually (see below) + - name: Autobuild + uses: github/codeql-action/autobuild@v2 + + # â„šī¸ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + + # If the Autobuild fails above, remove it and uncomment the following three lines. + # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance. + + # - run: | + # echo "Run, Build Application using script" + # ./location_of_script_within_repo/buildscript.sh + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v2 From 69ff9464ff4fb1d1b8c9ff8c64e038eeab79886e Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 07:51:02 -0700 Subject: [PATCH 21/29] =?UTF-8?q?=E2=9C=A8|=20Add=20dependency=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/dependency-review.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 0000000..0e72a00 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,20 @@ +# Dependency Review Action +# +# This Action will scan dependency manifest files that change as part of a Pull Reqest, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging. +# +# Source repository: https://github.com/actions/dependency-review-action +# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement +name: 'Dependency Review' +on: [pull_request] + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - name: 'Checkout Repository' + uses: actions/checkout@v3 + - name: 'Dependency Review' + uses: actions/dependency-review-action@v1 From 0604cab10a9545de10e8c1d179196015e7dcd0d6 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 08:00:45 -0700 Subject: [PATCH 22/29] =?UTF-8?q?=E2=9C=A8|=20Fix=20integrity=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/pages/editor.ejs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/pages/editor.ejs b/src/pages/pages/editor.ejs index ec4e0c8..137d9d8 100644 --- a/src/pages/pages/editor.ejs +++ b/src/pages/pages/editor.ejs @@ -50,8 +50,8 @@
- + \ No newline at end of file + From f0a893048bacb2dab1043636cd55550f26a3f500 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 08:25:56 -0700 Subject: [PATCH 23/29] =?UTF-8?q?=E2=9C=A8|=20Fix=20OS=20compatability=20i?= =?UTF-8?q?ssue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.ts b/src/api/api.ts index dcd5d09..a88bc5c 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -16,7 +16,7 @@ walk(path.join(__dirname, 'routes'), (err: any, results: string[]) => { object.obj = require(file).default; object.name = file .split('api\\routes\\')[1] - .replace('\\', '/') + .replaceAll('\\', '/') .replace('.js', ''); const objectRouter = express.Router(); From 202c0bfa457cda0448b693396e5a114975c8f987 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 08:30:31 -0700 Subject: [PATCH 24/29] =?UTF-8?q?=E2=9C=A8|=20Fix=20OS=20compatability=20i?= =?UTF-8?q?ssue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.ts b/src/api/api.ts index a88bc5c..aaafc3e 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -16,7 +16,7 @@ walk(path.join(__dirname, 'routes'), (err: any, results: string[]) => { object.obj = require(file).default; object.name = file .split('api\\routes\\')[1] - .replaceAll('\\', '/') + .replace(/\\/g, '/') .replace('.js', ''); const objectRouter = express.Router(); From e1da8d80e87b74166d5be8bd97351747cad3f3fb Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 08:38:23 -0700 Subject: [PATCH 25/29] =?UTF-8?q?=E2=9C=A8|=20Fix=20OS=20compatability=20i?= =?UTF-8?q?ssue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.ts b/src/api/api.ts index aaafc3e..e28e6c7 100644 --- a/src/api/api.ts +++ b/src/api/api.ts @@ -24,7 +24,7 @@ walk(path.join(__dirname, 'routes'), (err: any, results: string[]) => { object.obj(req, res); }); - const route = `/${object.name.replace('\\', '/')}`; + const route = `/${object.name.replace(/\\/g, '/')}`; router.use(route, objectRouter); info(`Added route ${route}`); From 800cbf0fbe9a614080292757e007e1009a621119 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 23:45:09 -0700 Subject: [PATCH 26/29] =?UTF-8?q?=E2=9C=A8|=20Add=20ESLint=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/eslint.yml | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 .github/workflows/eslint.yml diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml new file mode 100644 index 0000000..f45d22c --- /dev/null +++ b/.github/workflows/eslint.yml @@ -0,0 +1,40 @@ +# This workflow uses actions that are not certified by GitHub. +# They are provided by a third-party and are governed by +# separate terms of service, privacy policy, and support +# documentation. +# ESLint is a tool for identifying and reporting on patterns +# found in ECMAScript/JavaScript code. +# More details at https://github.com/eslint/eslint +# and https://eslint.org + +name: ESLint + +on: + push: + branches: [ master ] + pull_request: + # The branches below must be a subset of the branches above + branches: [ master ] + schedule: + - cron: '27 20 * * 2' + +jobs: + eslint: + name: Run eslint scanning + runs-on: ubuntu-latest + permissions: + contents: read + security-events: write + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run ESLint + run: yarn lint + continue-on-error: true + + - name: Upload analysis results to GitHub + uses: github/codeql-action/upload-sarif@v2 + with: + sarif_file: eslint-results.sarif + wait-for-processing: true From 8ad6ab1bb5b3bd34d931588f211f3b1998a1683e Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 23:46:36 -0700 Subject: [PATCH 27/29] =?UTF-8?q?=F0=9F=90=9B|=20Fix=20workflow=20bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/eslint.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index f45d22c..1235af2 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -31,10 +31,4 @@ jobs: - name: Run ESLint run: yarn lint - continue-on-error: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v2 - with: - sarif_file: eslint-results.sarif - wait-for-processing: true + continue-on-error: false From 518a3914a9d6e9ede405e41104593e572b0cf3aa Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 23:48:04 -0700 Subject: [PATCH 28/29] =?UTF-8?q?=F0=9F=90=9B|=20Refactor=20lint=20workflo?= =?UTF-8?q?w?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/node.js.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index b0f7010..d1c75d5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -27,5 +27,4 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'yarn' - run: rm -rf node_modules && yarn install --frozen-lockfile - - run: yarn lint - run: yarn run tsc From 913c42023e0acc5b2f11ebe0efdd342429929d42 Mon Sep 17 00:00:00 2001 From: Exortions <75327059+Exortions@users.noreply.github.com> Date: Fri, 6 May 2022 23:49:24 -0700 Subject: [PATCH 29/29] =?UTF-8?q?=F0=9F=90=9B|=20Bugfix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/eslint.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 1235af2..ac15790 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -29,6 +29,9 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Install dependencies + run: rm -rf node_modules && yarn install --frozen-lockfile + - name: Run ESLint run: yarn lint continue-on-error: false