diff --git a/app/soapbox/features/ui/components/video_modal.tsx b/app/soapbox/features/ui/components/video_modal.tsx index 71a9d4e81..58ddea245 100644 --- a/app/soapbox/features/ui/components/video_modal.tsx +++ b/app/soapbox/features/ui/components/video_modal.tsx @@ -41,6 +41,7 @@ const VideoModal: React.FC = ({ status, account, media, time, onClo link={link} detailed alt={media.description} + visible /> ); diff --git a/package.json b/package.json index 08f16059a..5b4dc1133 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "dev": "${npm_execpath} run start", "build": "npx webpack", "jsdoc": "npx jsdoc -c jsdoc.conf.js", - "manage:translations": "node ./webpack/translationRunner.js", + "manage:translations": "node ./translationRunner.js", "test": "npx cross-env NODE_ENV=test npx jest", "test:coverage": "${npm_execpath} run test --coverage", "test:all": "${npm_execpath} run test:coverage && ${npm_execpath} run lint", @@ -91,6 +91,9 @@ "@types/seedrandom": "^3.0.2", "@types/semver": "^7.3.9", "@types/uuid": "^8.3.4", + "@types/webpack-assets-manifest": "^5.1.0", + "@types/webpack-bundle-analyzer": "^4.6.0", + "@types/webpack-deadcode-plugin": "^0.1.2", "array-includes": "^3.1.5", "autoprefixer": "^10.4.2", "axios": "^1.0.0-alpha.1", @@ -107,7 +110,7 @@ "browserslist": "^4.16.6", "cheerio": "^1.0.0-rc.10", "clsx": "^1.2.1", - "copy-webpack-plugin": "^9.0.1", + "copy-webpack-plugin": "^11.0.0", "core-js": "^3.15.2", "cryptocurrency-icons": "^0.18.0", "css-loader": "^6.7.1", @@ -192,6 +195,7 @@ "terser-webpack-plugin": "^5.2.3", "tiny-queue": "^0.2.1", "ts-loader": "^9.3.0", + "ts-node": "^10.9.1", "tslib": "^2.3.1", "twemoji": "https://github.com/twitter/twemoji#v14.0.2", "typescript": "^4.4.4", diff --git a/webpack/translationRunner.js b/translationRunner.js similarity index 100% rename from webpack/translationRunner.js rename to translationRunner.js diff --git a/tsconfig.json b/tsconfig.json index dba721d72..04ec4a470 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -14,5 +14,10 @@ "experimentalDecorators": true, "esModuleInterop": true, "typeRoots": [ "./types", "./node_modules/@types"] + }, + "ts-node": { + "compilerOptions": { + "module": "CommonJS" + } } } diff --git a/webpack.config.js b/webpack.config.ts similarity index 51% rename from webpack.config.js rename to webpack.config.ts index ea367479e..271dca7fe 100644 --- a/webpack.config.js +++ b/webpack.config.ts @@ -1,13 +1,22 @@ -require('dotenv').config(); +import dotenv from 'dotenv'; + +import type { Configuration } from 'webpack'; + +dotenv.config(); const { NODE_ENV } = process.env; +let configuration: Configuration = {}; + switch (NODE_ENV) { case 'development': case 'production': case 'test': - module.exports = require(`./webpack/${NODE_ENV}`); break; + configuration = require(`./webpack/${NODE_ENV}`).default; + break; default: console.error('ERROR: NODE_ENV must be set to either `development`, `test`, or `production`.'); process.exit(1); } + +export default configuration; \ No newline at end of file diff --git a/webpack/configuration.js b/webpack/configuration.ts similarity index 82% rename from webpack/configuration.js rename to webpack/configuration.ts index f2cc0c7fb..9596cf8e3 100644 --- a/webpack/configuration.js +++ b/webpack/configuration.ts @@ -1,5 +1,5 @@ -const { join } = require('path'); -const { env } = require('process'); +import { join } from 'path'; +import { env } from 'process'; const { FE_SUBDIRECTORY, @@ -21,10 +21,12 @@ const output = { path: join(__dirname, '..', outputDir, FE_SUBDIRECTORY), }; -module.exports = { +const exportEnv = { + NODE_ENV: env.NODE_ENV, +}; + +export { settings, - env: { - NODE_ENV: env.NODE_ENV, - }, + exportEnv as env, output, }; diff --git a/webpack/development.js b/webpack/development.ts similarity index 60% rename from webpack/development.js rename to webpack/development.ts index 934a7b998..1b8593717 100644 --- a/webpack/development.js +++ b/webpack/development.ts @@ -1,13 +1,16 @@ // Note: You must restart bin/webpack-dev-server for changes to take effect console.log('Running in development mode'); // eslint-disable-line no-console -const { join } = require('path'); +import { join } from 'path'; -const { merge } = require('webpack-merge'); +import { merge } from 'webpack-merge'; -const sharedConfig = require('./shared'); +import sharedConfig from './shared'; -const watchOptions = {}; +import type { Configuration } from 'webpack'; +import type { Configuration as DevServerConfiguration, ProxyConfigMap } from 'webpack-dev-server'; + +const watchOptions: Configuration['watchOptions'] = {}; const { DEVSERVER_URL, @@ -36,10 +39,10 @@ const backendEndpoints = [ '/favicon.png', ]; -const makeProxyConfig = () => { +const makeProxyConfig = (): ProxyConfigMap => { const secureProxy = PROXY_HTTPS_INSECURE !== 'true'; - const proxyConfig = {}; + const proxyConfig: ProxyConfigMap = {}; proxyConfig['/api/patron'] = { target: PATRON_URL || DEFAULTS.PATRON_URL, secure: secureProxy, @@ -47,7 +50,7 @@ const makeProxyConfig = () => { }; backendEndpoints.map(endpoint => { proxyConfig[endpoint] = { - target: BACKEND_URL || DEFAULTS.BACKEND_URL, + target: BACKEND_URL, secure: secureProxy, changeOrigin: true, }; @@ -64,13 +67,36 @@ if (process.env.VAGRANT) { const devServerUrl = (() => { try { - return new URL(DEVSERVER_URL); + return new URL(DEVSERVER_URL || DEFAULTS.DEVSERVER_URL); } catch { return new URL(DEFAULTS.DEVSERVER_URL); } })(); -module.exports = merge(sharedConfig, { +const devServer: DevServerConfiguration = { + compress: true, + host: devServerUrl.hostname, + port: devServerUrl.port, + https: devServerUrl.protocol === 'https:', + hot: false, + allowedHosts: 'all', + historyApiFallback: { + disableDotRule: true, + index: join(FE_SUBDIRECTORY, '/'), + }, + headers: { + 'Access-Control-Allow-Origin': '*', + }, + client: { + overlay: true, + }, + static: { + serveIndex: true, + }, + proxy: makeProxyConfig(), +}; + +const configuration: Configuration = { mode: 'development', cache: true, devtool: 'source-map', @@ -90,26 +116,7 @@ module.exports = merge(sharedConfig, { watchOptions, ), - devServer: { - compress: true, - host: devServerUrl.hostname, - port: devServerUrl.port, - https: devServerUrl.protocol === 'https:', - hot: false, - allowedHosts: 'all', - historyApiFallback: { - disableDotRule: true, - index: join(FE_SUBDIRECTORY, '/'), - }, - headers: { - 'Access-Control-Allow-Origin': '*', - }, - client: { - overlay: true, - }, - static: { - serveIndex: true, - }, - proxy: makeProxyConfig(), - }, -}); + devServer, +}; + +export default merge(sharedConfig, configuration); diff --git a/webpack/loaders/git-loader.js b/webpack/loaders/git-loader.js deleted file mode 100644 index 5f003ffec..000000000 --- a/webpack/loaders/git-loader.js +++ /dev/null @@ -1,8 +0,0 @@ -const { resolve } = require('path'); - -// Forces recompile whenever the current commit changes -// Useful for generating the version hash in the UI -module.exports = function(source, map) { - this.addDependency(resolve(__dirname, '../../.git/logs/HEAD')); - this.callback(null, source, map); -}; diff --git a/webpack/loaders/git-loader.ts b/webpack/loaders/git-loader.ts new file mode 100644 index 000000000..67593d935 --- /dev/null +++ b/webpack/loaders/git-loader.ts @@ -0,0 +1,14 @@ +import { resolve } from 'path'; + +import type { LoaderContext } from 'webpack'; + +/** + * Forces recompile whenever the current commit changes. + * Useful for generating the version hash in the UI. + */ +function loader(this: LoaderContext<{}>, content: string) { + this.addDependency(resolve(__dirname, '../../.git/logs/HEAD')); + this.callback(undefined, content); +} + +export default loader; \ No newline at end of file diff --git a/webpack/production.js b/webpack/production.ts similarity index 88% rename from webpack/production.js rename to webpack/production.ts index 1f458ece6..6115b6aa4 100644 --- a/webpack/production.js +++ b/webpack/production.ts @@ -1,18 +1,21 @@ // Note: You must restart bin/webpack-dev-server for changes to take effect console.log('Running in production mode'); // eslint-disable-line no-console -const { join } = require('path'); +import { join } from 'path'; -const OfflinePlugin = require('@lcdp/offline-plugin'); -const { BundleAnalyzerPlugin } = require('webpack-bundle-analyzer'); -const { merge } = require('webpack-merge'); +// @ts-ignore: No types available. +import OfflinePlugin from '@lcdp/offline-plugin'; +import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer'; +import { merge } from 'webpack-merge'; -const sharedConfig = require('./shared'); +import sharedConfig from './shared'; + +import type { Configuration } from 'webpack'; const { FE_SUBDIRECTORY } = require(join(__dirname, '..', 'app', 'soapbox', 'build_config')); -const joinPublicPath = (...paths) => join(FE_SUBDIRECTORY, ...paths); +const joinPublicPath = (...paths: string[]) => join(FE_SUBDIRECTORY, ...paths); -module.exports = merge(sharedConfig, { +const configuration: Configuration = { mode: 'production', devtool: 'source-map', stats: 'errors-warnings', @@ -100,7 +103,7 @@ module.exports = merge(sharedConfig, { // NOTE: This function gets stringified by OfflinePlugin, so don't try // moving it anywhere else or making it depend on anything outside it! // https://github.com/NekR/offline-plugin/blob/master/docs/cache-maps.md - match: (url) => { + match: (url: URL) => { const { pathname } = url; const backendRoutes = [ @@ -140,4 +143,6 @@ module.exports = merge(sharedConfig, { appShell: join(FE_SUBDIRECTORY, '/'), }), ], -}); +}; + +export default merge(sharedConfig, configuration); diff --git a/webpack/rules/assets.js b/webpack/rules/assets.ts similarity index 93% rename from webpack/rules/assets.js rename to webpack/rules/assets.ts index e0a14c250..d8c8e3e18 100644 --- a/webpack/rules/assets.js +++ b/webpack/rules/assets.ts @@ -1,11 +1,13 @@ // Asset modules // https://webpack.js.org/guides/asset-modules/ -const { resolve } = require('path'); +import { resolve } from 'path'; + +import type { RuleSetRule } from 'webpack'; // These are processed in reverse-order // We use the name 'packs' instead of 'assets' for legacy reasons -module.exports = [{ +const rules: RuleSetRule[] = [{ test: /\.(png|svg)/, type: 'asset/resource', include: [ @@ -81,3 +83,5 @@ module.exports = [{ filename: 'packs/images/crypto/[name]-[contenthash:8][ext]', }, }]; + +export default rules; diff --git a/webpack/rules/babel-build-config.js b/webpack/rules/babel-build-config.ts similarity index 71% rename from webpack/rules/babel-build-config.js rename to webpack/rules/babel-build-config.ts index 8b1088fa6..9e2e4e657 100644 --- a/webpack/rules/babel-build-config.js +++ b/webpack/rules/babel-build-config.ts @@ -1,11 +1,13 @@ -const { resolve } = require('path'); +import { resolve } from 'path'; -const { env } = require('../configuration'); +import { env } from '../configuration'; + +import type { RuleSetRule } from 'webpack'; // This is a hack, used to force build_config @preval to recompile // https://github.com/kentcdodds/babel-plugin-preval/issues/19 -module.exports = { +const rule: RuleSetRule = { test: resolve(__dirname, '../../app/soapbox/build_config.js'), use: [ { @@ -18,3 +20,5 @@ module.exports = { }, ], }; + +export default rule; diff --git a/webpack/rules/babel-git.js b/webpack/rules/babel-git.ts similarity index 71% rename from webpack/rules/babel-git.js rename to webpack/rules/babel-git.ts index eac6c9877..eb4d44e7f 100644 --- a/webpack/rules/babel-git.js +++ b/webpack/rules/babel-git.ts @@ -1,11 +1,13 @@ -const { resolve } = require('path'); +import { resolve } from 'path'; -const { env } = require('../configuration'); +import { env } from '../configuration'; + +import type { RuleSetRule } from 'webpack'; // This is a hack, used in conjunction with rules/git-refresh.js // https://github.com/kentcdodds/babel-plugin-preval/issues/19 -module.exports = { +const rule: RuleSetRule = { test: resolve(__dirname, '../../app/soapbox/utils/code.js'), use: [ { @@ -18,3 +20,5 @@ module.exports = { }, ], }; + +export default rule; \ No newline at end of file diff --git a/webpack/rules/babel.js b/webpack/rules/babel.ts similarity index 76% rename from webpack/rules/babel.js rename to webpack/rules/babel.ts index 1272639e9..6a6a46467 100644 --- a/webpack/rules/babel.js +++ b/webpack/rules/babel.ts @@ -1,8 +1,10 @@ -const { join, resolve } = require('path'); +import { join, resolve } from 'path'; -const { env, settings } = require('../configuration'); +import { env, settings } from '../configuration'; -module.exports = { +import type { RuleSetRule } from 'webpack'; + +const rule: RuleSetRule = { test: /\.(js|jsx|mjs|ts|tsx)$/, include: [ settings.source_path, @@ -27,3 +29,5 @@ module.exports = { }, ], }; + +export default rule; \ No newline at end of file diff --git a/webpack/rules/css.js b/webpack/rules/css.ts similarity index 73% rename from webpack/rules/css.js rename to webpack/rules/css.ts index bc1f42c13..e400391e8 100644 --- a/webpack/rules/css.js +++ b/webpack/rules/css.ts @@ -1,6 +1,8 @@ -const MiniCssExtractPlugin = require('mini-css-extract-plugin'); +import MiniCssExtractPlugin from 'mini-css-extract-plugin'; -module.exports = { +import type { RuleSetRule } from 'webpack'; + +const rule: RuleSetRule = { test: /\.s?css$/i, use: [ MiniCssExtractPlugin.loader, @@ -26,3 +28,5 @@ module.exports = { }, ], }; + +export default rule; \ No newline at end of file diff --git a/webpack/rules/git-refresh.js b/webpack/rules/git-refresh.js deleted file mode 100644 index 0b708b746..000000000 --- a/webpack/rules/git-refresh.js +++ /dev/null @@ -1,9 +0,0 @@ -const { resolve } = require('path'); - -// Recompile code.js whenever git changes -module.exports = { - test: resolve(__dirname, '../../app/soapbox/utils/code.js'), - use: { - loader: resolve(__dirname, '../loaders/git-loader.js'), - }, -}; diff --git a/webpack/rules/git-refresh.ts b/webpack/rules/git-refresh.ts new file mode 100644 index 000000000..2633eaded --- /dev/null +++ b/webpack/rules/git-refresh.ts @@ -0,0 +1,13 @@ +import { resolve } from 'path'; + +import type { RuleSetRule } from 'webpack'; + +/** Recompile code.js whenever git changes. */ +const rule: RuleSetRule = { + test: resolve(__dirname, '../../app/soapbox/utils/code.js'), + use: { + loader: resolve(__dirname, '../loaders/git-loader.ts'), + }, +}; + +export default rule; \ No newline at end of file diff --git a/webpack/rules/index.js b/webpack/rules/index.js deleted file mode 100644 index bdf850c6d..000000000 --- a/webpack/rules/index.js +++ /dev/null @@ -1,19 +0,0 @@ -const assets = require('./assets'); -const babel = require('./babel'); -const buildConfig = require('./babel-build-config'); -const git = require('./babel-git'); -const css = require('./css'); -const gitRefresh = require('./git-refresh'); -const nodeModules = require('./node_modules'); - -// Webpack loaders are processed in reverse order -// https://webpack.js.org/concepts/loaders/#loader-features -module.exports = [ - ...assets, - css, - nodeModules, - babel, - git, - gitRefresh, - buildConfig, -]; diff --git a/webpack/rules/index.ts b/webpack/rules/index.ts new file mode 100644 index 000000000..cc8f93c0a --- /dev/null +++ b/webpack/rules/index.ts @@ -0,0 +1,23 @@ +import assets from './assets'; +import babel from './babel'; +import buildConfig from './babel-build-config'; +import git from './babel-git'; +import css from './css'; +import gitRefresh from './git-refresh'; +import nodeModules from './node-modules'; + +import type { RuleSetRule } from 'webpack'; + +// Webpack loaders are processed in reverse order +// https://webpack.js.org/concepts/loaders/#loader-features +const rules: RuleSetRule[] = [ + ...assets, + css, + nodeModules, + babel, + git, + gitRefresh, + buildConfig, +]; + +export default rules; diff --git a/webpack/rules/mark.js b/webpack/rules/mark.js deleted file mode 100644 index e62a526b0..000000000 --- a/webpack/rules/mark.js +++ /dev/null @@ -1,8 +0,0 @@ -if (process.env.NODE_ENV === 'production') { - module.exports = {}; -} else { - module.exports = { - test: /\.js$/, - loader: 'mark-loader', - }; -} diff --git a/webpack/rules/mark.ts b/webpack/rules/mark.ts new file mode 100644 index 000000000..322dabc1b --- /dev/null +++ b/webpack/rules/mark.ts @@ -0,0 +1,14 @@ +import { env } from 'process'; + +import type { RuleSetRule } from 'webpack'; + +let rule: RuleSetRule = {}; + +if (env.NODE_ENV !== 'production') { + rule = { + test: /\.js$/, + loader: 'mark-loader', + }; +} + +export default rule; \ No newline at end of file diff --git a/webpack/rules/node_modules.js b/webpack/rules/node-modules.ts similarity index 75% rename from webpack/rules/node_modules.js rename to webpack/rules/node-modules.ts index aa46fe596..f6f11b041 100644 --- a/webpack/rules/node_modules.js +++ b/webpack/rules/node-modules.ts @@ -1,8 +1,10 @@ -const { join } = require('path'); +import { join } from 'path'; -const { settings, env } = require('../configuration'); +import { env, settings } from '../configuration'; -module.exports = { +import type { RuleSetRule } from 'webpack'; + +const rule: RuleSetRule = { test: /\.(js|mjs)$/, include: /node_modules/, exclude: [ @@ -26,3 +28,5 @@ module.exports = { }, ], }; + +export default rule; \ No newline at end of file diff --git a/webpack/shared.js b/webpack/shared.ts similarity index 78% rename from webpack/shared.js rename to webpack/shared.ts index 8d1d1fcf5..dfcf9b2aa 100644 --- a/webpack/shared.js +++ b/webpack/shared.ts @@ -1,24 +1,24 @@ // Note: You must restart bin/webpack-dev-server for changes to take effect -const fs = require('fs'); -const { join, resolve } = require('path'); +import fs from 'fs'; +import { join, resolve } from 'path'; -const CopyPlugin = require('copy-webpack-plugin'); -const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin'); -const HtmlWebpackHarddiskPlugin = require('html-webpack-harddisk-plugin'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const MiniCssExtractPlugin = require('mini-css-extract-plugin'); -const webpack = require('webpack'); -const AssetsManifestPlugin = require('webpack-assets-manifest'); -const DeadCodePlugin = require('webpack-deadcode-plugin'); +import CopyPlugin from 'copy-webpack-plugin'; +import ForkTsCheckerWebpackPlugin from 'fork-ts-checker-webpack-plugin'; +import HtmlWebpackHarddiskPlugin from 'html-webpack-harddisk-plugin'; +import HtmlWebpackPlugin from 'html-webpack-plugin'; +import MiniCssExtractPlugin from 'mini-css-extract-plugin'; +import webpack, { Configuration } from 'webpack'; +import AssetsManifestPlugin from 'webpack-assets-manifest'; +import DeadCodePlugin from 'webpack-deadcode-plugin'; -const { env, settings, output } = require('./configuration'); -const rules = require('./rules'); +import { env, settings, output } from './configuration'; +import rules from './rules'; const { FE_SUBDIRECTORY, FE_INSTANCE_SOURCE_DIR } = require(join(__dirname, '..', 'app', 'soapbox', 'build_config')); -// Return file as string, or return empty string -const readFile = filename => { +/** Return file as string, or return empty string. */ +const readFile = (filename: string) => { try { return fs.readFileSync(filename, 'utf8'); } catch { @@ -26,8 +26,8 @@ const readFile = filename => { } }; -const makeHtmlConfig = (params = {}) => { - return Object.assign({ +const makeHtmlConfig = (params = {}): HtmlWebpackPlugin.Options => { + const defaults: HtmlWebpackPlugin.Options = { template: 'app/index.ejs', chunksSortMode: 'manual', chunks: ['common', 'locale_en', 'application', 'styles'], @@ -43,10 +43,12 @@ const makeHtmlConfig = (params = {}) => { templateParameters: { snippets: readFile(resolve('custom/snippets.html')), }, - }, params); + }; + + return Object.assign(defaults, params); }; -module.exports = { +const configuration: Configuration = { entry: { application: resolve('app/application.ts'), }, @@ -94,6 +96,7 @@ module.exports = { filename: 'packs/css/[name]-[contenthash:8].css', chunkFilename: 'packs/css/[name]-[contenthash:8].chunk.css', }), + // @ts-ignore new AssetsManifestPlugin({ integrity: false, entrypoints: true, @@ -101,6 +104,7 @@ module.exports = { publicPath: true, }), // https://github.com/MQuy/webpack-deadcode-plugin + // @ts-ignore new DeadCodePlugin({ patterns: [ 'app/**/*', @@ -160,3 +164,5 @@ module.exports = { modules: ['node_modules'], }, }; + +export default configuration; diff --git a/webpack/test.js b/webpack/test.js deleted file mode 100644 index 814801ae5..000000000 --- a/webpack/test.js +++ /dev/null @@ -1,10 +0,0 @@ -// Note: You must restart bin/webpack-dev-server for changes to take effect -console.log('Running in test mode'); // eslint-disable-line no-console - -const { merge } = require('webpack-merge'); - -const sharedConfig = require('./shared'); - -module.exports = merge(sharedConfig, { - mode: 'development', -}); diff --git a/webpack/test.ts b/webpack/test.ts new file mode 100644 index 000000000..2e94a0759 --- /dev/null +++ b/webpack/test.ts @@ -0,0 +1,14 @@ +// Note: You must restart bin/webpack-dev-server for changes to take effect +console.log('Running in test mode'); // eslint-disable-line no-console + +import { merge } from 'webpack-merge'; + +import sharedConfig from './shared'; + +import type { Configuration } from 'webpack'; + +const configuration: Configuration = { + mode: 'development', +}; + +export default merge(sharedConfig, configuration); diff --git a/yarn.lock b/yarn.lock index 5413f3bc1..23934a54c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1377,6 +1377,13 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@cspotcode/source-map-support@^0.8.0": + version "0.8.1" + resolved "https://registry.yarnpkg.com/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz#00629c35a688e05a88b1cda684fb9d5e73f000a1" + integrity sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw== + dependencies: + "@jridgewell/trace-mapping" "0.3.9" + "@discoveryjs/json-ext@^0.5.0": version "0.5.5" resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.5.tgz#9283c9ce5b289a3c4f61c12757469e59377f81f3" @@ -1833,6 +1840,14 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.11.tgz#771a1d8d744eeb71b6adb35808e1a6c7b9b8c8ec" integrity sha512-Fg32GrJo61m+VqYSdRSjRXMjQ06j8YIYfcTqndLYVAaHmroZHLJZCydsWBOTDqXS2v+mjxohBWEMfg97GXmYQg== +"@jridgewell/trace-mapping@0.3.9": + version "0.3.9" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz#6534fd5933a53ba7cbf3a17615e273a0d1273ff9" + integrity sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ== + dependencies: + "@jridgewell/resolve-uri" "^3.0.3" + "@jridgewell/sourcemap-codec" "^1.4.10" + "@jridgewell/trace-mapping@^0.3.0": version "0.3.4" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.4.tgz#f6a0832dffd5b8a6aaa633b7d9f8e8e94c83a0c3" @@ -2371,6 +2386,26 @@ resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== +"@tsconfig/node10@^1.0.7": + version "1.0.9" + resolved "https://registry.yarnpkg.com/@tsconfig/node10/-/node10-1.0.9.tgz#df4907fc07a886922637b15e02d4cebc4c0021b2" + integrity sha512-jNsYVVxU8v5g43Erja32laIDHXeoNvFEpX33OK4d6hljo3jDhCBDhx5dhCCTMWUojscpAagGiRkBKxpdl9fxqA== + +"@tsconfig/node12@^1.0.7": + version "1.0.11" + resolved "https://registry.yarnpkg.com/@tsconfig/node12/-/node12-1.0.11.tgz#ee3def1f27d9ed66dac6e46a295cffb0152e058d" + integrity sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag== + +"@tsconfig/node14@^1.0.0": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node14/-/node14-1.0.3.tgz#e4386316284f00b98435bf40f72f75a09dabf6c1" + integrity sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow== + +"@tsconfig/node16@^1.0.2": + version "1.0.3" + resolved "https://registry.yarnpkg.com/@tsconfig/node16/-/node16-1.0.3.tgz#472eaab5f15c1ffdd7f8628bd4c4f753995ec79e" + integrity sha512-yOlFc+7UtL/89t2ZhjPvvB/DeAr3r+Dq58IgzsFkOAvVC6NMJXmCGjbptdXdR9qsX7pKcTL+s87FtYREi2dEEQ== + "@types/aria-query@^4.2.0": version "4.2.2" resolved "https://registry.yarnpkg.com/@types/aria-query/-/aria-query-4.2.2.tgz#ed4e0ad92306a704f9fb132a0cfcf77486dbe2bc" @@ -2873,11 +2908,21 @@ dependencies: "@types/node" "*" +"@types/source-list-map@*": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@types/source-list-map/-/source-list-map-0.1.2.tgz#0078836063ffaf17412349bba364087e0ac02ec9" + integrity sha512-K5K+yml8LTo9bWJI/rECfIPrGgxdpeNbj+d53lwN4QjW1MCwlkhUms+gtdzigTeUyBr09+u8BwOIY3MXvHdcsA== + "@types/stack-utils@^2.0.0": version "2.0.1" resolved "https://registry.yarnpkg.com/@types/stack-utils/-/stack-utils-2.0.1.tgz#20f18294f797f2209b5f65c8e3b5c8e8261d127c" integrity sha512-Hl219/BT5fLAaz6NDkSuhzasy49dwQS/DSdu4MdggFB8zcXv7vflBI3xp7FEmkmdDkBUI2bPUNeMttp2knYdxw== +"@types/tapable@^1": + version "1.0.8" + resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-1.0.8.tgz#b94a4391c85666c7b73299fd3ad79d4faa435310" + integrity sha512-ipixuVrh2OdNmauvtT51o3d8z12p6LtFW9in7U79der/kwejjdNchQC5UMn5u/KxNoM7VHHOs/l8KS8uHxhODQ== + "@types/testing-library__jest-dom@^5.9.1": version "5.14.3" resolved "https://registry.yarnpkg.com/@types/testing-library__jest-dom/-/testing-library__jest-dom-5.14.3.tgz#ee6c7ffe9f8595882ee7bda8af33ae7b8789ef17" @@ -2890,6 +2935,13 @@ resolved "https://registry.yarnpkg.com/@types/tough-cookie/-/tough-cookie-4.0.2.tgz#6286b4c7228d58ab7866d19716f3696e03a09397" integrity sha512-Q5vtl1W5ue16D+nIaW8JWebSSraJVlK+EthKn7e7UcD4KWsaSJ8BqGPXNaPghgtcn/fhvrN17Tv8ksUsQpiplw== +"@types/uglify-js@*": + version "3.17.0" + resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-3.17.0.tgz#95271e7abe0bf7094c60284f76ee43232aef43b9" + integrity sha512-3HO6rm0y+/cqvOyA8xcYLweF0TKXlAxmQASjbOi49Co51A1N4nR4bEwBgRoD9kNM+rqFGArjKr654SLp2CoGmQ== + dependencies: + source-map "^0.6.1" + "@types/unist@*", "@types/unist@^2.0.0", "@types/unist@^2.0.2": version "2.0.6" resolved "https://registry.yarnpkg.com/@types/unist/-/unist-2.0.6.tgz#250a7b16c3b91f672a24552ec64678eeb1d3a08d" @@ -2905,6 +2957,52 @@ resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc" integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw== +"@types/webpack-assets-manifest@^5.1.0": + version "5.1.0" + resolved "https://registry.yarnpkg.com/@types/webpack-assets-manifest/-/webpack-assets-manifest-5.1.0.tgz#82ae3f8fb5ca306319d58b9cdfc4ad72afbdc6c6" + integrity sha512-XfqZOVP6n220SXYAVyFdPX+6DCGdejVQ/mj2l+eI5D0QL6+GaRTo4rBcmePDDQmVefpKq5Q7Gd4jiYQEjUwntA== + dependencies: + "@types/node" "*" + tapable "^2.2.0" + webpack "^5" + +"@types/webpack-bundle-analyzer@^4.6.0": + version "4.6.0" + resolved "https://registry.yarnpkg.com/@types/webpack-bundle-analyzer/-/webpack-bundle-analyzer-4.6.0.tgz#8863d62d2432126c2b3a9239cafa469215981c24" + integrity sha512-XeQmQCCXdZdap+A/60UKmxW5Mz31Vp9uieGlHB3T4z/o2OLVLtTI3bvTuS6A2OWd/rbAAQiGGWIEFQACu16szA== + dependencies: + "@types/node" "*" + tapable "^2.2.0" + webpack "^5" + +"@types/webpack-deadcode-plugin@^0.1.2": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@types/webpack-deadcode-plugin/-/webpack-deadcode-plugin-0.1.2.tgz#0a9ae8d85ee7e6bd2f14f03085aee632aaa077b3" + integrity sha512-Zxy7Hhi0palMlMtashNAEyp7PsQFcv7bi2sCH2p5uYaYzlv7K29+w3tDZNFdBu1EPedjPU0VYzfK143nozZgVQ== + dependencies: + "@types/webpack" "^4" + +"@types/webpack-sources@*": + version "3.2.0" + resolved "https://registry.yarnpkg.com/@types/webpack-sources/-/webpack-sources-3.2.0.tgz#16d759ba096c289034b26553d2df1bf45248d38b" + integrity sha512-Ft7YH3lEVRQ6ls8k4Ff1oB4jN6oy/XmU6tQISKdhfh+1mR+viZFphS6WL0IrtDOzvefmJg5a0s7ZQoRXwqTEFg== + dependencies: + "@types/node" "*" + "@types/source-list-map" "*" + source-map "^0.7.3" + +"@types/webpack@^4": + version "4.41.32" + resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-4.41.32.tgz#a7bab03b72904070162b2f169415492209e94212" + integrity sha512-cb+0ioil/7oz5//7tZUSwbrSAN/NWHrQylz5cW8G0dWTcF/g+/dSdMlKVZspBYuMAN1+WnwHrkxiRrLcwd0Heg== + dependencies: + "@types/node" "*" + "@types/tapable" "^1" + "@types/uglify-js" "*" + "@types/webpack-sources" "*" + anymatch "^3.0.0" + source-map "^0.6.0" + "@types/ws@^8.5.1": version "8.5.3" resolved "https://registry.yarnpkg.com/@types/ws/-/ws-8.5.3.tgz#7d25a1ffbecd3c4f2d35068d0b283c037003274d" @@ -3229,7 +3327,7 @@ acorn-walk@^7.0.0, acorn-walk@^7.1.1: resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-7.2.0.tgz#0de889a601203909b0fbe07b8938dc21d2e967bc" integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA== -acorn-walk@^8.0.0: +acorn-walk@^8.0.0, acorn-walk@^8.1.1: version "8.2.0" resolved "https://registry.yarnpkg.com/acorn-walk/-/acorn-walk-8.2.0.tgz#741210f2e2426454508853a2f44d0ab83b7f69c1" integrity sha512-k+iyHEuPgSw6SbuDpGQM+06HQUa04DZ3o+F6CSzXMvvI5KMvnaEqXe+YVe555R9nn6GPt404fos4wcgpw12SDA== @@ -3249,6 +3347,11 @@ acorn@^8.5.0: resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.7.1.tgz#0197122c843d1bf6d0a5e83220a788f278f63c30" integrity sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A== +acorn@^8.7.1: + version "8.8.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" + integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== + agent-base@4, agent-base@^4.3.0: version "4.3.0" resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" @@ -3371,7 +3474,7 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== -anymatch@^3.0.3, anymatch@~3.1.2: +anymatch@^3.0.0, anymatch@^3.0.3, anymatch@~3.1.2: version "3.1.2" resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -3379,6 +3482,11 @@ anymatch@^3.0.3, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" +arg@^4.1.0: + version "4.1.3" + resolved "https://registry.yarnpkg.com/arg/-/arg-4.1.3.tgz#269fc7ad5b8e42cb63c896d5666017261c144089" + integrity sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA== + arg@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.1.tgz#eb0c9a8f77786cad2af8ff2b862899842d7b6adb" @@ -4368,17 +4476,16 @@ cookie@0.5.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== -copy-webpack-plugin@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-9.0.1.tgz#b71d21991599f61a4ee00ba79087b8ba279bbb59" - integrity sha512-14gHKKdYIxF84jCEgPgYXCPpldbwpxxLbCmA7LReY7gvbaT555DgeBWBgBZM116tv/fO6RRJrsivBqRyRlukhw== +copy-webpack-plugin@^11.0.0: + version "11.0.0" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-11.0.0.tgz#96d4dbdb5f73d02dd72d0528d1958721ab72e04a" + integrity sha512-fX2MWpamkW0hZxMEg0+mYnA40LTosOSa5TqZ9GYIBzyJa9C3QUaMPSE2xAi/buNr8u89SfD9wHSQVBzrRa/SOQ== dependencies: - fast-glob "^3.2.5" - glob-parent "^6.0.0" - globby "^11.0.3" + fast-glob "^3.2.11" + glob-parent "^6.0.1" + globby "^13.1.1" normalize-path "^3.0.0" - p-limit "^3.1.0" - schema-utils "^3.0.0" + schema-utils "^4.0.0" serialize-javascript "^6.0.0" core-js-compat@^3.21.0, core-js-compat@^3.22.1: @@ -4430,6 +4537,11 @@ cosmiconfig@^7.0.0, cosmiconfig@^7.0.1: path-type "^4.0.0" yaml "^1.10.0" +create-require@^1.1.0: + version "1.1.1" + resolved "https://registry.yarnpkg.com/create-require/-/create-require-1.1.1.tgz#c1d7e8f1e5f6cfc9ff65f9cd352d37348756c333" + integrity sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ== + cross-env@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-env/-/cross-env-7.0.3.tgz#865264b29677dc015ba8418918965dd232fc54cf" @@ -4884,6 +4996,11 @@ diff-sequences@^28.1.1: resolved "https://registry.yarnpkg.com/diff-sequences/-/diff-sequences-28.1.1.tgz#9989dc731266dc2903457a70e996f3a041913ac6" integrity sha512-FU0iFaH/E23a+a718l8Qa/19bF9p06kgE0KipMOMadwa3SjnaElKzPaUC0vnibs6/B/9ni97s61mcejk8W1fQw== +diff@^4.0.1: + version "4.0.2" + resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" + integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== + dir-glob@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" @@ -5132,6 +5249,14 @@ enhanced-resolve@^5.0.0: graceful-fs "^4.2.4" tapable "^2.2.0" +enhanced-resolve@^5.10.0: + version "5.10.0" + resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.10.0.tgz#0dc579c3bb2a1032e357ac45b8f3a6f3ad4fb1e6" + integrity sha512-T0yTFjdpldGY8PmuXXR0PyQ1ufZpEGiHVrp7zHKB7jdR4qlmZHhONVM5AQOAWXuF/w3dnHbEQVrNptJgt7F+cQ== + dependencies: + graceful-fs "^4.2.4" + tapable "^2.2.0" + enhanced-resolve@^5.9.3: version "5.9.3" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-5.9.3.tgz#44a342c012cbc473254af5cc6ae20ebd0aae5d88" @@ -5754,6 +5879,17 @@ fast-glob@^3.1.1, fast-glob@^3.2.5: merge2 "^1.3.0" micromatch "^4.0.4" +fast-glob@^3.2.11: + version "3.2.12" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.12.tgz#7f39ec99c2e6ab030337142da9e0c18f37afae80" + integrity sha512-DVj4CQIYYow0BlaelwK1pHl5n5cRSJfM60UA0zK891sVInoPri2Ekj7+e1CT3/3qxXenpI+nBBmQAcJPJgaj4w== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-glob@^3.2.7, fast-glob@^3.2.9: version "3.2.11" resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" @@ -6115,14 +6251,7 @@ glob-parent@^5.1.2, glob-parent@~5.1.2: dependencies: is-glob "^4.0.1" -glob-parent@^6.0.0: - version "6.0.1" - resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.1.tgz#42054f685eb6a44e7a7d189a96efa40a54971aa7" - integrity sha512-kEVjS71mQazDBHKcsq4E9u/vUzaLcw1A8EtUeydawvIWQCJM0qQ08G1H7/XTjFUulla6XQiDOG6MXSaG0HDKog== - dependencies: - is-glob "^4.0.1" - -glob-parent@^6.0.2: +glob-parent@^6.0.1, glob-parent@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" integrity sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A== @@ -6210,6 +6339,17 @@ globby@^11.0.4: merge2 "^1.4.1" slash "^3.0.0" +globby@^13.1.1: + version "13.1.2" + resolved "https://registry.yarnpkg.com/globby/-/globby-13.1.2.tgz#29047105582427ab6eca4f905200667b056da515" + integrity sha512-LKSDZXToac40u8Q1PQtZihbNdTYSNMuWe+K5l+oa6KgDzSvVrHXlJy40hUP522RjAIoNLJYBJi7ow+rbFpIhHQ== + dependencies: + dir-glob "^3.0.1" + fast-glob "^3.2.11" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^4.0.0" + globjoin@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/globjoin/-/globjoin-0.1.4.tgz#2f4494ac8919e3767c5cbb691e9f463324285d43" @@ -8157,7 +8297,7 @@ make-dir@^3.0.0, make-dir@^3.0.2, make-dir@^3.1.0: dependencies: semver "^6.0.0" -make-error@1.x: +make-error@1.x, make-error@^1.1.1: version "1.3.6" resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== @@ -10430,7 +10570,7 @@ scheduler@^0.20.2: loose-envify "^1.1.0" object-assign "^4.1.1" -schema-utils@*, schema-utils@^3.0, schema-utils@^3.0.0, schema-utils@^3.1.0, schema-utils@^3.1.1: +schema-utils@*, schema-utils@^3.0, schema-utils@^3.1.0, schema-utils@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-3.1.1.tgz#bc74c4b6b6995c1d88f76a8b77bea7219e0c8281" integrity sha512-Y5PQxS4ITlC+EahLuXaY86TXfR7Dc5lw294alXOq86JAHCihAIZfqv8nNCWvaEJvaC51uN9hbLGeV0cFBdH+Fw== @@ -10643,6 +10783,11 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + slice-ansi@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" @@ -10709,6 +10854,11 @@ source-map@^0.6.0, source-map@^0.6.1, source-map@~0.6.0, source-map@~0.6.1: resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== +source-map@^0.7.3: + version "0.7.4" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.4.tgz#a9bbe705c9d8846f4e08ff6765acf0f1b0898656" + integrity sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA== + source-map@~0.7.2: version "0.7.3" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" @@ -11396,6 +11546,25 @@ ts-loader@^9.3.0: micromatch "^4.0.0" semver "^7.3.4" +ts-node@^10.9.1: + version "10.9.1" + resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.1.tgz#e73de9102958af9e1f0b168a6ff320e25adcff4b" + integrity sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw== + dependencies: + "@cspotcode/source-map-support" "^0.8.0" + "@tsconfig/node10" "^1.0.7" + "@tsconfig/node12" "^1.0.7" + "@tsconfig/node14" "^1.0.0" + "@tsconfig/node16" "^1.0.2" + acorn "^8.4.1" + acorn-walk "^8.1.1" + arg "^4.1.0" + create-require "^1.1.0" + diff "^4.0.1" + make-error "^1.1.1" + v8-compile-cache-lib "^3.0.1" + yn "3.1.1" + tsconfig-paths@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.12.0.tgz#19769aca6ee8f6a1a341e38c8fa45dd9fb18899b" @@ -11716,6 +11885,11 @@ uuid@^8.3.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== +v8-compile-cache-lib@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz#6336e8d71965cb3d35a1bbb7868445a7c05264bf" + integrity sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg== + v8-compile-cache@^2.0.3, v8-compile-cache@^2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/v8-compile-cache/-/v8-compile-cache-2.3.0.tgz#2de19618c66dc247dcfb6f99338035d8245a2cee" @@ -11809,6 +11983,14 @@ watchpack@^2.3.1: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2" +watchpack@^2.4.0: + version "2.4.0" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" + integrity sha512-Lcvm7MGST/4fup+ifyKi2hjyIAwcdI4HRgtvTpIUxBRhB+RFtUh8XtDOxUfctVCnhVi+QQj49i91OyvzkJl6cg== + dependencies: + glob-to-regexp "^0.4.1" + graceful-fs "^4.1.2" + wbuf@^1.1.0, wbuf@^1.7.3: version "1.7.3" resolved "https://registry.yarnpkg.com/wbuf/-/wbuf-1.7.3.tgz#c1d8d149316d3ea852848895cb6a0bfe887b87df" @@ -11967,6 +12149,36 @@ webpack-sources@^3.2.3: resolved "https://registry.yarnpkg.com/webpack-sources/-/webpack-sources-3.2.3.tgz#2d4daab8451fd4b240cc27055ff6a0c2ccea0cde" integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== +webpack@^5: + version "5.74.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.74.0.tgz#02a5dac19a17e0bb47093f2be67c695102a55980" + integrity sha512-A2InDwnhhGN4LYctJj6M1JEaGL7Luj6LOmyBHjcI8529cm5p6VXiTIW2sn6ffvEAKmveLzvu4jrihwXtPojlAA== + dependencies: + "@types/eslint-scope" "^3.7.3" + "@types/estree" "^0.0.51" + "@webassemblyjs/ast" "1.11.1" + "@webassemblyjs/wasm-edit" "1.11.1" + "@webassemblyjs/wasm-parser" "1.11.1" + acorn "^8.7.1" + acorn-import-assertions "^1.7.6" + browserslist "^4.14.5" + chrome-trace-event "^1.0.2" + enhanced-resolve "^5.10.0" + es-module-lexer "^0.9.0" + eslint-scope "5.1.1" + events "^3.2.0" + glob-to-regexp "^0.4.1" + graceful-fs "^4.2.9" + json-parse-even-better-errors "^2.3.1" + loader-runner "^4.2.0" + mime-types "^2.1.27" + neo-async "^2.6.2" + schema-utils "^3.1.0" + tapable "^2.1.1" + terser-webpack-plugin "^5.1.3" + watchpack "^2.4.0" + webpack-sources "^3.2.3" + webpack@^5.72.1: version "5.72.1" resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.72.1.tgz#3500fc834b4e9ba573b9f430b2c0a61e1bb57d13" @@ -12249,6 +12461,11 @@ yargs@^17.3.1: y18n "^5.0.5" yargs-parser "^21.0.0" +yn@3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/yn/-/yn-3.1.1.tgz#1e87401a09d767c1d5eab26a6e4c185182d2eb50" + integrity sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q== + yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b"