diff --git a/.gitignore b/.gitignore index b5c0863..c0b2358 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ build dist -node_modules \ No newline at end of file +node_modules diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..38558a0 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,4 @@ +{ + "tabWidth": 4, + "useTabs": false +} \ No newline at end of file diff --git a/README.md b/README.md index fdf8d9a..156cfa6 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,27 @@ -# NewWebsite -The new IEEE website for the section at UCSD +# IEEE @ UCSD Website + +## Deployment + +Github Actions have been set to trigger on each push and pull request on the `main` branch. The website will be built as static pages to the `page` branch where it will be deployed onto [ieeeucsd.edu](https://ieeeucsd.edu). + +## Contributing + +Please create a new branch for development (i.e. `[NAME]-dev`). Pushing directly to main is not advised, as changes will go straight into production. + +### Testing + +To build the site, run `npm run build`. + +To view the site on your local network, run `npm build/index.js`. View the site at [localhost:9000](http://localhost:9000). + +### Images + +Large images should be in WebP format. Consider resizing images based on their usage. + +[Squoosh](https://squoosh.app/) is a great online tool for optimizing images developed by Google Chrome Labs. + +### Formatting + +Install [prettier](https://prettier.io/) and use it as the default Typescript and Javascript formatter. The `.prettierrc` configuration file controls the formatting rules. + +For CSS, use `CSS Language Features` as the default formatter. For HTML, use `HTML Language Features` as the default formatter. diff --git a/package-lock.json b/package-lock.json index 7429b77..a880244 100644 --- a/package-lock.json +++ b/package-lock.json @@ -23,14 +23,21 @@ "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", "@types/react": "^16.14.20", + "@typescript-eslint/eslint-plugin": "^5.40.1", "babel-loader": "^8.2.3", "copy-webpack-plugin": "^6.4.1", "css-loader": "^5.2.7", + "eslint": "^8.26.0", + "eslint-config-standard-with-typescript": "^23.0.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-n": "^15.3.0", + "eslint-plugin-promise": "^6.1.1", + "eslint-plugin-react": "^7.31.10", "html-webpack-plugin": "^4.5.2", "license-webpack-plugin": "^2.3.21", "style-loader": "^2.0.0", "ts-loader": "^8.3.0", - "typescript": "^4.4.4", + "typescript": "^4.8.4", "webpack": "^5.60.0", "webpack-cli": "^4.9.1" } @@ -1734,12 +1741,83 @@ "node": ">=10.0.0" } }, + "node_modules/@eslint/eslintrc": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", + "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", + "dev": true, + "dependencies": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.4.0", + "globals": "^13.15.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/@eslint/eslintrc/node_modules/globals": { + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, + "node_modules/@humanwhocodes/config-array": { + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.6.tgz", + "integrity": "sha512-jJr+hPTJYKyDILJfhNSHsjiwXYf26Flsz8DvNndOsHs5pwSnpGUEy8yzF0JYhCEvTDdV2vuOK5tt8BVhwO5/hg==", + "dev": true, + "dependencies": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + }, + "engines": { + "node": ">=10.10.0" + } + }, + "node_modules/@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true, + "engines": { + "node": ">=12.22" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/nzakas" + } + }, + "node_modules/@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, "node_modules/@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -1960,6 +2038,12 @@ "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", "dev": true }, + "node_modules/@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, "node_modules/@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -2008,6 +2092,12 @@ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, + "node_modules/@types/semver": { + "version": "7.3.12", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.12.tgz", + "integrity": "sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==", + "dev": true + }, "node_modules/@types/serve-static": { "version": "1.13.10", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", @@ -2094,6 +2184,237 @@ "@types/node": "*" } }, + "node_modules/@typescript-eslint/eslint-plugin": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.1.tgz", + "integrity": "sha512-FsWboKkWdytGiXT5O1/R9j37YgcjO8MKHSUmWnIEjVaz0krHkplPnYi7mwdb+5+cs0toFNQb0HIrN7zONdIEWg==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/type-utils": "5.40.1", + "@typescript-eslint/utils": "5.40.1", + "debug": "^4.3.4", + "ignore": "^5.2.0", + "regexpp": "^3.2.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/parser": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.40.1.tgz", + "integrity": "sha512-IK6x55va5w4YvXd4b3VrXQPldV9vQTxi5ov+g4pMANsXPTXOcfjx08CRR1Dfrcc51syPtXHF5bgLlMHYFrvQtg==", + "dev": true, + "dependencies": { + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/typescript-estree": "5.40.1", + "debug": "^4.3.4" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/scope-manager": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.40.1.tgz", + "integrity": "sha512-jkn4xsJiUQucI16OLCXrLRXDZ3afKhOIqXs4R3O+M00hdQLKR58WuyXPZZjhKLFCEP2g+TXdBRtLQ33UfAdRUg==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/visitor-keys": "5.40.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.40.1.tgz", + "integrity": "sha512-DLAs+AHQOe6n5LRraXiv27IYPhleF0ldEmx6yBqBgBLaNRKTkffhV1RPsjoJBhVup2zHxfaRtan8/YRBgYhU9Q==", + "dev": true, + "dependencies": { + "@typescript-eslint/typescript-estree": "5.40.1", + "@typescript-eslint/utils": "5.40.1", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "*" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/types": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.40.1.tgz", + "integrity": "sha512-Icg9kiuVJSwdzSQvtdGspOlWNjVDnF3qVIKXdJ103o36yRprdl3Ge5cABQx+csx960nuMF21v8qvO31v9t3OHw==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.1.tgz", + "integrity": "sha512-5QTP/nW5+60jBcEPfXy/EZL01qrl9GZtbgDZtDPlfW5zj/zjNrdI2B5zMUHmOsfvOr2cWqwVdWjobCiHcedmQA==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/visitor-keys": "5.40.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.40.1.tgz", + "integrity": "sha512-a2TAVScoX9fjryNrW6BZRnreDUszxqm9eQ9Esv8n5nXApMW0zeANUYlwh/DED04SC/ifuBvXgZpIK5xeJHQ3aw==", + "dev": true, + "dependencies": { + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/typescript-estree": "5.40.1", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0", + "semver": "^7.3.7" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, + "node_modules/@typescript-eslint/utils/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.1.tgz", + "integrity": "sha512-A2DGmeZ+FMja0geX5rww+DpvILpwo1OsiQs0M+joPWJYsiEFBLsH0y1oFymPNul6Z5okSmHpP4ivkc2N0Cgfkw==", + "dev": true, + "dependencies": { + "@typescript-eslint/types": "5.40.1", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, "node_modules/@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -2301,9 +2622,9 @@ } }, "node_modules/acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true, "bin": { "acorn": "bin/acorn" @@ -2321,6 +2642,15 @@ "acorn": "^8" } }, + "node_modules/acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "peerDependencies": { + "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" + } + }, "node_modules/aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -2393,11 +2723,36 @@ "node": ">= 8" } }, + "node_modules/argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "node_modules/array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" }, + "node_modules/array-includes": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz", + "integrity": "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.7" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", @@ -2407,6 +2762,42 @@ "node": ">=8" } }, + "node_modules/array.prototype.flat": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz", + "integrity": "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.2", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/array.prototype.flatmap": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz", + "integrity": "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.2", + "es-shim-unscopables": "^1.0.0" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/array.prototype.reduce": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz", @@ -2659,6 +3050,30 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, + "node_modules/builtins": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "dependencies": { + "semver": "^7.0.0" + } + }, + "node_modules/builtins/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, "node_modules/bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", @@ -2708,6 +3123,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "engines": { + "node": ">=6" + } + }, "node_modules/camel-case": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", @@ -3115,6 +3539,12 @@ } } }, + "node_modules/deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, "node_modules/define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -3168,6 +3598,18 @@ "node": ">=8" } }, + "node_modules/doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", @@ -3366,6 +3808,15 @@ "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", "dev": true }, + "node_modules/es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, + "dependencies": { + "has": "^1.0.3" + } + }, "node_modules/es-to-primitive": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", @@ -3406,6 +3857,366 @@ "node": ">=0.8.0" } }, + "node_modules/eslint": { + "version": "8.26.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.26.0.tgz", + "integrity": "sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg==", + "dev": true, + "dependencies": { + "@eslint/eslintrc": "^1.3.3", + "@humanwhocodes/config-array": "^0.11.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.4.0", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.15.0", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-sdsl": "^4.1.4", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "bin": { + "eslint": "bin/eslint.js" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/eslint-config-standard": { + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-17.0.0.tgz", + "integrity": "sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "peerDependencies": { + "eslint": "^8.0.1", + "eslint-plugin-import": "^2.25.2", + "eslint-plugin-n": "^15.0.0", + "eslint-plugin-promise": "^6.0.0" + } + }, + "node_modules/eslint-config-standard-with-typescript": { + "version": "23.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-23.0.0.tgz", + "integrity": "sha512-iaaWifImn37Z1OXbNW1es7KI+S7D408F9ys0bpaQf2temeBWlvb0Nc5qHkOgYaRb5QxTZT32GGeN1gtswASOXA==", + "dev": true, + "dependencies": { + "@typescript-eslint/parser": "^5.0.0", + "eslint-config-standard": "17.0.0" + }, + "peerDependencies": { + "@typescript-eslint/eslint-plugin": "^5.0.0", + "eslint": "^8.0.1", + "eslint-plugin-import": "^2.25.2", + "eslint-plugin-n": "^15.0.0", + "eslint-plugin-promise": "^6.0.0", + "typescript": "*" + } + }, + "node_modules/eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", + "dev": true, + "dependencies": { + "debug": "^3.2.7", + "resolve": "^1.20.0" + } + }, + "node_modules/eslint-import-resolver-node/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-module-utils": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz", + "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==", + "dev": true, + "dependencies": { + "debug": "^3.2.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } + } + }, + "node_modules/eslint-module-utils/node_modules/debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "dependencies": { + "ms": "^2.1.1" + } + }, + "node_modules/eslint-plugin-es": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz", + "integrity": "sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==", + "dev": true, + "dependencies": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + }, + "engines": { + "node": ">=8.10.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=4.19.1" + } + }, + "node_modules/eslint-plugin-es/node_modules/eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^1.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, + "node_modules/eslint-plugin-es/node_modules/eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/eslint-plugin-import": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz", + "integrity": "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==", + "dev": true, + "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" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8" + } + }, + "node_modules/eslint-plugin-import/node_modules/debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "dependencies": { + "ms": "2.0.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-import/node_modules/ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + }, + "node_modules/eslint-plugin-n": { + "version": "15.3.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.3.0.tgz", + "integrity": "sha512-IyzPnEWHypCWasDpxeJnim60jhlumbmq0pubL6IOcnk8u2y53s5QfT8JnXy7skjHJ44yWHRb11PLtDHuu1kg/Q==", + "dev": true, + "dependencies": { + "builtins": "^5.0.1", + "eslint-plugin-es": "^4.1.0", + "eslint-utils": "^3.0.0", + "ignore": "^5.1.1", + "is-core-module": "^2.10.0", + "minimatch": "^3.1.2", + "resolve": "^1.22.1", + "semver": "^7.3.7" + }, + "engines": { + "node": ">=12.22.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=7.0.0" + } + }, + "node_modules/eslint-plugin-n/node_modules/semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "dependencies": { + "lru-cache": "^6.0.0" + }, + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-plugin-promise": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz", + "integrity": "sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "peerDependencies": { + "eslint": "^7.0.0 || ^8.0.0" + } + }, + "node_modules/eslint-plugin-react": { + "version": "7.31.10", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.10.tgz", + "integrity": "sha512-e4N/nc6AAlg4UKW/mXeYWd3R++qUano5/o+t+wnWxIf+bLsOaH3a4q74kX3nDjYym3VBN4HyO9nEn1GcAqgQOA==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.5", + "array.prototype.flatmap": "^1.3.0", + "doctrine": "^2.1.0", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.5", + "object.fromentries": "^2.0.5", + "object.hasown": "^1.1.1", + "object.values": "^1.1.5", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.3", + "semver": "^6.3.0", + "string.prototype.matchall": "^4.0.7" + }, + "engines": { + "node": ">=4" + }, + "peerDependencies": { + "eslint": "^3 || ^4 || ^5 || ^6 || ^7 || ^8" + } + }, + "node_modules/eslint-plugin-react/node_modules/doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "dependencies": { + "esutils": "^2.0.2" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint-plugin-react/node_modules/resolve": { + "version": "2.0.0-next.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", + "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", + "dev": true, + "dependencies": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + }, + "bin": { + "resolve": "bin/resolve" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -3419,6 +4230,278 @@ "node": ">=8.0.0" } }, + "node_modules/eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "dependencies": { + "eslint-visitor-keys": "^2.0.0" + }, + "engines": { + "node": "^10.0.0 || ^12.0.0 || >= 14.0.0" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + }, + "peerDependencies": { + "eslint": ">=5" + } + }, + "node_modules/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "dev": true, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/eslint/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/eslint/node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/eslint/node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "node_modules/eslint/node_modules/escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "dev": true, + "dependencies": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/eslint/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, + "node_modules/eslint/node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "dependencies": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "dependencies": { + "is-glob": "^4.0.3" + }, + "engines": { + "node": ">=10.13.0" + } + }, + "node_modules/eslint/node_modules/globals": { + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "dev": true, + "dependencies": { + "type-fest": "^0.20.2" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "dependencies": { + "p-locate": "^5.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "dependencies": { + "p-limit": "^3.0.2" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/eslint/node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/eslint/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/espree": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz", + "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "dev": true, + "dependencies": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "dependencies": { + "estraverse": "^5.1.0" + }, + "engines": { + "node": ">=0.10" + } + }, + "node_modules/esquery/node_modules/estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true, + "engines": { + "node": ">=4.0" + } + }, "node_modules/esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -3576,6 +4659,12 @@ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true }, + "node_modules/fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, "node_modules/fastest-levenshtein": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", @@ -3591,6 +4680,18 @@ "reusify": "^1.0.4" } }, + "node_modules/file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "dependencies": { + "flat-cache": "^3.0.4" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, "node_modules/fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -3663,6 +4764,25 @@ "node": ">=8" } }, + "node_modules/flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "dependencies": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + }, + "engines": { + "node": "^10.12.0 || >=12.0.0" + } + }, + "node_modules/flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, "node_modules/forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -3840,6 +4960,12 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, + "node_modules/grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, "node_modules/has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -4071,6 +5197,31 @@ "node": ">= 4" } }, + "node_modules/import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "dependencies": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/import-fresh/node_modules/resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true, + "engines": { + "node": ">=4" + } + }, "node_modules/import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -4206,9 +5357,9 @@ } }, "node_modules/is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", "dev": true, "dependencies": { "has": "^1.0.3" @@ -4289,6 +5440,15 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, "node_modules/is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -4430,11 +5590,29 @@ "url": "https://github.com/chalk/supports-color?sponsor=1" } }, + "node_modules/js-sdsl": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.1.5.tgz", + "integrity": "sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q==", + "dev": true + }, "node_modules/js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, + "node_modules/js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "dependencies": { + "argparse": "^2.0.1" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, "node_modules/jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", @@ -4459,6 +5637,12 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, + "node_modules/json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, "node_modules/json5": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", @@ -4471,6 +5655,19 @@ "node": ">=6" } }, + "node_modules/jsx-ast-utils": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", + "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "dev": true, + "dependencies": { + "array-includes": "^3.1.5", + "object.assign": "^4.1.3" + }, + "engines": { + "node": ">=4.0" + } + }, "node_modules/kareem": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz", @@ -4485,6 +5682,19 @@ "node": ">=0.10.0" } }, + "node_modules/levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/license-webpack-plugin": { "version": "2.3.21", "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.3.21.tgz", @@ -4558,6 +5768,12 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, + "node_modules/lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "node_modules/loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -4882,6 +6098,12 @@ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" } }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, "node_modules/negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -4959,14 +6181,14 @@ } }, "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", "object-keys": "^1.1.1" }, "engines": { @@ -4976,6 +6198,37 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.entries": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz", + "integrity": "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/object.fromentries": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz", + "integrity": "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/object.getownpropertydescriptors": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz", @@ -4994,6 +6247,36 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/object.hasown": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz", + "integrity": "sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==", + "dev": true, + "dependencies": { + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + }, + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -5014,6 +6297,23 @@ "wrappy": "1" } }, + "node_modules/optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "dependencies": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + }, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -5090,6 +6390,18 @@ "tslib": "^2.0.3" } }, + "node_modules/parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "dependencies": { + "callsites": "^3.0.0" + }, + "engines": { + "node": ">=6" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -5287,6 +6599,15 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "node_modules/prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true, + "engines": { + "node": ">= 0.8.0" + } + }, "node_modules/pretty-error": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", @@ -5519,6 +6840,18 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/mysticatea" + } + }, "node_modules/regexpu-core": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz", @@ -5953,6 +7286,25 @@ "safe-buffer": "~5.1.0" } }, + "node_modules/string.prototype.matchall": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz", + "integrity": "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==", + "dev": true, + "dependencies": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1", + "get-intrinsic": "^1.1.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "regexp.prototype.flags": "^1.4.1", + "side-channel": "^1.0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, "node_modules/string.prototype.trimend": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", @@ -5993,6 +7345,27 @@ "node": ">=0.10.0" } }, + "node_modules/strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true, + "engines": { + "node": ">=4" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/style-loader": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", @@ -6189,6 +7562,12 @@ "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", "dev": true }, + "node_modules/text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, "node_modules/to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -6334,12 +7713,81 @@ "node": ">=8" } }, + "node_modules/tsconfig-paths": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", + "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==", + "dev": true, + "dependencies": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + } + }, + "node_modules/tsconfig-paths/node_modules/json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "dependencies": { + "minimist": "^1.2.0" + }, + "bin": { + "json5": "lib/cli.js" + } + }, "node_modules/tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", "dev": true }, + "node_modules/tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "dependencies": { + "tslib": "^1.8.1" + }, + "engines": { + "node": ">= 6" + }, + "peerDependencies": { + "typescript": ">=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta" + } + }, + "node_modules/tsutils/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + }, + "node_modules/type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "dependencies": { + "prelude-ls": "^1.2.1" + }, + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -6353,9 +7801,9 @@ } }, "node_modules/typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -6764,6 +8212,15 @@ "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", "dev": true }, + "node_modules/word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", @@ -7965,12 +9422,63 @@ "integrity": "sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==", "dev": true }, + "@eslint/eslintrc": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-1.3.3.tgz", + "integrity": "sha512-uj3pT6Mg+3t39fvLrj8iuCIJ38zKO9FpGtJ4BBJebJhEwjoT+KLVNCcHT5QC9NGRIEi7fZ0ZR8YRb884auB4Lg==", + "dev": true, + "requires": { + "ajv": "^6.12.4", + "debug": "^4.3.2", + "espree": "^9.4.0", + "globals": "^13.15.0", + "ignore": "^5.2.0", + "import-fresh": "^3.2.1", + "js-yaml": "^4.1.0", + "minimatch": "^3.1.2", + "strip-json-comments": "^3.1.1" + }, + "dependencies": { + "globals": { + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + } + } + }, "@gar/promisify": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/@gar/promisify/-/promisify-1.1.3.tgz", "integrity": "sha512-k2Ty1JcVojjJFwrg/ThKi2ujJ7XNLYaFGNB/bWT9wGR+oSMJHMa5w+CUq6p/pVrKeNNgA7pCqEcjSnHVoqJQFw==", "dev": true }, + "@humanwhocodes/config-array": { + "version": "0.11.6", + "resolved": "https://registry.npmjs.org/@humanwhocodes/config-array/-/config-array-0.11.6.tgz", + "integrity": "sha512-jJr+hPTJYKyDILJfhNSHsjiwXYf26Flsz8DvNndOsHs5pwSnpGUEy8yzF0JYhCEvTDdV2vuOK5tt8BVhwO5/hg==", + "dev": true, + "requires": { + "@humanwhocodes/object-schema": "^1.2.1", + "debug": "^4.1.1", + "minimatch": "^3.0.4" + } + }, + "@humanwhocodes/module-importer": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", + "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", + "dev": true + }, + "@humanwhocodes/object-schema": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz", + "integrity": "sha512-ZnQMnLV4e7hDlUvw8H+U8ASL02SS2Gn6+9Ac3wGGLIe7+je2AeAOxPY+izIPJDfFDb7eDjev0Us8MO1iFRN8hA==", + "dev": true + }, "@jridgewell/gen-mapping": { "version": "0.1.1", "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.1.1.tgz", @@ -8165,6 +9673,12 @@ "integrity": "sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==", "dev": true }, + "@types/json5": { + "version": "0.0.29", + "resolved": "https://registry.npmjs.org/@types/json5/-/json5-0.0.29.tgz", + "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", + "dev": true + }, "@types/mime": { "version": "1.3.2", "resolved": "https://registry.npmjs.org/@types/mime/-/mime-1.3.2.tgz", @@ -8213,6 +9727,12 @@ "resolved": "https://registry.npmjs.org/@types/scheduler/-/scheduler-0.16.2.tgz", "integrity": "sha512-hppQEBDmlwhFAXKJX2KnWLYu5yMfi91yazPb2l+lbJiwW+wdo1gNeRA+3RgNSO39WYX2euey41KEwnqesU2Jew==" }, + "@types/semver": { + "version": "7.3.12", + "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.3.12.tgz", + "integrity": "sha512-WwA1MW0++RfXmCr12xeYOOC5baSC9mSb0ZqCquFzKhcoF4TvHu5MKOuXsncgZcpVFhB1pXd5hZmM0ryAoCp12A==", + "dev": true + }, "@types/serve-static": { "version": "1.13.10", "resolved": "https://registry.npmjs.org/@types/serve-static/-/serve-static-1.13.10.tgz", @@ -8298,6 +9818,136 @@ "@types/node": "*" } }, + "@typescript-eslint/eslint-plugin": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.40.1.tgz", + "integrity": "sha512-FsWboKkWdytGiXT5O1/R9j37YgcjO8MKHSUmWnIEjVaz0krHkplPnYi7mwdb+5+cs0toFNQb0HIrN7zONdIEWg==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/type-utils": "5.40.1", + "@typescript-eslint/utils": "5.40.1", + "debug": "^4.3.4", + "ignore": "^5.2.0", + "regexpp": "^3.2.0", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "@typescript-eslint/parser": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.40.1.tgz", + "integrity": "sha512-IK6x55va5w4YvXd4b3VrXQPldV9vQTxi5ov+g4pMANsXPTXOcfjx08CRR1Dfrcc51syPtXHF5bgLlMHYFrvQtg==", + "dev": true, + "requires": { + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/typescript-estree": "5.40.1", + "debug": "^4.3.4" + } + }, + "@typescript-eslint/scope-manager": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-5.40.1.tgz", + "integrity": "sha512-jkn4xsJiUQucI16OLCXrLRXDZ3afKhOIqXs4R3O+M00hdQLKR58WuyXPZZjhKLFCEP2g+TXdBRtLQ33UfAdRUg==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/visitor-keys": "5.40.1" + } + }, + "@typescript-eslint/type-utils": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-5.40.1.tgz", + "integrity": "sha512-DLAs+AHQOe6n5LRraXiv27IYPhleF0ldEmx6yBqBgBLaNRKTkffhV1RPsjoJBhVup2zHxfaRtan8/YRBgYhU9Q==", + "dev": true, + "requires": { + "@typescript-eslint/typescript-estree": "5.40.1", + "@typescript-eslint/utils": "5.40.1", + "debug": "^4.3.4", + "tsutils": "^3.21.0" + } + }, + "@typescript-eslint/types": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-5.40.1.tgz", + "integrity": "sha512-Icg9kiuVJSwdzSQvtdGspOlWNjVDnF3qVIKXdJ103o36yRprdl3Ge5cABQx+csx960nuMF21v8qvO31v9t3OHw==", + "dev": true + }, + "@typescript-eslint/typescript-estree": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-5.40.1.tgz", + "integrity": "sha512-5QTP/nW5+60jBcEPfXy/EZL01qrl9GZtbgDZtDPlfW5zj/zjNrdI2B5zMUHmOsfvOr2cWqwVdWjobCiHcedmQA==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/visitor-keys": "5.40.1", + "debug": "^4.3.4", + "globby": "^11.1.0", + "is-glob": "^4.0.3", + "semver": "^7.3.7", + "tsutils": "^3.21.0" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "@typescript-eslint/utils": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-5.40.1.tgz", + "integrity": "sha512-a2TAVScoX9fjryNrW6BZRnreDUszxqm9eQ9Esv8n5nXApMW0zeANUYlwh/DED04SC/ifuBvXgZpIK5xeJHQ3aw==", + "dev": true, + "requires": { + "@types/json-schema": "^7.0.9", + "@types/semver": "^7.3.12", + "@typescript-eslint/scope-manager": "5.40.1", + "@typescript-eslint/types": "5.40.1", + "@typescript-eslint/typescript-estree": "5.40.1", + "eslint-scope": "^5.1.1", + "eslint-utils": "^3.0.0", + "semver": "^7.3.7" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "@typescript-eslint/visitor-keys": { + "version": "5.40.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-5.40.1.tgz", + "integrity": "sha512-A2DGmeZ+FMja0geX5rww+DpvILpwo1OsiQs0M+joPWJYsiEFBLsH0y1oFymPNul6Z5okSmHpP4ivkc2N0Cgfkw==", + "dev": true, + "requires": { + "@typescript-eslint/types": "5.40.1", + "eslint-visitor-keys": "^3.3.0" + } + }, "@webassemblyjs/ast": { "version": "1.11.1", "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.1.tgz", @@ -8489,9 +10139,9 @@ } }, "acorn": { - "version": "8.7.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.7.1.tgz", - "integrity": "sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==", + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.0.tgz", + "integrity": "sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w==", "dev": true }, "acorn-import-assertions": { @@ -8501,6 +10151,13 @@ "dev": true, "requires": {} }, + "acorn-jsx": { + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", + "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", + "dev": true, + "requires": {} + }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz", @@ -8555,17 +10212,60 @@ "picomatch": "^2.0.4" } }, + "argparse": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", + "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", + "dev": true + }, "array-flatten": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==" }, + "array-includes": { + "version": "3.1.5", + "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.5.tgz", + "integrity": "sha512-iSDYZMMyTPkiFasVqfuAQnWAYcvO/SeBSCGKePoEthjp4LEMTe4uLc7b025o4jAZpHhihh8xPo99TNWUWWkGDQ==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5", + "get-intrinsic": "^1.1.1", + "is-string": "^1.0.7" + } + }, "array-union": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/array-union/-/array-union-2.1.0.tgz", "integrity": "sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==", "dev": true }, + "array.prototype.flat": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.3.0.tgz", + "integrity": "sha512-12IUEkHsAhA4DY5s0FPgNXIdc8VRSqD9Zp78a5au9abH/SOBrsp082JOWFNTjkMozh8mqcdiKuaLGhPeYztxSw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.2", + "es-shim-unscopables": "^1.0.0" + } + }, + "array.prototype.flatmap": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/array.prototype.flatmap/-/array.prototype.flatmap-1.3.0.tgz", + "integrity": "sha512-PZC9/8TKAIxcWKdyeb77EzULHPrIX/tIZebLJUQOMR1OwYosT8yggdfWScfTBCDj5utONvOuPQQumYsU2ULbkg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.2", + "es-shim-unscopables": "^1.0.0" + } + }, "array.prototype.reduce": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/array.prototype.reduce/-/array.prototype.reduce-1.0.4.tgz", @@ -8741,6 +10441,26 @@ "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", "dev": true }, + "builtins": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/builtins/-/builtins-5.0.1.tgz", + "integrity": "sha512-qwVpFEHNfhYJIzNRBvd2C1kyo6jz3ZSMPyyuR47OPdiKWlbYnZNyDWuyR175qDnAJLiCo5fBBqPb3RiXgWlkOQ==", + "dev": true, + "requires": { + "semver": "^7.0.0" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, "bytes": { "version": "3.1.2", "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz", @@ -8781,6 +10501,12 @@ "get-intrinsic": "^1.0.2" } }, + "callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true + }, "camel-case": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-4.1.2.tgz", @@ -9069,6 +10795,12 @@ "ms": "2.1.2" } }, + "deep-is": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", + "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", + "dev": true + }, "define-properties": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.4.tgz", @@ -9103,6 +10835,15 @@ "path-type": "^4.0.0" } }, + "doctrine": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", + "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, "dom-converter": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", @@ -9256,6 +10997,15 @@ "integrity": "sha512-1HQ2M2sPtxwnvOvT1ZClHyQDiggdNjURWpY2we6aMKCQiUVxTmVs2UYPLIrD84sS+kMdUwfBSylbJPwNnBrnHQ==", "dev": true }, + "es-shim-unscopables": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/es-shim-unscopables/-/es-shim-unscopables-1.0.0.tgz", + "integrity": "sha512-Jm6GPcCdC30eMLbZ2x8z2WuRwAws3zTBBKuusffYVUrNj/GVSUAZ+xKMaUpfNDR5IbyNA5LJbaecoUVbmUcB1w==", + "dev": true, + "requires": { + "has": "^1.0.3" + } + }, "es-to-primitive": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", @@ -9284,6 +11034,403 @@ "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", "dev": true }, + "eslint": { + "version": "8.26.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.26.0.tgz", + "integrity": "sha512-kzJkpaw1Bfwheq4VXUezFriD1GxszX6dUekM7Z3aC2o4hju+tsR/XyTC3RcoSD7jmy9VkPU3+N6YjVU2e96Oyg==", + "dev": true, + "requires": { + "@eslint/eslintrc": "^1.3.3", + "@humanwhocodes/config-array": "^0.11.6", + "@humanwhocodes/module-importer": "^1.0.1", + "@nodelib/fs.walk": "^1.2.8", + "ajv": "^6.10.0", + "chalk": "^4.0.0", + "cross-spawn": "^7.0.2", + "debug": "^4.3.2", + "doctrine": "^3.0.0", + "escape-string-regexp": "^4.0.0", + "eslint-scope": "^7.1.1", + "eslint-utils": "^3.0.0", + "eslint-visitor-keys": "^3.3.0", + "espree": "^9.4.0", + "esquery": "^1.4.0", + "esutils": "^2.0.2", + "fast-deep-equal": "^3.1.3", + "file-entry-cache": "^6.0.1", + "find-up": "^5.0.0", + "glob-parent": "^6.0.2", + "globals": "^13.15.0", + "grapheme-splitter": "^1.0.4", + "ignore": "^5.2.0", + "import-fresh": "^3.0.0", + "imurmurhash": "^0.1.4", + "is-glob": "^4.0.0", + "is-path-inside": "^3.0.3", + "js-sdsl": "^4.1.4", + "js-yaml": "^4.1.0", + "json-stable-stringify-without-jsonify": "^1.0.1", + "levn": "^0.4.1", + "lodash.merge": "^4.6.2", + "minimatch": "^3.1.2", + "natural-compare": "^1.4.0", + "optionator": "^0.9.1", + "regexpp": "^3.2.0", + "strip-ansi": "^6.0.1", + "strip-json-comments": "^3.1.0", + "text-table": "^0.2.0" + }, + "dependencies": { + "ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true + }, + "ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "requires": { + "color-convert": "^2.0.1" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "requires": { + "color-name": "~1.1.4" + } + }, + "color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true + }, + "escape-string-regexp": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "dev": true + }, + "eslint-scope": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-7.1.1.tgz", + "integrity": "sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw==", + "dev": true, + "requires": { + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "dev": true, + "requires": { + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" + } + }, + "glob-parent": { + "version": "6.0.2", + "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", + "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", + "dev": true, + "requires": { + "is-glob": "^4.0.3" + } + }, + "globals": { + "version": "13.17.0", + "resolved": "https://registry.npmjs.org/globals/-/globals-13.17.0.tgz", + "integrity": "sha512-1C+6nQRb1GwGMKm2dH/E7enFAMxGTmGI7/dEdhy/DNelv85w9B72t3uc5frtMNXIbzrarJJ/lTCjcaZwbLJmyw==", + "dev": true, + "requires": { + "type-fest": "^0.20.2" + } + }, + "has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true + }, + "locate-path": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "dev": true, + "requires": { + "p-locate": "^5.0.0" + } + }, + "p-locate": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "dev": true, + "requires": { + "p-limit": "^3.0.2" + } + }, + "strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "requires": { + "ansi-regex": "^5.0.1" + } + }, + "supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "requires": { + "has-flag": "^4.0.0" + } + } + } + }, + "eslint-config-standard": { + "version": "17.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-17.0.0.tgz", + "integrity": "sha512-/2ks1GKyqSOkH7JFvXJicu0iMpoojkwB+f5Du/1SC0PtBL+s8v30k9njRZ21pm2drKYm2342jFnGWzttxPmZVg==", + "dev": true, + "requires": {} + }, + "eslint-config-standard-with-typescript": { + "version": "23.0.0", + "resolved": "https://registry.npmjs.org/eslint-config-standard-with-typescript/-/eslint-config-standard-with-typescript-23.0.0.tgz", + "integrity": "sha512-iaaWifImn37Z1OXbNW1es7KI+S7D408F9ys0bpaQf2temeBWlvb0Nc5qHkOgYaRb5QxTZT32GGeN1gtswASOXA==", + "dev": true, + "requires": { + "@typescript-eslint/parser": "^5.0.0", + "eslint-config-standard": "17.0.0" + } + }, + "eslint-import-resolver-node": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.6.tgz", + "integrity": "sha512-0En0w03NRVMn9Uiyn8YRPDKvWjxCWkslUEhGNTdGx15RvPJYQ+lbOlqrlNI2vEAs4pDYK4f/HN2TbDmk5TP0iw==", + "dev": true, + "requires": { + "debug": "^3.2.7", + "resolve": "^1.20.0" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-module-utils": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.7.4.tgz", + "integrity": "sha512-j4GT+rqzCoRKHwURX7pddtIPGySnX9Si/cgMI5ztrcqOPtk5dDEeZ34CQVPphnqkJytlc97Vuk05Um2mJ3gEQA==", + "dev": true, + "requires": { + "debug": "^3.2.7" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "dev": true, + "requires": { + "ms": "^2.1.1" + } + } + } + }, + "eslint-plugin-es": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-es/-/eslint-plugin-es-4.1.0.tgz", + "integrity": "sha512-GILhQTnjYE2WorX5Jyi5i4dz5ALWxBIdQECVQavL6s7cI76IZTDWleTHkxz/QT3kvcs2QlGHvKLYsSlPOlPXnQ==", + "dev": true, + "requires": { + "eslint-utils": "^2.0.0", + "regexpp": "^3.0.0" + }, + "dependencies": { + "eslint-utils": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-2.1.0.tgz", + "integrity": "sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^1.1.0" + } + }, + "eslint-visitor-keys": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", + "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", + "dev": true + } + } + }, + "eslint-plugin-import": { + "version": "2.26.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.26.0.tgz", + "integrity": "sha512-hYfi3FXaM8WPLf4S1cikh/r4IxnO6zrhZbEGz2b660EJRbuxgpDS5gkCuYgGWg2xxh2rBuIr4Pvhve/7c31koA==", + "dev": true, + "requires": { + "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" + }, + "dependencies": { + "debug": { + "version": "2.6.9", + "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", + "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "ms": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", + "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", + "dev": true + } + } + }, + "eslint-plugin-n": { + "version": "15.3.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-15.3.0.tgz", + "integrity": "sha512-IyzPnEWHypCWasDpxeJnim60jhlumbmq0pubL6IOcnk8u2y53s5QfT8JnXy7skjHJ44yWHRb11PLtDHuu1kg/Q==", + "dev": true, + "requires": { + "builtins": "^5.0.1", + "eslint-plugin-es": "^4.1.0", + "eslint-utils": "^3.0.0", + "ignore": "^5.1.1", + "is-core-module": "^2.10.0", + "minimatch": "^3.1.2", + "resolve": "^1.22.1", + "semver": "^7.3.7" + }, + "dependencies": { + "semver": { + "version": "7.3.8", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.3.8.tgz", + "integrity": "sha512-NB1ctGL5rlHrPJtFDVIVzTyQylMLu9N9VICA6HSFJo8MCGVTMW6gfpicwKmmK/dAjTOrqu5l63JJOpDSrAis3A==", + "dev": true, + "requires": { + "lru-cache": "^6.0.0" + } + } + } + }, + "eslint-plugin-promise": { + "version": "6.1.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-promise/-/eslint-plugin-promise-6.1.1.tgz", + "integrity": "sha512-tjqWDwVZQo7UIPMeDReOpUgHCmCiH+ePnVT+5zVapL0uuHnegBUs2smM13CzOs2Xb5+MHMRFTs9v24yjba4Oig==", + "dev": true, + "requires": {} + }, + "eslint-plugin-react": { + "version": "7.31.10", + "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.31.10.tgz", + "integrity": "sha512-e4N/nc6AAlg4UKW/mXeYWd3R++qUano5/o+t+wnWxIf+bLsOaH3a4q74kX3nDjYym3VBN4HyO9nEn1GcAqgQOA==", + "dev": true, + "requires": { + "array-includes": "^3.1.5", + "array.prototype.flatmap": "^1.3.0", + "doctrine": "^2.1.0", + "estraverse": "^5.3.0", + "jsx-ast-utils": "^2.4.1 || ^3.0.0", + "minimatch": "^3.1.2", + "object.entries": "^1.1.5", + "object.fromentries": "^2.0.5", + "object.hasown": "^1.1.1", + "object.values": "^1.1.5", + "prop-types": "^15.8.1", + "resolve": "^2.0.0-next.3", + "semver": "^6.3.0", + "string.prototype.matchall": "^4.0.7" + }, + "dependencies": { + "doctrine": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", + "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", + "dev": true, + "requires": { + "esutils": "^2.0.2" + } + }, + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + }, + "resolve": { + "version": "2.0.0-next.4", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.4.tgz", + "integrity": "sha512-iMDbmAWtfU+MHpxt/I5iWI7cY6YVEZUQ3MBgPQ++XD1PELuJHIl82xBmObyP2KyQmkNB2dsqF7seoQQiAn5yDQ==", + "dev": true, + "requires": { + "is-core-module": "^2.9.0", + "path-parse": "^1.0.7", + "supports-preserve-symlinks-flag": "^1.0.0" + } + } + } + }, "eslint-scope": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz", @@ -9294,6 +11441,57 @@ "estraverse": "^4.1.1" } }, + "eslint-utils": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-3.0.0.tgz", + "integrity": "sha512-uuQC43IGctw68pJA1RgbQS8/NP7rch6Cwd4j3ZBtgo4/8Flj4eGE7ZYSZRN3iq5pVUv6GPdW5Z1RFleo84uLDA==", + "dev": true, + "requires": { + "eslint-visitor-keys": "^2.0.0" + }, + "dependencies": { + "eslint-visitor-keys": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz", + "integrity": "sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw==", + "dev": true + } + } + }, + "eslint-visitor-keys": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz", + "integrity": "sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA==", + "dev": true + }, + "espree": { + "version": "9.4.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.4.0.tgz", + "integrity": "sha512-DQmnRpLj7f6TgN/NYb0MTzJXL+vJF9h3pHy4JhCIs3zwcgez8xmGg3sXHcEO97BrmO2OSvCwMdfdlyl+E9KjOw==", + "dev": true, + "requires": { + "acorn": "^8.8.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.3.0" + } + }, + "esquery": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", + "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", + "dev": true, + "requires": { + "estraverse": "^5.1.0" + }, + "dependencies": { + "estraverse": { + "version": "5.3.0", + "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", + "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", + "dev": true + } + } + }, "esrecurse": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", @@ -9417,6 +11615,12 @@ "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", "dev": true }, + "fast-levenshtein": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", + "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", + "dev": true + }, "fastest-levenshtein": { "version": "1.0.12", "resolved": "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz", @@ -9432,6 +11636,15 @@ "reusify": "^1.0.4" } }, + "file-entry-cache": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-6.0.1.tgz", + "integrity": "sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==", + "dev": true, + "requires": { + "flat-cache": "^3.0.4" + } + }, "fill-range": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz", @@ -9491,6 +11704,22 @@ "path-exists": "^4.0.0" } }, + "flat-cache": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-3.0.4.tgz", + "integrity": "sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==", + "dev": true, + "requires": { + "flatted": "^3.1.0", + "rimraf": "^3.0.2" + } + }, + "flatted": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.7.tgz", + "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", + "dev": true + }, "forwarded": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz", @@ -9620,6 +11849,12 @@ "integrity": "sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA==", "dev": true }, + "grapheme-splitter": { + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz", + "integrity": "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==", + "dev": true + }, "has": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", @@ -9773,6 +12008,24 @@ "integrity": "sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ==", "dev": true }, + "import-fresh": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", + "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", + "dev": true, + "requires": { + "parent-module": "^1.0.0", + "resolve-from": "^4.0.0" + }, + "dependencies": { + "resolve-from": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", + "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", + "dev": true + } + } + }, "import-local": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.1.0.tgz", @@ -9869,9 +12122,9 @@ "dev": true }, "is-core-module": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.9.0.tgz", - "integrity": "sha512-+5FPy5PnwmO3lvfMb0AsoPaBG+5KHUI0wYFXOtYPnVVVspTFUuMZNfNaNVRt3FZadstu2c8x23vykRW/NBoU6A==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz", + "integrity": "sha512-RRjxlvLDkD1YJwDbroBHMb+cukurkDWNyHx7D3oNB5x9rb5ogcksMC5wHCadcXoo67gVr/+3GFySh3134zi6rw==", "dev": true, "requires": { "has": "^1.0.3" @@ -9922,6 +12175,12 @@ "has-tostringtag": "^1.0.0" } }, + "is-path-inside": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-3.0.3.tgz", + "integrity": "sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==", + "dev": true + }, "is-plain-object": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", @@ -10023,11 +12282,26 @@ } } }, + "js-sdsl": { + "version": "4.1.5", + "resolved": "https://registry.npmjs.org/js-sdsl/-/js-sdsl-4.1.5.tgz", + "integrity": "sha512-08bOAKweV2NUC1wqTtf3qZlnpOX/R2DU9ikpjOHs0H+ibQv3zpncVQg6um4uYtRtrwIX8M4Nh3ytK4HGlYAq7Q==", + "dev": true + }, "js-tokens": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" }, + "js-yaml": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", + "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", + "dev": true, + "requires": { + "argparse": "^2.0.1" + } + }, "jsesc": { "version": "2.5.2", "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", @@ -10046,12 +12320,28 @@ "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true }, + "json-stable-stringify-without-jsonify": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", + "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", + "dev": true + }, "json5": { "version": "2.2.1", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.1.tgz", "integrity": "sha512-1hqLFMSrGHRHxav9q9gNjJ5EXznIxGVO09xQRrwplcS8qs28pZ8s8hupZAmqDwZUmVZ2Qb2jnyPOWcDH8m8dlA==", "dev": true }, + "jsx-ast-utils": { + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-3.3.3.tgz", + "integrity": "sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==", + "dev": true, + "requires": { + "array-includes": "^3.1.5", + "object.assign": "^4.1.3" + } + }, "kareem": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/kareem/-/kareem-2.4.1.tgz", @@ -10063,6 +12353,16 @@ "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", "dev": true }, + "levn": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" + } + }, "license-webpack-plugin": { "version": "2.3.21", "resolved": "https://registry.npmjs.org/license-webpack-plugin/-/license-webpack-plugin-2.3.21.tgz", @@ -10124,6 +12424,12 @@ "integrity": "sha512-FT1yDzDYEoYWhnSGnpE/4Kj1fLZkDFyqRb7fNt6FdYOSxlUWAtp42Eh6Wb0rGIv/m9Bgo7x4GhQbm5Ys4SG5ow==", "dev": true }, + "lodash.merge": { + "version": "4.6.2", + "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true + }, "loose-envify": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", @@ -10363,6 +12669,12 @@ "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true }, + "natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true + }, "negotiator": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz", @@ -10422,17 +12734,39 @@ "dev": true }, "object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", + "version": "4.1.4", + "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", + "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", "dev": true, "requires": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", + "call-bind": "^1.0.2", + "define-properties": "^1.1.4", + "has-symbols": "^1.0.3", "object-keys": "^1.1.1" } }, + "object.entries": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.5.tgz", + "integrity": "sha512-TyxmjUoZggd4OrrU1W66FMDG6CuqJxsFvymeyXI51+vQLN67zYfZseptRge703kKQdo4uccgAKebXFcRCzk4+g==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, + "object.fromentries": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.5.tgz", + "integrity": "sha512-CAyG5mWQRRiBU57Re4FKoTBjXfDoNwdFVH2Y1tS9PqCsfUTymAohOkEMSG3aRNKmv4lV3O7p1et7c187q6bynw==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, "object.getownpropertydescriptors": { "version": "2.1.4", "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.4.tgz", @@ -10445,6 +12779,27 @@ "es-abstract": "^1.20.1" } }, + "object.hasown": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/object.hasown/-/object.hasown-1.1.1.tgz", + "integrity": "sha512-LYLe4tivNQzq4JdaWW6WO3HMZZJWzkkH8fnI6EebWl0VZth2wL2Lovm74ep2/gZzlaTdV62JZHEqHQ2yVn8Q/A==", + "dev": true, + "requires": { + "define-properties": "^1.1.4", + "es-abstract": "^1.19.5" + } + }, + "object.values": { + "version": "1.1.5", + "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.5.tgz", + "integrity": "sha512-QUZRW0ilQ3PnPpbNtgdNV1PDbEqLIiSFB3l+EnGtBQ/8SUTLj1PZwtQHABZtLgwpJZTSZhuGLOGk57Drx2IvYg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1" + } + }, "on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -10462,6 +12817,20 @@ "wrappy": "1" } }, + "optionator": { + "version": "0.9.1", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz", + "integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==", + "dev": true, + "requires": { + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.3" + } + }, "p-limit": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", @@ -10516,6 +12885,15 @@ "tslib": "^2.0.3" } }, + "parent-module": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", + "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", + "dev": true, + "requires": { + "callsites": "^3.0.0" + } + }, "parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -10650,6 +13028,12 @@ "integrity": "sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==", "dev": true }, + "prelude-ls": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "dev": true + }, "pretty-error": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", @@ -10832,6 +13216,12 @@ "functions-have-names": "^1.2.2" } }, + "regexpp": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", + "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", + "dev": true + }, "regexpu-core": { "version": "5.1.0", "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-5.1.0.tgz", @@ -11170,6 +13560,22 @@ "safe-buffer": "~5.1.0" } }, + "string.prototype.matchall": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.7.tgz", + "integrity": "sha512-f48okCX7JiwVi1NXCVWcFnZgADDC/n2vePlQ/KUCNqCikLLilQvwjMO8+BHVKvgzH0JB0J9LEPgxOGT02RoETg==", + "dev": true, + "requires": { + "call-bind": "^1.0.2", + "define-properties": "^1.1.3", + "es-abstract": "^1.19.1", + "get-intrinsic": "^1.1.1", + "has-symbols": "^1.0.3", + "internal-slot": "^1.0.3", + "regexp.prototype.flags": "^1.4.1", + "side-channel": "^1.0.4" + } + }, "string.prototype.trimend": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.5.tgz", @@ -11201,6 +13607,18 @@ "ansi-regex": "^2.0.0" } }, + "strip-bom": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", + "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", + "dev": true + }, + "strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true + }, "style-loader": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-2.0.0.tgz", @@ -11331,6 +13749,12 @@ } } }, + "text-table": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", + "integrity": "sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==", + "dev": true + }, "to-fast-properties": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", @@ -11432,12 +13856,67 @@ } } }, + "tsconfig-paths": { + "version": "3.14.1", + "resolved": "https://registry.npmjs.org/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz", + "integrity": "sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ==", + "dev": true, + "requires": { + "@types/json5": "^0.0.29", + "json5": "^1.0.1", + "minimist": "^1.2.6", + "strip-bom": "^3.0.0" + }, + "dependencies": { + "json5": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", + "dev": true, + "requires": { + "minimist": "^1.2.0" + } + } + } + }, "tslib": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==", "dev": true }, + "tsutils": { + "version": "3.21.0", + "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-3.21.0.tgz", + "integrity": "sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==", + "dev": true, + "requires": { + "tslib": "^1.8.1" + }, + "dependencies": { + "tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", + "dev": true + } + } + }, + "type-check": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", + "dev": true, + "requires": { + "prelude-ls": "^1.2.1" + } + }, + "type-fest": { + "version": "0.20.2", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz", + "integrity": "sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==", + "dev": true + }, "type-is": { "version": "1.6.18", "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", @@ -11448,9 +13927,9 @@ } }, "typescript": { - "version": "4.7.4", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz", - "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==", + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", "dev": true }, "unbox-primitive": { @@ -11734,6 +14213,12 @@ "integrity": "sha512-JcKqAHLPxcdb9KM49dufGXn2x3ssnfjbcaQdLlfZsL9rH9wgDQjUtDxbo8NE0F6SFvydeu1VhZe7hZuHsB2/pw==", "dev": true }, + "word-wrap": { + "version": "1.2.3", + "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", + "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", + "dev": true + }, "wrappy": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", diff --git a/package.json b/package.json index 5f76174..e201a08 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,10 @@ { "name": "ieee-website", "version": "1.0.0", - "description": "", + "description": "Website for IEEE of UC San Diego", "main": "build/index.js", "scripts": { - "build": "webpack & tsc & time /T", + "build": "webpack & tsc", "watch": "npm-watch build" }, "watch": { @@ -19,7 +19,7 @@ }, "keywords": [], "author": "", - "license": "ISC", + "license": "MIT", "dependencies": { "@types/express": "^4.17.13", "@types/node": "^16.11.7", @@ -35,15 +35,22 @@ "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", "@types/react": "^16.14.20", + "@typescript-eslint/eslint-plugin": "^5.40.1", "babel-loader": "^8.2.3", "copy-webpack-plugin": "^6.4.1", "css-loader": "^5.2.7", + "eslint": "^8.26.0", + "eslint-config-standard-with-typescript": "^23.0.0", + "eslint-plugin-import": "^2.26.0", + "eslint-plugin-n": "^15.3.0", + "eslint-plugin-promise": "^6.1.1", + "eslint-plugin-react": "^7.31.10", "html-webpack-plugin": "^4.5.2", "license-webpack-plugin": "^2.3.21", "style-loader": "^2.0.0", "ts-loader": "^8.3.0", - "typescript": "^4.4.4", + "typescript": "^4.8.4", "webpack": "^5.60.0", "webpack-cli": "^4.9.1" } -} +} \ No newline at end of file diff --git a/src/Database.ts b/src/Database.ts index 72ed603..322a4eb 100644 --- a/src/Database.ts +++ b/src/Database.ts @@ -1,208 +1,236 @@ -import {Schema, Document, LeanDocument} from "mongoose"; +import { Schema, Document, LeanDocument } from "mongoose"; import * as mongoose from "mongoose"; -import {promisify} from "util"; -import {randomBytes, pbkdf2} from "crypto"; +import { promisify } from "util"; +import { randomBytes, pbkdf2 } from "crypto"; const pbkdf = promisify(pbkdf2); -const User = mongoose.model("User", new Schema({ - display: String, - email: { - public: Boolean, - text: String, - }, - picture: String, - password: { - hash: Buffer, - salt: Buffer - }, - bio: {type: String, default: ""}, - isOfficer: {type: Boolean, default: false}, - title: {type: String, default: "Member"}, - uuid: String -})); +const User = mongoose.model( + "User", + new Schema({ + display: String, + email: { + public: Boolean, + text: String, + }, + picture: String, + password: { + hash: Buffer, + salt: Buffer, + }, + bio: { type: String, default: "" }, + isOfficer: { type: Boolean, default: false }, + title: { type: String, default: "Member" }, + uuid: String, + }) +); export interface DBUser extends Document { - display: string; - email: string; - picture: string; - password: HashSalt - isOfficer: boolean; - title: string; - uuid: string; + display: string; + email: string; + picture: string; + password: HashSalt; + isOfficer: boolean; + title: string; + uuid: string; } interface HashSalt { - hash: Buffer; - salt: Buffer; + hash: Buffer; + salt: Buffer; } export default class UserDatabase { + // How many iterations pbkdf2 will iterate the password hashing algorithm + private static PW_ITERATIONS = 100000; + // The length of the salt that should be used with every password hash + private static SALT_LENGTH = 64; + // How many bytes will be used to generate a UUID of length 2 times this variable + private static UUID_LENGTH = 32; - // How many iterations pbkdf2 will iterate the password hashing algorithm - private static PW_ITERATIONS = 100000; - // The length of the salt that should be used with every password hash - private static SALT_LENGTH = 64; - // How many bytes will be used to generate a UUID of length 2 times this variable - private static UUID_LENGTH = 32; + /** + * Makes a new UserDatabase + * @param url the mongodb database url to connect to + */ + constructor(url: string) { + mongoose.connect(url); + mongoose.set("returnOriginal", false); + } - /** - * Makes a new UserDatabase - * @param url the mongodb database url to connect to - */ - constructor(url: string) { - mongoose.connect(url); - mongoose.set("returnOriginal", false); - } + // Functions to edit current users + /** + * Changes a user's display name on the website + * @param uuid the UUID of the user + * @param newName the user's new name + */ + public async setName(uuid: string, newName: string) { + await User.findOneAndUpdate({ uuid: uuid }, { name: newName }).exec(); + } + /** + * Gets the display name of a user with a given UUID + * @param uuid the UUID of the user + * @returns the user's display name + */ + public async getName(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .display; + } - // Functions to edit current users - /** - * Changes a user's display name on the website - * @param uuid the UUID of the user - * @param newName the user's new name - */ - public async setName(uuid: string, newName: string) { - await User.findOneAndUpdate({uuid: uuid}, {name: newName}).exec(); - } - /** - * Gets the display name of a user with a given UUID - * @param uuid the UUID of the user - * @returns the user's display name - */ - public async getName(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).display; - } + /** + * Updates a user's display email + * @param uuid the UUID of the user + * @param newEmail the user's new display email + */ + public async setEmail(uuid: string, newEmail: string) { + await User.findOneAndUpdate({ uuid: uuid }, { email: newEmail }).exec(); + } + /** + * Gets the email of a user with a given UUID + * @param uuid the UUID of the user + * @returns the user's email + */ + public async getEmail(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .email; + } - /** - * Updates a user's display email - * @param uuid the UUID of the user - * @param newEmail the user's new display email - */ - public async setEmail(uuid: string, newEmail: string) { - await User.findOneAndUpdate({uuid: uuid}, {email: newEmail}).exec(); - } - /** - * Gets the email of a user with a given UUID - * @param uuid the UUID of the user - * @returns the user's email - */ - public async getEmail(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).email; - } + /** + * Updates a user's password + * @param uuid the UUID of the user + * @param newPassword the user's new password + */ + public async setPassword(uuid: string, newPassword: string) { + let hashsalt = await UserDatabase.hash(newPassword); + await User.findOneAndUpdate( + { uuid: uuid }, + { password: hashsalt } + ).exec(); + } + /** + * Gets the password of a user with a given UUID + * @param uuid the UUID of the user + * @returns the user's password + */ + public async getPasswordHash(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .password.hash; + } - /** - * Updates a user's password - * @param uuid the UUID of the user - * @param newPassword the user's new password - */ - public async setPassword(uuid: string, newPassword: string) { - let hashsalt = await UserDatabase.hash(newPassword); - await User.findOneAndUpdate({uuid: uuid}, {password: hashsalt}).exec(); - } - /** - * Gets the password of a user with a given UUID - * @param uuid the UUID of the user - * @returns the user's password - */ - public async getPasswordHash(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).password.hash; - } + /** + * Updates a member's position + * @param uuid the UUID of the user + * @param newTitle the user's new officer title/position + */ + public async setRank(uuid: string, newTitle: string, isOfficer: boolean) { + await User.findOneAndUpdate( + { uuid: uuid }, + { title: newTitle, isOfficer: isOfficer } + ).exec(); + } + /** + * Gets the title of a user with a given UUID + * @param uuid the UUID of the user + * @returns the user's title + */ + public async getRank(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .title; + } + /** + * Gets whether of a user with a given UUID is an officer + * @param uuid the UUID of the user + * @returns true if the user is an officer + */ + public async isOfficer(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .isOfficer; + } - /** - * Updates a member's position - * @param uuid the UUID of the user - * @param newTitle the user's new officer title/position - */ - public async setRank(uuid: string, newTitle: string, isOfficer: boolean) { - await User.findOneAndUpdate({uuid: uuid}, {title: newTitle, isOfficer: isOfficer}).exec(); - } - /** - * Gets the title of a user with a given UUID - * @param uuid the UUID of the user - * @returns the user's title - */ - public async getRank(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).title; - } - /** - * Gets whether of a user with a given UUID is an officer - * @param uuid the UUID of the user - * @returns true if the user is an officer - */ - public async isOfficer(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).isOfficer; - } + /** + * Sets the user's new profile picture + * @param uuid the UUID of the user + * @param newPic the link to the new URL of the profile picture + */ + public async setPicture(uuid: string, newPic: string) { + await User.findOneAndUpdate({ uuid: uuid }, { picture: newPic }).exec(); + } + /** + * Gets the profile picture of a user with a given UUID + * @param uuid the UUID of the user + * @returns the user's profile picture + */ + public async getPicture(uuid: string): Promise { + return ((await User.findOne({ uuid: uuid }).lean().exec()) as DBUser) + .picture; + } - /** - * Sets the user's new profile picture - * @param uuid the UUID of the user - * @param newPic the link to the new URL of the profile picture - */ - public async setPicture(uuid: string, newPic: string) { - await User.findOneAndUpdate({uuid: uuid}, {picture: newPic}).exec(); - } - /** - * Gets the profile picture of a user with a given UUID - * @param uuid the UUID of the user - * @returns the user's profile picture - */ - public async getPicture(uuid: string): Promise { - return (await User.findOne({uuid: uuid}).lean().exec() as DBUser).picture; - } + public async getUser(uuid: string): Promise { + return User.findOne({ uuid: uuid }).exec() as Promise; + } - public async getUser(uuid: string): Promise { - return User.findOne({uuid: uuid}).exec() as Promise; - } + // User creation and deletion functions + /** + * Deletes a user with the given UUID + * @param uuid the UUID of the user + */ + public async deleteUser(uuid: string) { + await User.findOneAndDelete({ uuid: uuid }).exec(); + } - // User creation and deletion functions - /** - * Deletes a user with the given UUID - * @param uuid the UUID of the user - */ - public async deleteUser(uuid: string) { - await User.findOneAndDelete({uuid: uuid}).exec(); - } + /** + * Makes a new user and adds it to the database + * @param display the user's display name + * @param email the user's display email + * @param picture the user's picture + * @param password the user's plaintext password + */ + public async makeNewUser( + display: string, + email: string, + picture: string, + password: string, + title?: string, + isOfficer?: boolean + ): Promise { + let encrypted = await UserDatabase.hash(password); + await new User({ + display: display, + email: email, + picture: picture, + password: encrypted, + uuid: UserDatabase.genUUID(), + isOfficer: !!isOfficer, + title: title ? title : "Member", + }).save(); + } - /** - * Makes a new user and adds it to the database - * @param display the user's display name - * @param email the user's display email - * @param picture the user's picture - * @param password the user's plaintext password - */ - public async makeNewUser(display: string, email: string, picture: string, password: string, title?: string, isOfficer?: boolean): Promise { - let encrypted = await UserDatabase.hash(password); - await (new User({ - display: display, - email: email, - picture: picture, - password: encrypted, - uuid: UserDatabase.genUUID(), - isOfficer: !!isOfficer, - title: title ? title : "Member" - })).save(); - } + // Utility functions + /** + * Hashes a password using a salt of 64 random bytes and pbkdf2 with 100000 iterations + * @param password the password as a string that should be hashed + * @returns the hashed password + */ + public static async hash(password: string): Promise { + let salt = randomBytes(UserDatabase.SALT_LENGTH); + let pass = Buffer.from(String.prototype.normalize(password)); + return { + hash: await pbkdf( + pass, + salt, + UserDatabase.PW_ITERATIONS, + 512, + "sha512" + ), + salt: salt, + }; + } - // Utility functions - /** - * Hashes a password using a salt of 64 random bytes and pbkdf2 with 100000 iterations - * @param password the password as a string that should be hashed - * @returns the hashed password - */ - public static async hash(password: string): Promise { - let salt = randomBytes(UserDatabase.SALT_LENGTH); - let pass = Buffer.from(String.prototype.normalize(password)); - return { - hash: await pbkdf(pass, salt, UserDatabase.PW_ITERATIONS, 512, "sha512"), - salt: salt - }; - } - - /** - * Generates a UUID for a user or anything else - * @returns a random hex string of length 2 * UUID_LENGTH - */ - public static genUUID(): string { - return Array.from(randomBytes(UserDatabase.UUID_LENGTH)) - .map(val=>(val.toString(16).padStart(2,"0"))).join(""); - } -} \ No newline at end of file + /** + * Generates a UUID for a user or anything else + * @returns a random hex string of length 2 * UUID_LENGTH + */ + public static genUUID(): string { + return Array.from(randomBytes(UserDatabase.UUID_LENGTH)) + .map((val) => val.toString(16).padStart(2, "0")) + .join(""); + } +} diff --git a/src/index.ts b/src/index.ts index 49a26b7..632563c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,121 +1,129 @@ import express from "express"; -import {Request, Response} from "express"; +import { Request, Response } from "express"; import * as path from "path"; import * as fs from "fs"; import UserDatabase from "./Database"; interface Website { - [key: string]: string; - sitename: string; - title: string; - description: string; - jsfile: string; - cssfile: string; - themecolor: string; + [key: string]: string; + sitename: string; + title: string; + description: string; + jsfile: string; + cssfile: string; + themecolor: string; } -const app = express(); -const template = fs.readFileSync(path.join(__dirname, "public/template.html")).toString(); -const websites = [{ - sitename: "index", - title: "IEEE at UCSD", - description: "", - jsfile: "js/index.js", - cssfile: "css/styles.css", - themecolor: "" -}, -{ - sitename: "events", - title: "IEEE at UCSD", - description: "", - jsfile: "js/events.js", - cssfile: "css/styles.css", - themecolor: "" -}, -{ - sitename: "projects", - title: "IEEE at UCSD", - description: "", - jsfile: "js/projects.js", - cssfile: "css/styles.css", - themecolor: "" -}, -{ - sitename: "committees", - title: "IEEE at UCSD", - description: "", - jsfile: "js/committees.js", - cssfile: "css/styles.css", - themecolor: "" -}, -{ - sitename: "contact", - title: "IEEE at UCSD", - description: "", - jsfile: "js/index.js", - cssfile: "css/styles.css", - themecolor: "" -} +const APP = express(); +const TEMPLATE = fs + .readFileSync(path.join(__dirname, "public/template.html")) + .toString(); +const WEBSITES = [ + { + sitename: "index", + title: "IEEE at UCSD", + description: "", + jsfile: "js/index.js", + cssfile: "css/styles.css", + themecolor: "", + }, + { + sitename: "events", + title: "IEEE at UCSD", + description: "", + jsfile: "js/events.js", + cssfile: "css/styles.css", + themecolor: "", + }, + { + sitename: "projects", + title: "IEEE at UCSD", + description: "", + jsfile: "js/projects.js", + cssfile: "css/styles.css", + themecolor: "", + }, + { + sitename: "committees", + title: "IEEE at UCSD", + description: "", + jsfile: "js/committees.js", + cssfile: "css/styles.css", + themecolor: "", + }, + { + sitename: "contact", + title: "IEEE at UCSD", + description: "", + jsfile: "js/index.js", + cssfile: "css/styles.css", + themecolor: "", + }, ] as Website[]; const PORT = 9000; // Make the public directory traversible to people online -app.use(express.static(path.join(__dirname, "public"))); +APP.use(express.static(path.join(__dirname, "public"))); // Put the cookies as a variable in the request -app.use((req: Request, res: Response, next: any)=>{ - req.cookies = req.headers.cookie; - next(); +APP.use((req: Request, res: Response, next: any) => { + req.cookies = req.headers.cookie; + next(); }); // Receive json post requests and urlencoded requests -app.use(express.json()); -app.use(express.urlencoded({extended: true})); +APP.use(express.json()); +APP.use(express.urlencoded({ extended: true })); // Send main page -app.get("/", (req: Request, res: Response) => { - respond(res, "index"); +APP.get("/", (req: Request, res: Response) => { + respond(res, "index"); }); -app.get("/events", (req: Request, res: Response) => { - respond(res, "events"); +APP.get("/events", (req: Request, res: Response) => { + respond(res, "events"); }); -app.get("/projects", (req: Request, res: Response) => { - respond(res, "projects"); +APP.get("/projects", (req: Request, res: Response) => { + respond(res, "projects"); }); -app.get("/committees", (req: Request, res: Response) => { - respond(res, "committees"); +APP.get("/committees", (req: Request, res: Response) => { + respond(res, "committees"); }); -app.get("/contact", (req: Request, res: Response) => { - respond(res, "contact"); +APP.get("/contact", (req: Request, res: Response) => { + respond(res, "contact"); }); /** * Utility functions for above methods */ function respond(res: any, filename: string) { - res.set({ - "Content-Type": "text/html" - }); - res.send(generatePage(filename)); + res.set({ + "Content-Type": "text/html", + }); + res.send(generatePage(filename)); } function generatePage(name: string): string { - let site = websites.find(e=>e.sitename===name); - let html = template; - for (let key of Object.keys(site)) { - html = html.replace(new RegExp("\\$" + key.toUpperCase()), site[key]); - } - return html; + let site = WEBSITES.find((e) => e.sitename === name); + let html = TEMPLATE; + for (let key of Object.keys(site)) { + html = html.replace(new RegExp("\\$" + key.toUpperCase()), site[key]); + } + return html; } function generateFilePages() { - for (let site of websites) { - let html = generatePage(site.sitename); - fs.writeFileSync(require("path").join(__dirname, "public/", `${site.sitename}.html`), html); - } + for (let site of WEBSITES) { + let html = generatePage(site.sitename); + fs.writeFileSync( + require("path").join(__dirname, "public/", `${site.sitename}.html`), + html + ); + } } if (process.argv[2] === "generate") { - generateFilePages(); + generateFilePages(); } else { - app.listen(PORT, "127.0.0.1"); -} \ No newline at end of file + APP.listen(PORT, () => { + console.log(`Listening on port ${PORT}`); + }); +} diff --git a/src/public/Config.ts b/src/public/Config.ts index 0784faf..c4a4a03 100644 --- a/src/public/Config.ts +++ b/src/public/Config.ts @@ -1,171 +1,237 @@ // The links that are on the top nav bar that link to a lowercase version of their page -export const ACTIVE_PAGES = [{ - name: "Home", - url: "/" -}, { - name: "Events", - url: "/events" -}, { - name: "Projects", - url: "/projects" -}, { - name: "Committees", - url: "/committees" -}, { - name: "Contact Us", - url: "/contact" -}]; +export const ACTIVE_PAGES = [ + { + name: "Home", + url: "/", + }, + { + name: "Events", + url: "/events", + }, + { + name: "Projects", + url: "/projects", + }, + { + name: "Committees", + url: "/committees", + }, + { + name: "Contact Us", + url: "/contact", + }, +]; + // Urls of team photos that will go in the "About" slideshow export const TEAM_PHOTOS: string[] = []; export const PROJECT_SPACE: string[] = []; export const EVENTS: any[] = []; +export const SOCIALS = [ + { + icon: "img/disc.svg", + url: "https://discord.gg/XxfjqZSjca", + message: "Join our server", + }, + { + icon: "img/fab.svg", + url: "https://www.facebook.com/ieeeucsd", + message: "ieeeucsd", + }, + { + icon: "img/inst.svg", + url: "https://www.instagram.com/ieee.ucsd", + message: "@ieeeucsd", + }, +]; +export const EMAIL = [ + { + icon: "img/email.svg", + url: "mailto:ieee@eng.ucsd.edu", + message: "ieee@eng.ucsd.edu", + }, +]; +export const EMAIL_WHITE = [ + { + icon: "img/email_white.svg", + url: "mailto:ieee@eng.ucsd.edu", + message: "ieee@eng.ucsd.edu", + }, +]; -export const SOCIALS = [{ - icon: "img/disc.svg", - url: "https://discord.gg/XxfjqZSjca", - message: "Join our server" -}, { - icon: "img/fab.svg", - url: "https://www.facebook.com/ieeeucsd", - message: "ieeeucsd" -}, { - icon: "img/inst.svg", - url: "https://www.instagram.com/ieee.ucsd", - message: "@ieeeucsd" -}]; -export const EMAIL = [{ - icon: "img/email.svg", - url: "mailto:ieee@eng.ucsd.edu", - message: "ieee@eng.ucsd.edu" -}]; -export const EMAIL_WHITE = [{ - icon: "img/email_white.svg", - url: "mailto:ieee@eng.ucsd.edu", - message: "ieee@eng.ucsd.edu" -}] +export const SOCIALS_WHITE = [ + { + icon: "img/disc_white.svg", + url: "https://discord.gg/XxfjqZSjca", + message: "Join our server", + }, + { + icon: "img/fab_white.svg", + url: "https://www.facebook.com/ieeeucsd", + message: "ieeeucsd", + }, + { + icon: "img/inst_white.svg", + url: "https://www.instagram.com/ieee.ucsd", + message: "@ieeeucsd", + }, +]; -export const SOCIALS_WHITE = [{ - icon: "img/disc_white.svg", - url: "https://discord.gg/XxfjqZSjca", - message: "Join our server" -}, { - icon: "img/fab_white.svg", - url: "https://www.facebook.com/ieeeucsd", - message: "ieeeucsd" -}, { - icon: "img/inst_white.svg", - url: "https://www.instagram.com/ieee.ucsd", - message: "@ieeeucsd" -}]; -export const OFFICERS = [{ - name: "Darin Tsui", - position: "Chair", - photo: "img/officers/darin.jpg", - email: "email@ucsd.edu" -}, { - name: "Brigette Hacia", - position: "Vice Chair Internal", - photo: "img/officers/brigette.jpg", - email: "email@ucsd.edu" -}, { - name: "Tasnia Jamal", - position: "Vice Chair Events", - photo: "img/officers/tasnia.jpg", - email: "email@ucsd.edu" -}, { - name: "Kevin Chang", - position: "Vice Chair Projects", - photo: "img/officers/kevin.jpg", - email: "email@ucsd.edu" -}, { - name: "Niklas Chang", - position: "Events Coordinator", - photo: "img/officers/niklas.jpg", - email: "email@ucsd.edu" -}, { - name: "Tien Vu", - position: "Vice Chair External", - photo: "img/officers/tien.jpg", - email: "email@ucsd.edu" -}, { - name: "Arjun Sampath", - position: "Vice Chair Finance", - photo: "img/officers/arjun.jpg", - email: "email@ucsd.edu" -}, { - name: "Derek Nguyen", - position: "Project Space Chair", - photo: "img/officers/derek.jpg", - email: "email@ucsd.edu" -}, { - name: "Mohak Vaswani", - position: "Technical Chair", - photo: "img/officers/mohak.jpg", - email: "email@ucsd.edu" -}, { - name: "Parisa Shahabi", - position: "Social Chair", - photo: "img/officers/parisa.jpg", - email: "email@ucsd.edu" -}, { - name: "Vuong Bui", - position: "Professional Chair", - photo: "img/officers/vuong.jpg", - email: "email@ucsd.edu" -}, { - name: "Jason Liang", - position: "Professional Chair", - photo: "img/officers/jason.jpg", - email: "email@ucsd.edu" -}, { - name: "Daniel Chen", - position: "Outreach Chair", - photo: "img/officers/daniel.jpg", - email: "email@ucsd.edu" -}, { - name: "Dennis Liang", - position: "Outreach Chair", - photo: "img/officers/dennis.jpg", - email: "email@ucsd.edu" -}, { - name: "Yash Puneet", - position: "Robocup Chair", - photo: "img/officers/yash.jpg", - email: "email@ucsd.edu" -}, { - name: "Rafaella Gomes", - position: "Robocup Chair", - photo: "img/officers/rafaella.jpg", - email: "email@ucsd.edu" -}, { - name: "Josh Lapidario", - position: "Quarterly Projects Chair", - photo: "img/officers/josh.jpg", - email: "email@ucsd.edu" -}, { - name: "Jiliana Tiu", - position: "Webmaster", - photo: "img/officers/jiliana.jpg", - email: "email@ucsd.edu" -}, { - name: "Stephanie Xu", - position: "PR Chair - Graphics", - photo: "img/officers/stephanie.jpg", - email: "email@ucsd.edu" -}, { - name: "Sankalp Kaushik", - position: "PR Chair - Media", - photo: "img/officers/sankalp.jpg", - email: "email@ucsd.edu" -}, { - name: "Matthew Mikhailov", - position: "Supercomputing Chair", - photo: "img/officers/temp.png", - email: "email@ucsd.edu" -}, { - name: "Raymond Wang", - position: "Webmaster", - photo: "img/officers/temp.png", - email: "raymond@ucsd.edu" -}]; \ No newline at end of file +export const OFFICERS = [ + { + name: "Darin Tsui", + position: "Chair", + photo: "img/officers/darin.jpg", + email: "email@ucsd.edu", + }, + { + name: "Brigette Hacia", + position: "Vice Chair Internal", + photo: "img/officers/brigette.jpg", + email: "email@ucsd.edu", + }, + { + name: "Tasnia Jamal", + position: "Vice Chair Events", + photo: "img/officers/tasnia.jpg", + email: "email@ucsd.edu", + }, + { + name: "Kevin Chang", + position: "Vice Chair Projects", + photo: "img/officers/kevin.jpg", + email: "email@ucsd.edu", + }, + { + name: "Arjun Sampath", + position: "Vice Chair Finance", + photo: "img/officers/arjun.jpg", + email: "email@ucsd.edu", + }, + { + name: "Niklas Chang", + position: "Events Coordinator", + photo: "img/officers/niklas.jpg", + email: "email@ucsd.edu", + }, + { + name: "Tien Vu", + position: "Vice Chair External", + photo: "img/officers/tien.jpg", + email: "email@ucsd.edu", + }, + { + name: "Derek Nguyen", + position: "Project Space Chair", + photo: "img/officers/derek.jpg", + email: "email@ucsd.edu", + }, + { + name: "Rafaella Gomes", + position: "Robocup Chair", + photo: "img/officers/rafaella.jpg", + email: "email@ucsd.edu", + }, + { + name: "Yash Puneet", + position: "Robocup Chair", + photo: "img/officers/yash.jpg", + email: "email@ucsd.edu", + }, + { + name: "Matthew Mikhailov", + position: "Supercomputing Chair", + photo: "img/officers/temp.png", + email: "email@ucsd.edu", + }, + { + name: "Josh Lapidario", + position: "Quarterly Projects Chair", + photo: "img/officers/josh.jpg", + email: "email@ucsd.edu", + }, + { + name: "Sanh Nguyen", + position: "Quarterly Projects Chair", + photo: "img/officers/temp.png", + email: "email@ucsd.edu", + }, + { + name: "Vuong Bui", + position: "Professional Chair", + photo: "img/officers/vuong.jpg", + email: "email@ucsd.edu", + }, + { + name: "Jason Liang", + position: "Professional Chair", + photo: "img/officers/jason.jpg", + email: "email@ucsd.edu", + }, + { + name: "Mohak Vaswani", + position: "Technical Chair", + photo: "img/officers/mohak.jpg", + email: "email@ucsd.edu", + }, + { + name: "Yusuf Morsi", + position: "Technical Chair", + photo: "img/officers/temp.png", + email: "email@ucsd.edu", + }, + { + name: "Shaun Garcia", + position: "Technical Chair", + photo: "img/officers/temp.png", + email: "email@ucsd.edu", + }, + { + name: "Dennis Liang", + position: "Outreach Chair", + photo: "img/officers/dennis.jpg", + email: "email@ucsd.edu", + }, + { + name: "Daniel Chen", + position: "Outreach Chair", + photo: "img/officers/daniel.jpg", + email: "email@ucsd.edu", + }, + { + name: "Parisa Shahabi", + position: "Social Chair", + photo: "img/officers/parisa.jpg", + email: "email@ucsd.edu", + }, + { + name: "Matthew Yik", + position: "Social Chair", + photo: "img/officers/temp.png", + email: "email@ucsd.edu", + }, + { + name: "Jiliana Tiu", + position: "Webmaster", + photo: "img/officers/jiliana.jpg", + email: "email@ucsd.edu", + }, + { + name: "Raymond Wang", + position: "Webmaster", + photo: "img/officers/temp.png", + email: "raymond@ucsd.edu", + }, + { + name: "Sankalp Kaushik", + position: "PR Chair - Media", + photo: "img/officers/sankalp.jpg", + email: "email@ucsd.edu", + }, + { + name: "Stephanie Xu", + position: "PR Chair - Graphics", + photo: "img/officers/stephanie.jpg", + email: "email@ucsd.edu", + }, +]; diff --git a/src/public/committees.tsx b/src/public/committees.tsx index 428df50..f3832ba 100644 --- a/src/public/committees.tsx +++ b/src/public/committees.tsx @@ -1,7 +1,7 @@ import * as ReactDom from "react-dom"; import * as React from "react"; import TopBar from "./components/TopBar"; -import {ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS} from "./Config"; +import { ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS } from "./Config"; import Splash from "./components/Splash"; import DefaultSection from "./components/DefaultSection"; import InvolveBox from "./components/InvolveBox"; @@ -13,46 +13,81 @@ interface MainProps {} interface MainState {} class Main extends React.Component { - constructor(props: MainProps) { - super(props); - this.state = {}; - } - public render() { - return <> - - - - - -
- - - - - -
-
- -
- -
{ - [...EMAIL, ...SOCIALS].map(n => ( - - )) - }
-
- - - -
+ constructor(props: MainProps) { + super(props); + this.state = {}; + } + public render() { + return ( + <> + + + + +
+ + + + + +
+
-
- ; - } +
+ +
+ {[...EMAIL, ...SOCIALS].map((n) => ( + + ))} +
+
+ + + +
+ +
+ + ); + } } ReactDom.render(
, document.getElementById("root")); -export default {}; \ No newline at end of file +export default {}; diff --git a/src/public/components/Carousel.tsx b/src/public/components/Carousel.tsx index 602dbd8..e96973f 100644 --- a/src/public/components/Carousel.tsx +++ b/src/public/components/Carousel.tsx @@ -1,57 +1,81 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; import { CarouselItemProps } from "./CarouselItem"; import CarouselPage from "./CarouselPage"; interface CarouselProps { - items: CarouselItemProps[]; - itemsPerPage: number; + items: CarouselItemProps[]; + itemsPerPage: number; } interface CarouselState { - page: number; + page: number; } export default class Carousel extends Component { - constructor(props: CarouselProps) { - super(props); - this.state = { - page: 0 - }; - } + constructor(props: CarouselProps) { + super(props); + this.state = { + page: 0, + }; + } - private prevPage() { - this.setState({page: this.state.page - 1 < 0 ? 0 : this.state.page - 1}); - } + private prevPage() { + this.setState({ + page: this.state.page - 1 < 0 ? 0 : this.state.page - 1, + }); + } - private nextPage() { - this.setState({ page: this.state.page + 1 > Math.ceil(this.props.items.length / this.props.itemsPerPage) - 1 ? - Math.ceil(this.props.items.length / this.props.itemsPerPage) - 1 : - this.state.page + 1 - }); - } + private nextPage() { + this.setState({ + page: + this.state.page + 1 > + Math.ceil(this.props.items.length / this.props.itemsPerPage) - 1 + ? Math.ceil( + this.props.items.length / this.props.itemsPerPage + ) - 1 + : this.state.page + 1, + }); + } - public render() { - let arr = this.chunkArray(this.props.items); - return
- -
{ - arr.map((items, i)=>( - - )) - }
- -
; - } + public render() { + let arr = this.chunkArray(this.props.items); + return ( +
+ +
+ {arr.map((items, i) => ( + + ))} +
+ +
+ ); + } - private chunkArray(array: CarouselItemProps[]):CarouselItemProps[][] { - let returnArr = [] as CarouselItemProps[][]; - for(let i = 0; i < array.length; i+=this.props.itemsPerPage) { - returnArr.push(array.slice(i, i + this.props.itemsPerPage)); - } - return returnArr; - } -} \ No newline at end of file + private chunkArray(array: CarouselItemProps[]): CarouselItemProps[][] { + let returnArr = [] as CarouselItemProps[][]; + for (let i = 0; i < array.length; i += this.props.itemsPerPage) { + returnArr.push(array.slice(i, i + this.props.itemsPerPage)); + } + return returnArr; + } +} diff --git a/src/public/components/CarouselItem.tsx b/src/public/components/CarouselItem.tsx index e299b11..9b499d1 100644 --- a/src/public/components/CarouselItem.tsx +++ b/src/public/components/CarouselItem.tsx @@ -1,25 +1,30 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; export interface CarouselItemProps { - name: string; - position: string; - email: string; - photo: string; + name: string; + position: string; + email: string; + photo: string; } interface CarouselItemState {} -export default class CarouselItem extends Component { - constructor(props: CarouselItemProps) { - super(props); - this.state = {}; - } +export default class CarouselItem extends Component< + CarouselItemProps, + CarouselItemState +> { + constructor(props: CarouselItemProps) { + super(props); + this.state = {}; + } - public render() { - return
- -
{this.props.name}
-
{this.props.position}
-
; - } + public render() { + return ( +
+ +
{this.props.name}
+
{this.props.position}
+
+ ); + } } diff --git a/src/public/components/CarouselPage.tsx b/src/public/components/CarouselPage.tsx index b3fa00b..e8a8389 100644 --- a/src/public/components/CarouselPage.tsx +++ b/src/public/components/CarouselPage.tsx @@ -1,24 +1,32 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; import CarouselItem, { CarouselItemProps } from "./CarouselItem"; interface CarouselPageProps { - items: CarouselItemProps[]; - visible: boolean; + items: CarouselItemProps[]; + visible: boolean; } interface CarouselPageState {} -export default class CarouselPage extends Component { - constructor(props: CarouselPageProps) { - super(props); - this.state = {}; - } +export default class CarouselPage extends Component< + CarouselPageProps, + CarouselPageState +> { + constructor(props: CarouselPageProps) { + super(props); + this.state = {}; + } - public render() { - return
{ - this.props.items.map(n=>( - - )) - }
; - } + public render() { + return ( +
+ {this.props.items.map((n) => ( + + ))} +
+ ); + } } diff --git a/src/public/components/DefaultSection.tsx b/src/public/components/DefaultSection.tsx index ee7ce15..9d69a71 100644 --- a/src/public/components/DefaultSection.tsx +++ b/src/public/components/DefaultSection.tsx @@ -1,26 +1,37 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; interface DefaultSectionProps { - title: string; - paragraphs?: string[]; - className?: string; + title: string; + paragraphs?: string[]; + className?: string; } interface DefaultSectionState {} -export default class DefaultSection extends Component { - constructor(props: DefaultSectionProps) { - super(props); - this.state = {}; - } +export default class DefaultSection extends Component< + DefaultSectionProps, + DefaultSectionState +> { + constructor(props: DefaultSectionProps) { + super(props); + this.state = {}; + } - public render() { - return
-
{this.props.title}
- {(this.props.paragraphs ? this.props.paragraphs : []).map(n=>( -

{n}

- ))} - {this.props.children} -
; - } + public render() { + return ( +
+
{this.props.title}
+ {(this.props.paragraphs ? this.props.paragraphs : []).map( + (n) => ( +

{n}

+ ) + )} + {this.props.children} +
+ ); + } } diff --git a/src/public/components/Footer.tsx b/src/public/components/Footer.tsx index e790598..d29ae96 100644 --- a/src/public/components/Footer.tsx +++ b/src/public/components/Footer.tsx @@ -1,25 +1,31 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; import SocialCard from "./SocialCard"; -import {EMAIL_WHITE, SOCIALS_WHITE} from "../Config"; +import { EMAIL_WHITE, SOCIALS_WHITE } from "../Config"; interface FooterProps {} interface FooterState {} export default class Footer extends Component { - constructor(props: FooterProps) { - super(props); - this.state = {}; - } + constructor(props: FooterProps) { + super(props); + this.state = {}; + } - public render() { - return
- -
{ - [...EMAIL_WHITE, ...SOCIALS_WHITE].map(n => ( - - )) - }
-
; - } + public render() { + return ( +
+ +
+ {[...EMAIL_WHITE, ...SOCIALS_WHITE].map((n) => ( + + ))} +
+
+ ); + } } diff --git a/src/public/components/InvolveBox.tsx b/src/public/components/InvolveBox.tsx index 8434428..67efb6b 100644 --- a/src/public/components/InvolveBox.tsx +++ b/src/public/components/InvolveBox.tsx @@ -1,24 +1,36 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; interface InvolveBoxProps { - boxTitle: string; - image: string; - description: string; + boxTitle: string; + image: string; + description: string; } interface InvolveBoxState {} -export default class InvolveBox extends Component { - constructor(props: InvolveBoxProps) { - super(props); - this.state = {}; - } +export default class InvolveBox extends Component< + InvolveBoxProps, + InvolveBoxState +> { + constructor(props: InvolveBoxProps) { + super(props); + this.state = {}; + } - public render() { - return
- {this.props.boxTitle} - -
{this.props.description}
-
; - } + public render() { + return ( +
+ + {this.props.boxTitle} + + +
+ {this.props.description} +
+
+ ); + } } diff --git a/src/public/components/SocialCard.tsx b/src/public/components/SocialCard.tsx index f04e985..c007d6b 100644 --- a/src/public/components/SocialCard.tsx +++ b/src/public/components/SocialCard.tsx @@ -1,23 +1,28 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; interface SocialCardProps { - url: string; - image: string; - message: string; + url: string; + image: string; + message: string; } interface SocialCardState {} -export default class SocialCard extends Component { - constructor(props: SocialCardProps) { - super(props); - this.state = {}; - } +export default class SocialCard extends Component< + SocialCardProps, + SocialCardState +> { + constructor(props: SocialCardProps) { + super(props); + this.state = {}; + } - public render() { - return - -
{this.props.message}
-
; - } + public render() { + return ( + + +
{this.props.message}
+
+ ); + } } diff --git a/src/public/components/Splash.tsx b/src/public/components/Splash.tsx index 6e851ee..d70ec12 100644 --- a/src/public/components/Splash.tsx +++ b/src/public/components/Splash.tsx @@ -1,46 +1,56 @@ import * as React from "react"; -import {Component} from "react"; -import {SOCIALS_WHITE} from "../Config"; +import { Component } from "react"; +import { SOCIALS_WHITE } from "../Config"; interface SplashProps { - cta: string; - backgrounds: string[]; - delay: number; + cta: string; + backgrounds: string[]; + delay: number; } interface SplashState { - progress: number; + progress: number; } export default class Splash extends Component { - private interval: number; - constructor(props: SplashProps) { - super(props); - this.state = { - progress: 0 - }; - this.interval = setInterval(this.changeImage.bind(this), this.props.delay) as any as number; - } + private interval: number; + constructor(props: SplashProps) { + super(props); + this.state = { + progress: 0, + }; + this.interval = setInterval( + this.changeImage.bind(this), + this.props.delay + ) as any as number; + } - private changeImage(): void { - if (this.state.progress < this.props.backgrounds.length - 1) { - this.setState({progress: this.state.progress + 1}); - } else { - this.setState({progress: 0}); - } - } + private changeImage(): void { + if (this.state.progress < this.props.backgrounds.length - 1) { + this.setState({ progress: this.state.progress + 1 }); + } else { + this.setState({ progress: 0 }); + } + } - public render() { - return
-
{this.props.cta}
-
{ - SOCIALS_WHITE.map(n=>( - - - - )) - }
-
; - } + public render() { + return ( +
+
{this.props.cta}
+
+ {SOCIALS_WHITE.map((n) => ( + + + + ))} +
+
+ ); + } } diff --git a/src/public/components/TopBar.tsx b/src/public/components/TopBar.tsx index e5d75b6..13d7bd9 100644 --- a/src/public/components/TopBar.tsx +++ b/src/public/components/TopBar.tsx @@ -1,59 +1,82 @@ import * as React from "react"; -import {Component} from "react"; +import { Component } from "react"; interface TopBarProps { - links: { - name: string; - url: string; - }[]; + links: { + name: string; + url: string; + }[]; } interface TopBarState { - showBurger: boolean; - menuVisible: boolean; + showBurger: boolean; + menuVisible: boolean; } export default class TopBar extends Component { - private static HAMBURGER_POINT = 1290; - constructor(props: TopBarProps) { - super(props); - this.state = { - showBurger: this.shouldShowBurger(), - menuVisible: false - }; - window.addEventListener("resize", this.checkResize.bind(this)); - } - private toggleMenu() { - this.setState({menuVisible: !this.state.menuVisible}); - } - private checkResize() { - this.setState({showBurger: this.shouldShowBurger()}); - } - private shouldShowBurger(): boolean { - return window.innerWidth < TopBar.HAMBURGER_POINT; - } + private static HAMBURGER_POINT = 1290; + constructor(props: TopBarProps) { + super(props); + this.state = { + showBurger: this.shouldShowBurger(), + menuVisible: false, + }; + window.addEventListener("resize", this.checkResize.bind(this)); + } + private toggleMenu() { + this.setState({ menuVisible: !this.state.menuVisible }); + } + private checkResize() { + this.setState({ showBurger: this.shouldShowBurger() }); + } + private shouldShowBurger(): boolean { + return window.innerWidth < TopBar.HAMBURGER_POINT; + } - public render() { - return
-
- -
-
-
- -
{ - this.props.links.map(l=>{ - return {l.name} - }) - }
-
-
; - } + public render() { + return ( +
+
+ + + +
+ ≡ +
+
+
+
+ {this.props.links.map((l) => { + return ( + + {l.name} + + ); + })} +
+
+
+ ); + } } diff --git a/src/public/css/fonts.css b/src/public/css/fonts.css index 78bdb5f..42d73fc 100644 --- a/src/public/css/fonts.css +++ b/src/public/css/fonts.css @@ -33,6 +33,7 @@ url('../fonts/roboto-v29-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } + /* montserrat-regular - latin */ @font-face { font-family: 'Montserrat'; diff --git a/src/public/css/styles.css b/src/public/css/styles.css index 643c8de..e6c74dd 100644 --- a/src/public/css/styles.css +++ b/src/public/css/styles.css @@ -1,29 +1,34 @@ -/* Color vars should go here */ +/* Global CSS Properties */ :root { - --main: #00629B; - --accent: #FFCD00; - --secondary: white; - --dark: #2A1A4E; + --main: #00629b; + --accent: #ffcd00; + --secondary: #ffffff; + --dark: #2a1a4e; } * { scrollbar-width: auto; scrollbar-color: var(--main) transparent; } + *::-webkit-scrollbar { width: 0.6em; height: 0.6em; } + *::-webkit-scrollbar-track { background: var(--main); } + *::-webkit-scrollbar-thumb { background-color: var(--secondary); } + html { font-family: "Roboto", sans-serif; font-weight: bold; } + body { margin: 0; } @@ -41,6 +46,7 @@ a:hover { display: flex; flex-direction: column; } + .topbar { display: flex; flex-direction: row; @@ -50,20 +56,24 @@ a:hover { padding: 0.5em; align-items: center; } + .topbar.burger-bar { flex-direction: column; position: relative; } -.topbar.burger-bar > .img-cont { + +.topbar.burger-bar>.img-cont { align-self: flex-start; display: flex; justify-content: space-between; width: 100%; align-items: center; } + .img-cont img { width: 22em; } + .burger { font-size: 2.8em; font-weight: normal; @@ -71,26 +81,31 @@ a:hover { cursor: pointer; margin-right: 0.3em; } + .link-items.burger-time { flex-direction: column; position: absolute; background-color: var(--secondary); width: 10em; - box-shadow: rgba(0,0,0,0.3) 4px 4px 3px 0px; + box-shadow: rgba(0, 0, 0, 0.3) 4px 4px 3px 0px; right: 0; margin-top: 0.36em; } -.link-items.burger-time > a { + +.link-items.burger-time>a { margin: 0; padding: 0.4em 0.75em; } -.link-items.burger-time > a:hover { - background-color: rgba(0,0,0,0.1); + +.link-items.burger-time>a:hover { + background-color: rgba(0, 0, 0, 0.1); } + .navlink { font-size: 1.1em; margin: 0.75em; } + .splash { background-color: var(--main); background-blend-mode: overlay; @@ -104,6 +119,7 @@ a:hover { background-repeat: no-repeat; background-size: cover; } + .call-to-action { font-size: 3.2em; width: 11em; @@ -111,16 +127,20 @@ a:hover { text-align: center; font-family: "Montserrat"; } + .splash-socials { margin-top: 2em; } -.splash-socials > a { + +.splash-socials>a { margin-left: 1.5em; margin-right: 1.5em; } + .splash-socials img { width: 4.7em; } + .default-section { display: flex; align-items: center; @@ -131,28 +151,34 @@ a:hover { padding-top: 2em; padding-bottom: 2em; } + .section-title { font-size: 3em; margin-top: 0.8em; margin-bottom: 0.8em; } -.default-section > p, .project-space > p { + +.default-section>p, +.project-space>p { font-size: 1.8em; width: 22em; color: var(--dark); text-align: center; } -.project-space > p { + +.project-space>p { color: var(--secondary); } -.default-section > p:first-child { + +.default-section>p:first-child { margin-top: 0; } + .project-space { border-radius: 50% 50% 0 0 / 4rem; background-color: var(--main); background-blend-mode: overlay; - background-image: url("../img/backgrounds/ps.png"); + background-image: url("../img/backgrounds/ps.webp"); height: 40em; display: flex; justify-content: center; @@ -161,32 +187,39 @@ a:hover { background-repeat: no-repeat; background-size: cover; } + .project-space a { color: var(--accent); } + .ps-title { font-size: 3em; color: white; margin-bottom: 1em; } + .visit-us { font-size: 2em; margin-bottom: 2em; } + .ex-link { color: var(--accent); font-size: 2em; margin-bottom: 2em; } + .involved { border-radius: 50% 50% 0 0 / 4rem; transform: translateY(-4rem); } + .cards { display: flex; justify-content: space-around; flex-wrap: wrap; } + .involve-card { padding: 1.75em 2.5em; border: var(--main) solid 0.37em; @@ -198,32 +231,41 @@ a:hover { flex-direction: column; margin: 1em; } + .involve-title { font-size: 3em; color: var(--main); margin-bottom: 0.5em; } -.involve-card > img { + +.involve-card>img { width: 20em; margin-bottom: 1em; + border-radius: 0.2em; } + .links { font-size: 1.5em; } + .social-card { display: flex; align-items: center; padding: 1em; width: 25em; } -.social-card > img { + +.social-card>img { width: 4.7em; } + .social-message { font-size: 2em; padding: 0.5em; } -.join-scls, .footer-scls { + +.join-scls, +.footer-scls { display: flex; flex-direction: row; max-width: 55em; @@ -231,6 +273,7 @@ a:hover { flex-wrap: wrap; margin-left: 5em; } + .carousel-item { display: flex; flex-direction: column; @@ -240,45 +283,58 @@ a:hover { border-radius: 1em; margin: 1em; } -.carousel-item > img { + +.carousel-item>img { width: 18.7em; + border-radius: 0.2em; } + .carousel-name { font-size: 2em; } + .carousel-pos { font-style: italic; font-weight: normal; font-size: 1.25em; } + .carousel-email { margin-top: 0.5em; } + .carousel-page { display: flex; - flex-wrap: wrap; + flex-wrap: wrap; justify-content: center; } + .carousel { display: flex; align-items: center; justify-content: center; } + .carousel-left { margin-left: 2em; transform: scaleX(-1); } -.carousel-right, .carousel-left { + +.carousel-right, +.carousel-left { cursor: pointer; width: 4em; } + .carousel-right { margin-right: 2em; } + .contact { border-radius: 0 0 50% 50% / 4rem; transform: translateY(4rem); } + .footer { background-color: var(--main); padding-top: 7em; @@ -288,18 +344,22 @@ a:hover { padding-left: 2em; padding-right: 2em; } + .footer a { color: white; } + .footer-scls { max-width: 30em; font-size: 0.6em; margin-bottom: 2em; } + .footer-scls img { width: 4.7em; } -.footer > img { + +.footer>img { width: 30em; } @@ -309,27 +369,33 @@ a:hover { font-size: 0.85em; } } + @media screen and (max-width: 650px) { html { font-size: 0.8em; } - .footer > img{ + + .footer>img { width: 15em; } } + @media screen and (max-width: 540px) { html { font-size: 0.6em; } + .footer>img { display: none; } } + @media screen and (max-width: 420px) { html { font-size: 0.5em; } } + @media screen and (max-width: 320px) { html { font-size: 0.45em; @@ -337,9 +403,9 @@ a:hover { } #cal { - border:solid 1px #777; + border: solid 1px #777; width: 800px; - height: 600px; + height: 600px; } #calendar { @@ -354,6 +420,6 @@ a:hover { iframe { width: 80vw; - height: 600px; - max-width: 1000px; + height: 600px; + max-width: 1000px; } \ No newline at end of file diff --git a/src/public/events.tsx b/src/public/events.tsx index 4ffd75f..9debb63 100644 --- a/src/public/events.tsx +++ b/src/public/events.tsx @@ -1,7 +1,7 @@ import * as ReactDom from "react-dom"; import * as React from "react"; import TopBar from "./components/TopBar"; -import {ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS} from "./Config"; +import { ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS } from "./Config"; import Splash from "./components/Splash"; import DefaultSection from "./components/DefaultSection"; import InvolveBox from "./components/InvolveBox"; @@ -13,38 +13,59 @@ interface MainProps {} interface MainState {} class Main extends React.Component { - constructor(props: MainProps) { - super(props); - this.state = {}; - } - public render() { - return <> - - + constructor(props: MainProps) { + super(props); + this.state = {}; + } + public render() { + return ( + <> + + - - - + + + - - - + + + -
- -
{ - [...EMAIL, ...SOCIALS].map(n => ( - - )) - }
-
-
+
+ +
+ {[...EMAIL, ...SOCIALS].map((n) => ( + + ))} +
+
+
-
- ; - } +
+ + ); + } } ReactDom.render(
, document.getElementById("root")); -export default {}; \ No newline at end of file +export default {}; diff --git a/src/public/img/backgrounds/committee.png b/src/public/img/backgrounds/committee.png deleted file mode 100644 index 0bfb777..0000000 Binary files a/src/public/img/backgrounds/committee.png and /dev/null differ diff --git a/src/public/img/backgrounds/committee.webp b/src/public/img/backgrounds/committee.webp new file mode 100644 index 0000000..d05a1f1 Binary files /dev/null and b/src/public/img/backgrounds/committee.webp differ diff --git a/src/public/img/backgrounds/fa21qp.png b/src/public/img/backgrounds/fa21qp.png deleted file mode 100644 index 54152b1..0000000 Binary files a/src/public/img/backgrounds/fa21qp.png and /dev/null differ diff --git a/src/public/img/backgrounds/fa21qp.webp b/src/public/img/backgrounds/fa21qp.webp new file mode 100644 index 0000000..3db23ef Binary files /dev/null and b/src/public/img/backgrounds/fa21qp.webp differ diff --git a/src/public/img/backgrounds/fa21social.png b/src/public/img/backgrounds/fa21social.png deleted file mode 100644 index d4c39d5..0000000 Binary files a/src/public/img/backgrounds/fa21social.png and /dev/null differ diff --git a/src/public/img/backgrounds/fa21social.webp b/src/public/img/backgrounds/fa21social.webp new file mode 100644 index 0000000..98931d0 Binary files /dev/null and b/src/public/img/backgrounds/fa21social.webp differ diff --git a/src/public/img/backgrounds/gbm.png b/src/public/img/backgrounds/gbm.png deleted file mode 100644 index d8e3ad3..0000000 Binary files a/src/public/img/backgrounds/gbm.png and /dev/null differ diff --git a/src/public/img/backgrounds/gbm.webp b/src/public/img/backgrounds/gbm.webp new file mode 100644 index 0000000..9a88836 Binary files /dev/null and b/src/public/img/backgrounds/gbm.webp differ diff --git a/src/public/img/backgrounds/micromouse.png b/src/public/img/backgrounds/micromouse.png deleted file mode 100644 index 09724e6..0000000 Binary files a/src/public/img/backgrounds/micromouse.png and /dev/null differ diff --git a/src/public/img/backgrounds/micromouse.webp b/src/public/img/backgrounds/micromouse.webp new file mode 100644 index 0000000..2f9e718 Binary files /dev/null and b/src/public/img/backgrounds/micromouse.webp differ diff --git a/src/public/img/backgrounds/ps.png b/src/public/img/backgrounds/ps.png deleted file mode 100644 index c9204e2..0000000 Binary files a/src/public/img/backgrounds/ps.png and /dev/null differ diff --git a/src/public/img/backgrounds/ps.webp b/src/public/img/backgrounds/ps.webp new file mode 100644 index 0000000..6181c9b Binary files /dev/null and b/src/public/img/backgrounds/ps.webp differ diff --git a/src/public/img/backgrounds/robocar.png b/src/public/img/backgrounds/robocar.png deleted file mode 100644 index 28ca0dd..0000000 Binary files a/src/public/img/backgrounds/robocar.png and /dev/null differ diff --git a/src/public/img/backgrounds/robocar.webp b/src/public/img/backgrounds/robocar.webp new file mode 100644 index 0000000..d7ca59e Binary files /dev/null and b/src/public/img/backgrounds/robocar.webp differ diff --git a/src/public/img/backgrounds/robocarteam.png b/src/public/img/backgrounds/robocarteam.png deleted file mode 100644 index 5a7204c..0000000 Binary files a/src/public/img/backgrounds/robocarteam.png and /dev/null differ diff --git a/src/public/img/backgrounds/robofest.png b/src/public/img/backgrounds/robofest.png deleted file mode 100644 index b4fca1a..0000000 Binary files a/src/public/img/backgrounds/robofest.png and /dev/null differ diff --git a/src/public/img/backgrounds/robofest.webp b/src/public/img/backgrounds/robofest.webp new file mode 100644 index 0000000..a1cedf3 Binary files /dev/null and b/src/public/img/backgrounds/robofest.webp differ diff --git a/src/public/img/backgrounds/sp22qp.png b/src/public/img/backgrounds/sp22qp.png deleted file mode 100644 index cd2fa86..0000000 Binary files a/src/public/img/backgrounds/sp22qp.png and /dev/null differ diff --git a/src/public/img/backgrounds/sp22qp.webp b/src/public/img/backgrounds/sp22qp.webp new file mode 100644 index 0000000..43e19e3 Binary files /dev/null and b/src/public/img/backgrounds/sp22qp.webp differ diff --git a/src/public/img/committees/outreach.jpg b/src/public/img/committees/outreach.jpg deleted file mode 100644 index bc95053..0000000 Binary files a/src/public/img/committees/outreach.jpg and /dev/null differ diff --git a/src/public/img/committees/outreach.webp b/src/public/img/committees/outreach.webp new file mode 100644 index 0000000..cf5e227 Binary files /dev/null and b/src/public/img/committees/outreach.webp differ diff --git a/src/public/img/committees/pr.jpg b/src/public/img/committees/pr.jpg deleted file mode 100644 index 1b07ab6..0000000 Binary files a/src/public/img/committees/pr.jpg and /dev/null differ diff --git a/src/public/img/committees/pr.webp b/src/public/img/committees/pr.webp new file mode 100644 index 0000000..2f69180 Binary files /dev/null and b/src/public/img/committees/pr.webp differ diff --git a/src/public/img/committees/professional.jpg b/src/public/img/committees/professional.jpg deleted file mode 100644 index fc9e90f..0000000 Binary files a/src/public/img/committees/professional.jpg and /dev/null differ diff --git a/src/public/img/committees/professional.webp b/src/public/img/committees/professional.webp new file mode 100644 index 0000000..16c5c01 Binary files /dev/null and b/src/public/img/committees/professional.webp differ diff --git a/src/public/img/committees/social.jpg b/src/public/img/committees/social.jpg deleted file mode 100644 index 7640e90..0000000 Binary files a/src/public/img/committees/social.jpg and /dev/null differ diff --git a/src/public/img/committees/social.webp b/src/public/img/committees/social.webp new file mode 100644 index 0000000..80b73ba Binary files /dev/null and b/src/public/img/committees/social.webp differ diff --git a/src/public/img/committees/technical.jpg b/src/public/img/committees/technical.jpg deleted file mode 100644 index c4a13ee..0000000 Binary files a/src/public/img/committees/technical.jpg and /dev/null differ diff --git a/src/public/img/committees/technical.webp b/src/public/img/committees/technical.webp new file mode 100644 index 0000000..2a2728c Binary files /dev/null and b/src/public/img/committees/technical.webp differ diff --git a/src/public/index.tsx b/src/public/index.tsx index 5f57679..d8b32a8 100644 --- a/src/public/index.tsx +++ b/src/public/index.tsx @@ -1,7 +1,7 @@ import * as ReactDom from "react-dom"; import * as React from "react"; import TopBar from "./components/TopBar"; -import {ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS} from "./Config"; +import { ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS } from "./Config"; import Splash from "./components/Splash"; import DefaultSection from "./components/DefaultSection"; import InvolveBox from "./components/InvolveBox"; @@ -13,50 +13,97 @@ interface MainProps {} interface MainState {} class Main extends React.Component { - constructor(props: MainProps) { - super(props); - this.state = {}; - } - public render() { - return <> - - -
- -
-
-
Join us at the Project Space!
-

The IEEE Project Space is an open-access, collaborative space where students can do homework or get access to basic electronic tools such as soldering stations, breadboard components, and Arduino and Raspberry PI parts!

- Come visit at EBU1-4710! -
- -
- - - -
-
- -
- -
{ - [...EMAIL, ...SOCIALS].map(n => ( - - )) - }
-
- - - -
-
- ; - } + constructor(props: MainProps) { + super(props); + this.state = {}; + } + public render() { + return ( + <> + + +
+ +
+
+
+ Join us at the Project Space! +
+

+ The{" "} + + IEEE Project Space + {" "} + is an open-access, collaborative space where students + can do homework or get access to basic electronic tools + such as soldering stations, breadboard components, and + Arduino and Raspberry PI parts! +

+ + Come visit at EBU1-4710! + +
+ +
+ + + +
+
+ +
+ +
+ {[...EMAIL, ...SOCIALS].map((n) => ( + + ))} +
+
+ + + +
+
+ + ); + } } ReactDom.render(
, document.getElementById("root")); -export default {}; \ No newline at end of file +export default {}; diff --git a/src/public/projects.tsx b/src/public/projects.tsx index 5c86fe1..f2618ed 100644 --- a/src/public/projects.tsx +++ b/src/public/projects.tsx @@ -1,7 +1,7 @@ import * as ReactDom from "react-dom"; import * as React from "react"; import TopBar from "./components/TopBar"; -import {ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS} from "./Config"; +import { ACTIVE_PAGES, SOCIALS, EMAIL, OFFICERS } from "./Config"; import Splash from "./components/Splash"; import DefaultSection from "./components/DefaultSection"; import InvolveBox from "./components/InvolveBox"; @@ -13,48 +13,86 @@ interface MainProps {} interface MainState {} class Main extends React.Component { - constructor(props: MainProps) { - super(props); - this.state = {}; - } - public render() { - return <> - - - - RoboCup website - - - Apply here - - -
- - - -
-
+ constructor(props: MainProps) { + super(props); + this.state = {}; + } + public render() { + return ( + <> + + + + + RoboCup website + + + + + Apply here + + + +
+ + + +
+
-
- -
{ - [...EMAIL, ...SOCIALS].map(n => ( - - )) - }
-
-
+
+ +
+ {[...EMAIL, ...SOCIALS].map((n) => ( + + ))} +
+
+
-
- ; - } +
+ + ); + } } ReactDom.render(
, document.getElementById("root")); -export default {}; \ No newline at end of file +export default {}; diff --git a/src/public/template.html b/src/public/template.html index 8dc91d8..5df27e1 100644 --- a/src/public/template.html +++ b/src/public/template.html @@ -1,5 +1,6 @@ + $TITLE @@ -9,8 +10,10 @@ + -
- +
+ + \ No newline at end of file diff --git a/webpack.config.js b/webpack.config.js index eec7ed7..8ab1e08 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,73 +1,78 @@ const path = require("path"); const CopyPlugin = require("copy-webpack-plugin"); const LicensePlugin = require("license-webpack-plugin").LicenseWebpackPlugin; -const TerserPlugin = require('terser-webpack-plugin'); +const TerserPlugin = require("terser-webpack-plugin"); const fs = require("fs"); module.exports = { - entry: loadEntries("./src/public"), - output: { - path: path.resolve(__dirname, "build/public"), - filename: "./js/[name].js" - }, - module: { - rules: [{ - test: /\.(tsx|ts)$/, - use: "ts-loader" - }, - { - test: /\.(js)$/, - use: "babel-loader" - }, - { - test: /\.css$/, - use: ["style-loader", "css-loader"] - } - ] - }, - resolve: { - extensions: [".tsx", ".ts", ".js"], - }, - mode: "production", - plugins: [ - new CopyPlugin({ - patterns: [{ - from: "./src/public", - to: ".", - globOptions: { - ignore: ["**/*.tsx", "**/*.ts"] - } - } - ], - }), - new LicensePlugin({ - outputFilename: 'third-party-notice.txt' - }) - ], - optimization: { - minimize: true, - minimizer: [ - new TerserPlugin({ - terserOptions: { - output: { - comments: false, - }, - }, - extractComments: false, - }), - ], - }, - //devtool: "source-map" + entry: loadEntries("./src/public"), + output: { + path: path.resolve(__dirname, "build/public"), + filename: "./js/[name].js", + }, + module: { + rules: [ + { + test: /\.(tsx|ts)$/, + use: "ts-loader", + }, + { + test: /\.(js)$/, + use: "babel-loader", + }, + { + test: /\.css$/, + use: ["style-loader", "css-loader"], + }, + ], + }, + resolve: { + extensions: [".tsx", ".ts", ".js"], + }, + mode: "production", + plugins: [ + new CopyPlugin({ + patterns: [ + { + from: "./src/public", + to: ".", + globOptions: { + ignore: ["**/*.tsx", "**/*.ts"], + }, + }, + ], + }), + new LicensePlugin({ + outputFilename: "third-party-notice.txt", + }), + ], + optimization: { + minimize: true, + minimizer: [ + new TerserPlugin({ + terserOptions: { + output: { + comments: false, + }, + }, + extractComments: false, + }), + ], + }, + //devtool: "source-map" + devServer: { + static: "./build/public", + }, }; function loadEntries(dir) { - let files = fs.readdirSync(path.join(__dirname, dir)); - let entries = {}; - files.forEach(file => { - let name = file.match(/^(.*)\.tsx$/); - if (name) { - entries[name[1]] = path.join(__dirname, dir, file); - } - }); - return entries; -} \ No newline at end of file + let files = fs.readdirSync(path.join(__dirname, dir)); + let entries = {}; + files.forEach((file) => { + let name = file.match(/^(.*)\.tsx$/); + if (name) { + entries[name[1]] = path.join(__dirname, dir, file); + } + }); + return entries; +}