From ef52e7189b7cb863e059184e67eb734c5851c3de Mon Sep 17 00:00:00 2001 From: blam Date: Wed, 4 Aug 2021 14:51:06 +0200 Subject: [PATCH] chore: maybe fix types Signed-off-by: blam --- packages/cli/package.json | 1 + packages/cli/src/types.d.ts | 403 +----------------------------------- yarn.lock | 163 +++++---------- 3 files changed, 59 insertions(+), 508 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 03eef30031..e4dc9f440a 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -138,6 +138,7 @@ "@types/rollup-plugin-postcss": "^2.0.0", "@types/tar": "^4.0.3", "@types/webpack": "^5.28.0", + "@types/webpack-dev-server": "^3.11.5", "@types/yarnpkg__lockfile": "^1.1.4", "del": "^6.0.0", "mock-fs": "^4.13.0", diff --git a/packages/cli/src/types.d.ts b/packages/cli/src/types.d.ts index 0ca023def7..5f5580fdbe 100644 --- a/packages/cli/src/types.d.ts +++ b/packages/cli/src/types.d.ts @@ -33,7 +33,7 @@ declare module '@rollup/plugin-yaml'; declare module 'terser-webpack-plugin'; declare module 'react-dev-utils/formatWebpackMessages' { - export default function ( + export default function( stats: any, ): { errors: string[]; @@ -42,7 +42,7 @@ declare module 'react-dev-utils/formatWebpackMessages' { } declare module 'react-dev-utils/openBrowser' { - export default function (url: string): boolean; + export default function(url: string): boolean; } declare module 'react-dev-utils/ModuleScopePlugin' { @@ -260,402 +260,3 @@ declare module 'webpack-node-externals' { } } } - -declare module 'webpack-dev-server' { - import webpack = require('webpack'); - import httpProxyMiddleware = require('http-proxy-middleware'); - import express = require('express'); - import serveStatic = require('serve-static'); - import https = require('https'); - import http = require('http'); - import connectHistoryApiFallback = require('connect-history-api-fallback'); - - interface ListeningApp { - address(): { port?: number | undefined }; - } - - interface ProxyConfigMap { - [url: string]: string | httpProxyMiddleware.Options; - } - - type ProxyConfigArrayItem = { - path?: string | string[] | undefined; - context?: string | string[] | httpProxyMiddleware.Filter | undefined; - } & httpProxyMiddleware.Options; - - type ProxyConfigArray = ProxyConfigArrayItem[]; - - interface Configuration { - /** - * Provides the ability to execute custom middleware after all other - * middleware internally within the server. - */ - after?: - | (( - app: express.Application, - server: WebpackDevServer, - compiler: webpack.Compiler, - ) => void) - | undefined; - /** - * This option allows you to whitelist services that are allowed to - * access the dev server. - */ - allowedHosts?: string[] | undefined; - /** - * Provides the ability to execute custom middleware prior to all - * other middleware internally within the server. - */ - before?: - | (( - app: express.Application, - server: WebpackDevServer, - compiler: webpack.Compiler, - ) => void) - | undefined; - /** - * This option broadcasts the server via ZeroConf networking on start. - */ - bonjour?: boolean | undefined; - /** - * When using inline mode, the console in your DevTools will show you - * messages e.g. before reloading, before an error or when Hot Module - * Replacement is enabled. This may be too verbose. - * - * 'none' and 'warning' are going to be deprecated at the next major - * version. - */ - clientLogLevel?: - | 'silent' - | 'trace' - | 'debug' - | 'info' - | 'warn' - | 'error' - | 'none' - | 'warning' - | undefined; - /** - * Enable gzip compression for everything served. - */ - compress?: boolean | undefined; - /** - * Tell the server where to serve content from. This is only necessary - * if you want to serve static files. devServer.publicPath will be used - * to determine where the bundles should be served from, and takes - * precedence. - */ - contentBase?: boolean | string | string[] | number | undefined; - /** - * Tell the server at what URL to serve `devServer.contentBase`. - * If there was a file `assets/manifest.json`, - * it would be served at `/serve-content-base-at-this-url/manifest.json` - */ - contentBasePublicPath?: string | string[] | undefined; - /** - * When set to true this option bypasses host checking. THIS IS NOT - * RECOMMENDED as apps that do not check the host are vulnerable to DNS - * rebinding attacks. - */ - disableHostCheck?: boolean | undefined; - /** - * This option lets you reduce the compilations in lazy mode. - * By default in lazy mode, every request results in a new compilation. - * With filename, it's possible to only compile when a certain file is requested. - */ - filename?: string | undefined; - /** Adds headers to all responses. */ - headers?: - | { - [key: string]: string; - } - | undefined; - /** - * When using the HTML5 History API, the index.html page will likely - * have to be served in place of any 404 responses. - */ - historyApiFallback?: - | boolean - | connectHistoryApiFallback.Options - | undefined; - /** - * Specify a host to use. By default this is localhost. - */ - host?: string | undefined; - /** - * Enable webpack's Hot Module Replacement feature. - * Note that webpack.HotModuleReplacementPlugin is required to fully - * enable HMR. If webpack or webpack-dev-server are launched with the - * --hot option, this plugin will be added automatically, so you may - * not need to add this to your webpack.config.js. - */ - hot?: boolean | undefined; - /** - * Enables Hot Module Replacement (see devServer.hot) without page - * refresh as fallback in case of build failures. - */ - hotOnly?: boolean | undefined; - /** - * Serve over HTTP/2 using spdy. This option is ignored for Node 10.0.0 - * and above, as spdy is broken for those versions. The dev server will - * migrate over to Node's built-in HTTP/2 once Express supports it. - */ - http2?: boolean | undefined; - /** - * By default dev-server will be served over HTTP. It can optionally be - * served over HTTP/2 with HTTPS. - */ - https?: boolean | https.ServerOptions | undefined; - /** - * The filename that is considered the index file. - */ - index?: string | undefined; - /** - * Tells devServer to inject a client. Setting devServer.injectClient - * to true will result in always injecting a client. It is possible to - * provide a function to inject conditionally - */ - injectClient?: - | boolean - | ((compilerConfig: webpack.Compiler) => boolean) - | undefined; - /** - * Tells devServer to inject a Hot Module Replacement. Setting - * devServer.injectHot to true will result in always injecting. It is - * possible to provide a function to inject conditionally - */ - injectHot?: - | boolean - | ((compilerConfig: webpack.Compiler) => boolean) - | undefined; - /** - * Toggle between the dev-server's two different modes. By default the - * application will be served with inline mode enabled. This means - * that a script will be inserted in your bundle to take care of live - * reloading, and build messages will appear in the browser console. - */ - inline?: boolean | undefined; - /** - * When lazy is enabled, the dev-server will only compile the bundle - * when it gets requested. This means that webpack will not watch any - * file changes. - */ - lazy?: boolean | undefined; - /** - * By default, the dev-server will reload/refresh the page when file - * changes are detected. devServer.hot option must be disabled or - * devServer.watchContentBase option must be enabled in order for - * liveReload to take effect. Disable devServer.liveReload by setting - * it to false - */ - liveReload?: boolean | undefined; - /** - * The object is passed to the underlying webpack-dev-middleware. See - * [documentation](https://github.com/webpack/webpack-dev-middleware#mimetypes) - * for usage notes. - */ - mimeTypes?: - | { - [key: string]: string[]; - } - | { - typeMap?: - | ({ - [key: string]: string[]; - } & { - force: boolean; - }) - | undefined; - } - | undefined; - /** - * With noInfo enabled, messages like the webpack bundle information - * that is shown when starting up and after each save,will be hidden. - * Errors and warnings will still be shown. - */ - noInfo?: boolean | undefined; - /** - * Provides an option to execute a custom function when - * webpack-dev-server starts listening for connections on a port. - */ - onListening?: ((server: WebpackDevServer) => void) | undefined; - /** When open is enabled, the dev server will open the browser. */ - open?: boolean | string | object | undefined; - /** Specify a page to navigate to when opening the browser. */ - openPage?: string | string[] | undefined; - /** - * Shows a full-screen overlay in the browser when there are compiler - * errors or warnings. Disabled by default. - */ - overlay?: - | boolean - | { - warnings?: boolean | undefined; - errors?: boolean | undefined; - } - | undefined; - /** - * When used via the CLI, a path to an SSL .pfx file. If used in - * options, it should be the bytestream of the .pfx file. - */ - pfx?: string | undefined; - /** The passphrase to a SSL PFX file. */ - pfxPassphrase?: string | undefined; - /** Specify a port number to listen for requests on. */ - port?: number | undefined; - /** - * Proxying some URLs can be useful when you have a separate API - * backend development server and you want to send API requests on the - * same domain. - * - * The dev-server makes use of the powerful http-proxy-middleware - * package. Check out its - * [documentation](https://github.com/chimurai/http-proxy-middleware#options) - * for more advanced usages. Note that some of http-proxy-middleware's - * features do not require a target key, e.g. its router feature, but - * you will still need to include a target key in your config here, - * otherwise webpack-dev-server won't pass it along to - * http-proxy-middleware). - */ - proxy?: ProxyConfigMap | ProxyConfigArray | undefined; - /** - * When using inline mode and you're proxying dev-server, the inline - * client script does not always know where to connect to. It will try - * to guess the URL of the server based on window.location, but if that - * fails you'll need to use this. - */ - public?: string | undefined; - /** - * The bundled files will be available in the browser under this path. - * default is '/' - */ - publicPath?: string | undefined; - /** - * With quiet enabled, nothing except the initial startup information - * will be written to the console. This also means that errors or - * warnings from webpack are not visible. - */ - quiet?: boolean | undefined; - /** - * Tells dev-server to use serveIndex middleware when enabled. - * - * serveIndex middleware generates directory listings on viewing - * directories that don't have an index.html file. - */ - serveIndex?: boolean | undefined; - /** - * @deprecated This option is deprecated in favor of devServer.before - * and will be removed in v3.0.0. Here you can access the Express app - * object and add your own custom middleware to it. - */ - setup?: - | ((app: express.Application, server: WebpackDevServer) => void) - | undefined; - /** The Unix socket to listen to (instead of a host). */ - socket?: string | undefined; - /** - * Tells clients connected to devServer to use provided socket host. - */ - sockHost?: string | undefined; - /** - * The path at which to connect to the reloading socket. Default is - * '/sockjs-node' - */ - sockPath?: string | undefined; - /** - * Tells clients connected to devServer to use provided socket port. - */ - sockPort?: string | number | undefined; - /** - * It is possible to configure advanced options for serving static - * files from contentBase. - * - * This only works when using devServer.contentBase as a string. - */ - staticOptions?: serveStatic.ServeStaticOptions | undefined; - /** - * This option lets you precisely control what bundle information gets - * displayed. This can be a nice middle ground if you want some bundle - * information, but not all of it. - */ - stats?: webpack.Configuration['stats'] | undefined; - /** - * transportMode is an experimental option, meaning its usage could - * potentially change without warning. - * - * Providing a string to devServer.transportMode is a shortcut to - * setting both devServer.transportMode.client and - * devServer.transportMode.server to the given string value. - * - * This option allows us either to choose the current devServer - * transport mode for client/server individually or to provide custom - * client/server implementation. This allows to specify how browser or - * other client communicates with the devServer. - * - * The current default mode is 'sockjs'. This mode uses SockJS-node as - * a server, and SockJS-client on the client. - * - * 'ws' mode will become the default mode in the next major devServer - * version. This mode uses ws as a server, and native WebSockets on the - * client. - */ - transportMode?: - | 'sockjs' - | 'ws' - | { - client: object; - server: 'ws'; - } - | { - client: 'ws'; - server: object; - } - | { - client: object; - server: object; - } - | undefined; - /** This option lets the browser open with your local IP. */ - useLocalIp?: boolean | undefined; - /** - * Tell the server to watch the files served by the - * devServer.contentBase option. File changes will trigger a full page - * reload. - */ - watchContentBase?: boolean | undefined; - /** Control options related to watching the files. */ - watchOptions?: webpack.Configuration['watchOptions'] | undefined; - /** Tells devServer to write generated assets to the disk. */ - writeToDisk?: boolean | ((filePath: string) => boolean) | undefined; - } - - export class WebpackDevServer { - listeningApp: WebpackDevServer.ListeningApp; - sockets: NodeJS.EventEmitter[]; - - constructor( - webpack: webpack.Compiler | webpack.MultiCompiler, - config?: WebpackDevServer.Configuration, - ); - - static addDevServerEntrypoints( - webpackOptions: webpack.Configuration | webpack.Configuration[], - config: WebpackDevServer.Configuration, - listeningApp?: WebpackDevServer.ListeningApp, - ): void; - - listen( - port: number, - hostname: string, - callback?: (error?: Error) => void, - ): http.Server; - - listen(port: number, callback?: (error?: Error) => void): http.Server; - - close(callback?: () => void): void; - - sockWrite(sockets: NodeJS.EventEmitter[], type: string, data?: any): void; - } - - export = WebpackDevServer; -} diff --git a/yarn.lock b/yarn.lock index a1adaad977..48fca96a70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1403,24 +1403,6 @@ "@babel/helper-validator-identifier" "^7.14.0" to-fast-properties "^2.0.0" -"@backstage/core-api@^0.2.23": - version "0.2.23" - resolved "https://registry.npmjs.org/@backstage/core-api/-/core-api-0.2.23.tgz#c0ec13407ff7c78d376eb18e9d8e1490d54d995b" - integrity sha512-859IGJ5LpcFaqZOenJNM9eFBKd5lrdBjYst8I0srLCaZkBCshTbUT615G3zoDMDiXZNSm+h4V82kMT4eES9wDw== - dependencies: - "@backstage/config" "^0.1.4" - "@backstage/core-plugin-api" "^0.1.3" - "@backstage/theme" "^0.2.8" - "@material-ui/core" "^4.11.0" - "@material-ui/icons" "^4.9.1" - "@types/prop-types" "^15.7.3" - "@types/react" "^16.9" - prop-types "^15.7.2" - react "^16.12.0" - react-router-dom "6.0.0-beta.0" - react-use "^17.2.4" - zen-observable "^0.8.15" - "@backstage/core-components@^0.1.3", "@backstage/core-components@^0.1.6": version "0.1.6" resolved "https://registry.npmjs.org/@backstage/core-components/-/core-components-0.1.6.tgz#a66d9af3be61e76ed60d1026dec376b2d97e0a8e" @@ -1466,52 +1448,6 @@ remark-gfm "^1.0.0" zen-observable "^0.8.15" -"@backstage/core@*": - version "0.7.14" - resolved "https://registry.npmjs.org/@backstage/core/-/core-0.7.14.tgz#863844fe40bb6a29bcc2d297e42055633b0e886f" - integrity sha512-W7EMspBXrp1GPALK6+qdJjsvkqcaYGFyoh8/bRAXABIkJpGQGiy4xUZUKDoMhd+OdVHv/mzyyv3fH2yc32J07w== - dependencies: - "@backstage/config" "^0.1.5" - "@backstage/core-api" "^0.2.23" - "@backstage/errors" "^0.1.1" - "@backstage/theme" "^0.2.8" - "@material-ui/core" "^4.11.0" - "@material-ui/icons" "^4.9.1" - "@material-ui/lab" "4.0.0-alpha.45" - "@testing-library/react-hooks" "^3.4.2" - "@types/dagre" "^0.7.44" - "@types/prop-types" "^15.7.3" - "@types/react" "^16.9" - "@types/react-sparklines" "^1.7.0" - "@types/react-text-truncate" "^0.14.0" - classnames "^2.2.6" - clsx "^1.1.0" - d3-selection "^2.0.0" - d3-shape "^2.0.0" - d3-zoom "^2.0.0" - dagre "^0.8.5" - history "^5.0.0" - immer "^9.0.1" - lodash "^4.17.15" - material-table "^1.69.1" - pluralize "^8.0.0" - prop-types "^15.7.2" - qs "^6.9.4" - rc-progress "^3.0.0" - react "^16.12.0" - react-dom "^16.12.0" - react-helmet "6.1.0" - react-hook-form "^6.15.4" - react-markdown "^5.0.2" - react-router "6.0.0-beta.0" - react-router-dom "6.0.0-beta.0" - react-sparklines "^1.7.0" - react-syntax-highlighter "^15.4.3" - react-text-truncate "^0.16.0" - react-use "^17.2.4" - remark-gfm "^1.0.0" - zen-observable "^0.8.15" - "@backstage/plugin-catalog-react@^0.3.0": version "0.3.1" resolved "https://registry.npmjs.org/@backstage/plugin-catalog-react/-/plugin-catalog-react-0.3.1.tgz#d30a063a4ceb4d446310a687d19c987f55824fdb" @@ -5772,6 +5708,14 @@ dependencies: "@types/node" "*" +"@types/connect-history-api-fallback@*": + version "1.3.5" + resolved "https://registry.npmjs.org/@types/connect-history-api-fallback/-/connect-history-api-fallback-1.3.5.tgz#d1f7a8a09d0ed5a57aee5ae9c18ab9b803205dae" + integrity sha512-h8QJa8xSb1WD4fpKBDcATDNGXghFj6/3GRWG6dhmRcu0RX1Ubasur2Uvx5aeEwlf0MwblEC2bMzzMQntxnw/Cw== + dependencies: + "@types/express-serve-static-core" "*" + "@types/node" "*" + "@types/connect@*": version "3.4.33" resolved "https://registry.npmjs.org/@types/connect/-/connect-3.4.33.tgz#31610c901eca573b8713c3330abc6e6b9f588546" @@ -5942,7 +5886,7 @@ resolved "https://registry.npmjs.org/@types/eventsource/-/eventsource-1.1.5.tgz#408e9b45efb176c8bea672ab58c81e7ab00d24bc" integrity sha512-BA9q9uC2PAMkUS7DunHTxWZZaVpeNzDG8lkBxcKwzKJClfDQ4Z59/Csx7HSH/SIqFN2JWh0tAKAM6k/wRR0OZg== -"@types/express-serve-static-core@^4.17.18", "@types/express-serve-static-core@^4.17.21": +"@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.18", "@types/express-serve-static-core@^4.17.21": version "4.17.24" resolved "https://registry.npmjs.org/@types/express-serve-static-core/-/express-serve-static-core-4.17.24.tgz#ea41f93bf7e0d59cd5a76665068ed6aab6815c07" integrity sha512-3UJuW+Qxhzwjq3xhwXm2onQcFHn76frIYVbTu+kn24LFxI+dEhdfISDFovPB8VpEgW8oQCTpRuCe+0zJxB7NEA== @@ -6889,6 +6833,17 @@ resolved "https://registry.npmjs.org/@types/uuid/-/uuid-8.3.0.tgz#215c231dff736d5ba92410e6d602050cce7e273f" integrity sha512-eQ9qFW/fhfGJF8WKHGEHZEyVWfZxrT+6CLIJGBcZPfxUh/+BnEj+UCGYMlr9qZuX/2AltsvwrGqp0LhEW8D0zQ== +"@types/webpack-dev-server@^3.11.5": + version "3.11.5" + resolved "https://registry.npmjs.org/@types/webpack-dev-server/-/webpack-dev-server-3.11.5.tgz#f4a254a3dd0667c8ee4af90d42afdb4ad1d607f3" + integrity sha512-vjsbQBW3fE5FDICkF3w3ZWFRXNwQdKt7JRPLmRy5W0KXlcuew4wgpKWXhgHS71iLNv7Z2PlY9dSSIaYg+bk+9w== + dependencies: + "@types/connect-history-api-fallback" "*" + "@types/express" "*" + "@types/serve-static" "*" + "@types/webpack" "^4" + http-proxy-middleware "^1.0.0" + "@types/webpack-env@^1.15.2", "@types/webpack-env@^1.15.3", "@types/webpack-env@^1.16.0": version "1.16.0" resolved "https://registry.npmjs.org/@types/webpack-env/-/webpack-env-1.16.0.tgz#8c0a9435dfa7b3b1be76562f3070efb3f92637b4" @@ -6903,6 +6858,18 @@ "@types/source-list-map" "*" source-map "^0.6.1" +"@types/webpack@^4": + version "4.41.30" + resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.30.tgz#fd3db6d0d41e145a8eeeafcd3c4a7ccde9068ddc" + integrity sha512-GUHyY+pfuQ6haAfzu4S14F+R5iGRwN6b2FRNJY7U0NilmFAqbsOfK6j1HwuLBAqwRIT+pVdNDJGJ6e8rpp0KHA== + dependencies: + "@types/node" "*" + "@types/tapable" "^1" + "@types/uglify-js" "*" + "@types/webpack-sources" "*" + anymatch "^3.0.0" + source-map "^0.6.0" + "@types/webpack@^4.41.8": version "4.41.27" resolved "https://registry.npmjs.org/@types/webpack/-/webpack-4.41.27.tgz#f47da488c8037e7f1b2dbf2714fbbacb61ec0ffc" @@ -7694,7 +7661,7 @@ anymatch@^2.0.0: micromatch "^3.1.4" normalize-path "^2.1.1" -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.npmjs.org/anymatch/-/anymatch-3.1.2.tgz#c0557c096af32f106198f4f4e2a383537e378716" integrity sha512-P43ePfOAIupkguHUycrc4qJ9kz8ZiuOUijaETwX7THt0Y/GNK7v0aa8rY816xWjZ7rJdA5XdMcpVFTKMq+RvWg== @@ -14435,7 +14402,7 @@ graphql-extensions@^0.15.0: apollo-server-env "^3.1.0" apollo-server-types "^0.9.0" -graphql-language-service-interface@2.8.2, graphql-language-service-interface@^2.8.2: +graphql-language-service-interface@^2.8.2: version "2.8.2" resolved "https://registry.npmjs.org/graphql-language-service-interface/-/graphql-language-service-interface-2.8.2.tgz#b3bb2aef7eaf0dff0b4ea419fa412c5f66fa268b" integrity sha512-otbOQmhgkAJU1QJgQkMztNku6SbJLu/uodoFOYOOtJsizTjrMs93vkYaHCcYnLA3oi1Goj27XcHjMnRCYQOZXQ== @@ -14445,7 +14412,7 @@ graphql-language-service-interface@2.8.2, graphql-language-service-interface@^2. graphql-language-service-utils "^2.5.1" vscode-languageserver-types "^3.15.1" -graphql-language-service-parser@1.9.0, graphql-language-service-parser@^1.9.0: +graphql-language-service-parser@^1.9.0: version "1.9.0" resolved "https://registry.npmjs.org/graphql-language-service-parser/-/graphql-language-service-parser-1.9.0.tgz#79af21294119a0a7e81b6b994a1af36833bab724" integrity sha512-B5xPZLbBmIp0kHvpY1Z35I5DtPoDK9wGxQVRDIzcBaiIvAmlTrDvjo3bu7vKREdjFbYKvWNgrEWENuprMbF17Q== @@ -15036,6 +15003,17 @@ http-proxy-agent@^4.0.0, http-proxy-agent@^4.0.1: agent-base "6" debug "4" +http-proxy-middleware@^1.0.0: + version "1.3.1" + resolved "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-1.3.1.tgz#43700d6d9eecb7419bf086a128d0f7205d9eb665" + integrity sha512-13eVVDYS4z79w7f1+NPllJtOQFx/FdUW4btIvVRMaRlUY9VGstAbo5MOhLEuUgZFRHn3x50ufn25zkj/boZnEg== + dependencies: + "@types/http-proxy" "^1.17.5" + http-proxy "^1.18.1" + is-glob "^4.0.1" + is-plain-obj "^3.0.0" + micromatch "^4.0.2" + http-proxy-middleware@^2.0.0: version "2.0.0" resolved "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-2.0.0.tgz#20d1ac3409199c83e5d0383ba6436b04e7acb9fe" @@ -26672,11 +26650,6 @@ webpack-sources@^1.1.0, webpack-sources@^1.4.0, webpack-sources@^1.4.1, webpack- source-list-map "^2.0.0" source-map "~0.6.1" -webpack-sources@^3.0.1: - version "3.0.2" - resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.0.2.tgz#29942415daf201a06278f8e2b92e44e564a9288e" - integrity sha512-XQ6aGLmqoxZtmpbgwySGhYLNFav1W6+qgMWPGgn6qScxfGrQgMdigkUqZXQ7oB0ydUrvfs9RRyHaSfV153K8Xg== - webpack-sources@^3.2.0: version "3.2.0" resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.0.tgz#b16973bcf844ebcdb3afde32eda1c04d0b90f89d" @@ -26718,36 +26691,7 @@ webpack@^4.44.2: watchpack "^1.7.4" webpack-sources "^1.4.1" -webpack@^5: - version "5.47.0" - resolved "https://registry.npmjs.org/webpack/-/webpack-5.47.0.tgz#3c13862b5d7b428792bfe76c5f67a0f43ba685f8" - integrity sha512-soKLGwcUM1R3YEbJhJNiZzy7T43TnI7ENda/ywfDp9G1mDlDTpO+qfc8I5b0AzMr9xM3jyvQ0n7ctJyiXuXW6Q== - dependencies: - "@types/eslint-scope" "^3.7.0" - "@types/estree" "^0.0.50" - "@webassemblyjs/ast" "1.11.1" - "@webassemblyjs/wasm-edit" "1.11.1" - "@webassemblyjs/wasm-parser" "1.11.1" - acorn "^8.4.1" - browserslist "^4.14.5" - chrome-trace-event "^1.0.2" - enhanced-resolve "^5.8.0" - es-module-lexer "^0.7.1" - eslint-scope "5.1.1" - events "^3.2.0" - glob-to-regexp "^0.4.1" - graceful-fs "^4.2.4" - json-parse-better-errors "^1.0.2" - 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.2.0" - webpack-sources "^3.0.1" - -webpack@^5.48.0: +webpack@^5, webpack@^5.48.0: version "5.48.0" resolved "https://registry.npmjs.org/webpack/-/webpack-5.48.0.tgz#06180fef9767a6fd066889559a4c4d49bee19b83" integrity sha512-CGe+nfbHrYzbk7SKoYITCgN3LRAG0yVddjNUecz9uugo1QtYdiyrVD8nP1PhkNqPfdxC2hknmmKpP355Epyn6A== @@ -27076,10 +27020,10 @@ write-pkg@^4.0.0: type-fest "^0.4.1" write-json-file "^3.2.0" -ws@7.4.5, ws@^7.4.6, ws@^7.5.3: - version "7.5.3" - resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== +ws@7.4.5: + version "7.4.5" + resolved "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" + integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g== ws@^5.2.0: version "5.2.3" @@ -27105,6 +27049,11 @@ ws@^7.2.3, ws@^7.3.1: resolved "https://registry.npmjs.org/ws/-/ws-7.3.1.tgz#d0547bf67f7ce4f12a72dfe31262c68d7dc551c8" integrity sha512-D3RuNkynyHmEJIpD2qrgVkc9DQ23OrN/moAwZX4L8DfvszsJxpjQuUq3LMx6HoYji9fbIOBY18XWBsAux1ZZUA== +ws@^7.5.3: + version "7.5.3" + resolved "https://registry.npmjs.org/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + xcase@^2.0.1: version "2.0.1" resolved "https://registry.npmjs.org/xcase/-/xcase-2.0.1.tgz#c7fa72caa0f440db78fd5673432038ac984450b9"