webpack-dev-server
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -154,3 +154,3 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; } | ||
if (containerElement) { | ||
containerElement.innerHTML = ""; | ||
containerElement.innerHTML = overlayTrustedTypesPolicy ? overlayTrustedTypesPolicy.createHTML("") : ""; | ||
// Everything is ready, call the callback right away. | ||
@@ -157,0 +157,0 @@ callback(containerElement); |
@@ -49,3 +49,3 @@ "use strict"; | ||
server.listen(basePort, host, () => { | ||
// Next line should return AdressInfo because we're calling it after listen() and before close() | ||
// Next line should return AddressInfo because we're calling it after listen() and before close() | ||
const { port } = /** @type {import("net").AddressInfo} */ ( | ||
@@ -52,0 +52,0 @@ server.address() |
{ | ||
"name": "webpack-dev-server", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Serves a webpack app. Updates the browser on changes.", | ||
@@ -28,8 +28,10 @@ "bin": "bin/webpack-dev-server.js", | ||
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different", | ||
"lint:js": "eslint . --cache", | ||
"lint:prettier": "prettier --cache --list-different .", | ||
"lint:js": "eslint --cache .", | ||
"lint:types": "tsc --pretty --noEmit", | ||
"lint": "npm-run-all -p \"fmt:**\" \"lint:**\"", | ||
"fmt": "npm run fmt:check -- --write", | ||
"lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", | ||
"lint": "npm-run-all -l -p \"lint:**\"", | ||
"fix:js": "npm run lint:js -- --fix", | ||
"fix": "npm-run-all fix:js fmt", | ||
"fix:prettier": "npm run lint:prettier -- --write", | ||
"fix": "npm-run-all -l fix:js fix:prettier", | ||
"commitlint": "commitlint --from=master", | ||
@@ -100,2 +102,3 @@ "build:client": "rimraf -g ./client/* && babel client-src/ --out-dir client/ --ignore \"client-src/webpack.config.js\" --ignore \"client-src/modules\" && webpack --config client-src/webpack.config.js", | ||
"core-js": "^3.31.0", | ||
"cspell": "^8.3.2", | ||
"css-loader": "^6.8.1", | ||
@@ -102,0 +105,0 @@ "eslint": "^8.43.0", |
@@ -11,3 +11,3 @@ <div align="center"> | ||
[![coverage][cover]][cover-url] | ||
[![chat][chat]][chat-url] | ||
[![discussion][discussion]][discussion-url] | ||
[![downloads][downloads]][npm-url] | ||
@@ -283,3 +283,3 @@ [![contributors][contributors]][contributors-url] | ||
From there, we encourage users to visit the [webpack Gitter chat][chat-url] and | ||
From there, we encourage users to visit the [webpack discussions][discussion-url] and | ||
talk to the fine folks there. If your quest for answers comes up dry in chat, | ||
@@ -318,4 +318,4 @@ head over to [StackOverflow][stack-url] and do a quick search or open a new | ||
[cover-url]: https://codecov.io/gh/webpack/webpack-dev-server | ||
[chat]: https://badges.gitter.im/webpack/webpack.svg | ||
[chat-url]: https://gitter.im/webpack/webpack | ||
[discussion]: https://img.shields.io/github/discussions/webpack/webpack | ||
[discussion-url]: https://github.com/webpack/webpack/discussions | ||
[docs-url]: https://webpack.js.org/configuration/dev-server/#devserver | ||
@@ -322,0 +322,0 @@ [hash-url]: https://twitter.com/search?q=webpack |
Sorry, the diff of this file is too big to display
525802
54
15107