From 67b52c9273aef631e9a6c9371b026b28c64565dd Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Thu, 11 Nov 2021 22:10:26 +0300 Subject: [PATCH] chore: update deps and fix ci (#4021) --- package-lock.json | 490 +++++++++--------- package.json | 6 +- .../__snapshots__/basic.test.js.snap.webpack4 | 8 +- .../__snapshots__/basic.test.js.snap.webpack5 | 8 +- .../bonjour-option.test.js.snap.webpack4 | 6 +- .../bonjour-option.test.js.snap.webpack5 | 6 +- .../colors.test.js.snap.webpack4 | 10 +- .../colors.test.js.snap.webpack5 | 10 +- ...ryApiFallback-option.test.js.snap.webpack4 | 4 +- ...ryApiFallback-option.test.js.snap.webpack5 | 4 +- .../host-option.test.js.snap.webpack4 | 12 +- .../host-option.test.js.snap.webpack5 | 12 +- .../http2-option.test.js.snap.webpack4 | 4 +- .../http2-option.test.js.snap.webpack5 | 4 +- .../https-option.test.js.snap.webpack4 | 18 +- .../https-option.test.js.snap.webpack5 | 18 +- .../port-option.test.js.snap.webpack4 | 4 +- .../port-option.test.js.snap.webpack5 | 4 +- .../server-option.test.js.snap.webpack4 | 20 +- .../server-option.test.js.snap.webpack5 | 20 +- .../static-option.test.js.snap.webpack4 | 24 +- .../static-option.test.js.snap.webpack5 | 24 +- .../watchFiles-option.test.js.snap.webpack4 | 6 +- .../watchFiles-option.test.js.snap.webpack5 | 6 +- test/e2e/host.test.js | 25 + test/fixtures/https-certificate/server.pfx | Bin 2469 -> 2469 bytes test/helpers/test-bin.js | 15 + test/server/Server.test.js | 86 --- 28 files changed, 404 insertions(+), 450 deletions(-) diff --git a/package-lock.json b/package-lock.json index e0c0a50c0d..1795804067 100644 --- a/package-lock.json +++ b/package-lock.json @@ -46,8 +46,8 @@ "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.14.5", "@babel/runtime": "^7.14.5", - "@commitlint/cli": "^13.1.0", - "@commitlint/config-conventional": "^13.1.0", + "@commitlint/cli": "^14.1.0", + "@commitlint/config-conventional": "^14.1.0", "acorn": "^8.2.4", "babel-jest": "^27.0.2", "babel-loader": "^8.2.2", @@ -85,7 +85,7 @@ "tcp-port-used": "^1.0.2", "typescript": "^4.2.4", "url-loader": "^4.1.1", - "webpack": "^5.54.0", + "webpack": "^5.64.0", "webpack-cli": "^4.7.2", "webpack-merge": "^5.8.0" }, @@ -182,9 +182,9 @@ } }, "node_modules/@babel/eslint-parser": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.16.0.tgz", - "integrity": "sha512-c+AsYOHjI+FgCa+ifLd8sDXp4U4mjkfFgL9NdQWhuA731kAUJs0WdJIXET4A14EJAR9Jv9FFF/MzPWJfV9Oirw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.16.3.tgz", + "integrity": "sha512-iB4ElZT0jAt7PKVaeVulOECdGe6UnmA/O0P9jlF5g5GBOwDVbna8AXhHRu4s27xQf6OkveyA8iTDv1jHdDejgQ==", "dev": true, "dependencies": { "eslint-scope": "^5.1.1", @@ -239,14 +239,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.0.tgz", - "integrity": "sha512-S7iaOT1SYlqK0sQaCi21RX4+13hmdmnxIEAnQUB/eh7GeAnRjOUgTYpLkUOiRXzD+yog1JxP0qyAQZ7ZxVxLVg==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", + "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", "dev": true, "dependencies": { "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", + "browserslist": "^4.17.5", "semver": "^6.3.0" }, "engines": { @@ -524,13 +524,13 @@ } }, "node_modules/@babel/helpers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.0.tgz", - "integrity": "sha512-dVRM0StFMdKlkt7cVcGgwD8UMaBfWJHl3A83Yfs8GQ3MO0LHIIIMvK7Fa0RGOGUQ10qikLaX6D7o5htcQWgTMQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.3.tgz", + "integrity": "sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==", "dev": true, "dependencies": { "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.0", + "@babel/traverse": "^7.16.3", "@babel/types": "^7.16.0" }, "engines": { @@ -552,9 +552,9 @@ } }, "node_modules/@babel/parser": { - "version": "7.16.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.2.tgz", - "integrity": "sha512-RUVpT0G2h6rOZwqLDTrKk7ksNv7YpAilTnYe1/Q+eDjxEceRMKVWbCsX7t8h6C1qCFi/1Y8WZjcEPBAFG27GPw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.3.tgz", + "integrity": "sha512-dcNwU1O4sx57ClvLBVFbEgx0UZWfd0JQX5X6fxFRCLHelFBGXFfSz6Y0FAq2PEwUqlqLkdVjVr4VASEOuUnLJw==", "dev": true, "bin": { "parser": "bin/babel-parser.js" @@ -1412,9 +1412,9 @@ } }, "node_modules/@babel/plugin-transform-parameters": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.0.tgz", - "integrity": "sha512-XgnQEm1CevKROPx+udOi/8f8TiGhrUWiHiaUCIp47tE0tpFDjzXNTZc9E5CmCwxNjXTWEVqvRfWZYOTFvMa/ZQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz", + "integrity": "sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w==", "dev": true, "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" @@ -1703,9 +1703,9 @@ } }, "node_modules/@babel/runtime": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.0.tgz", - "integrity": "sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.3.tgz", + "integrity": "sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==", "dev": true, "dependencies": { "regenerator-runtime": "^0.13.4" @@ -1729,9 +1729,9 @@ } }, "node_modules/@babel/traverse": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.0.tgz", - "integrity": "sha512-qQ84jIs1aRQxaGaxSysII9TuDaguZ5yVrEuC0BN2vcPlalwfLovVmCjbFDPECPXcYM/wLvNFfp8uDOliLxIoUQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", "dev": true, "dependencies": { "@babel/code-frame": "^7.16.0", @@ -1739,7 +1739,7 @@ "@babel/helper-function-name": "^7.16.0", "@babel/helper-hoist-variables": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", - "@babel/parser": "^7.16.0", + "@babel/parser": "^7.16.3", "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" @@ -1768,16 +1768,16 @@ "dev": true }, "node_modules/@commitlint/cli": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-13.2.1.tgz", - "integrity": "sha512-JGzYk2ay5JkRS5w+FLQzr0u/Kih52ds4HPpa3vnwVOQN8Q+S1VYr8Nk/6kRm6uNYsAcC1nejtuDxRdLcLh/9TA==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-14.1.0.tgz", + "integrity": "sha512-Orq62jkl9qAGvjFqhehtAqjGY/duJ8hIRPPIHmGR2jIB96D4VTmazS3ZvqJz2Q9kKr61mLAk/171zm0FVzQCYA==", "dev": true, "dependencies": { - "@commitlint/format": "^13.2.0", - "@commitlint/lint": "^13.2.0", - "@commitlint/load": "^13.2.1", - "@commitlint/read": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/format": "^14.1.0", + "@commitlint/lint": "^14.1.0", + "@commitlint/load": "^14.1.0", + "@commitlint/read": "^14.0.0", + "@commitlint/types": "^14.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", @@ -1791,9 +1791,9 @@ } }, "node_modules/@commitlint/config-conventional": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-13.2.0.tgz", - "integrity": "sha512-7u7DdOiF+3qSdDlbQGfpvCH8DCQdLFvnI2+VucYmmV7E92iD6t9PBj+UjIoSQCaMAzYp27Vkall78AkcXBh6Xw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-14.1.0.tgz", + "integrity": "sha512-JuhCqkEv8jyqmd54EpXPsQFpYc/8k7sfP1UziRdEvZSJUCLxz+8Pk4cNS0oF1BtjaWO7ITgXPlIZg47PyApGmg==", "dev": true, "dependencies": { "conventional-changelog-conventionalcommits": "^4.3.1" @@ -1803,12 +1803,12 @@ } }, "node_modules/@commitlint/ensure": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-13.2.0.tgz", - "integrity": "sha512-rqhT62RehdLTRBu8OrPHnRCCd/7RmHEE4TiTlT4BLlr5ls5jlZhecOQWJ8np872uCNirrJ5NFjnjYYdbkNoW9Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-14.1.0.tgz", + "integrity": "sha512-xrYvFdqVepT3XA1BmSh88eKbvYKtLuQu98QLfgxVmwS99Kj3yW0sT3D7jGvNsynbIx2dhbXofDyubf/DKkpFrQ==", "dev": true, "dependencies": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "lodash": "^4.17.19" }, "engines": { @@ -1816,21 +1816,21 @@ } }, "node_modules/@commitlint/execute-rule": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-13.2.0.tgz", - "integrity": "sha512-6nPwpN0hwTYmsH3WM4hCdN+NrMopgRIuQ0aqZa+jnwMoS/g6ljliQNYfL+m5WO306BaIu1W3yYpbW5aI8gEr0g==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-14.0.0.tgz", + "integrity": "sha512-Hh/HLpCBDlrD3Rx2x2pDBx6CU+OtVqGXh7mbFpNihAVx6B0zyZqm/vv0cdwdhfGW5OEn1BhCqHf1ZOvL/DwdWA==", "dev": true, "engines": { "node": ">=v12" } }, "node_modules/@commitlint/format": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-13.2.0.tgz", - "integrity": "sha512-yNBQJe6YFhM1pJAta4LvzQxccSKof6axJH7ALYjuhQqfT8AKlad7Y/2SuJ07ioyreNIqwOTuF2UfU8yJ7JzEIQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-14.1.0.tgz", + "integrity": "sha512-sF6engqqHjvxGctWRKjFs/HQeNowlpbVmmoP481b2UMQnVQnjjfXJvQsoLpaqFUvgc2sHM4L85F8BmAw+iHG1w==", "dev": true, "dependencies": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "chalk": "^4.0.0" }, "engines": { @@ -1908,12 +1908,12 @@ } }, "node_modules/@commitlint/is-ignored": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-13.2.0.tgz", - "integrity": "sha512-onnx4WctHFPPkHGFFAZBIWRSaNwuhixIIfbwPhcZ6IewwQX5n4jpjwM1GokA7vhlOnQ57W7AavbKUGjzIVtnRQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-14.0.0.tgz", + "integrity": "sha512-nJltYjXTa+mk+6SPe35nOZCCvt3Gh5mbDz008KQ4OPcn1GX1NG+pEgz1Kx3agDp/pc+JGnsrr5GV00gygIoloA==", "dev": true, "dependencies": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "semver": "7.3.5" }, "engines": { @@ -1936,29 +1936,29 @@ } }, "node_modules/@commitlint/lint": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-13.2.0.tgz", - "integrity": "sha512-5XYkh0e9ehHjA7BxAHFpjPgr1qqbFY8OFG1wpBiAhycbYBtJnQmculA2wcwqTM40YCUBqEvWFdq86jTG8fbkMw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-14.1.0.tgz", + "integrity": "sha512-CApGJEOtWU/CcuPD8HkOR1jdUYpjKutGPaeby9nSFzJhwl/UQOjxc4Nd+2g2ygsMi5l3N4j2sWQYEgccpFC3lA==", "dev": true, "dependencies": { - "@commitlint/is-ignored": "^13.2.0", - "@commitlint/parse": "^13.2.0", - "@commitlint/rules": "^13.2.0", - "@commitlint/types": "^13.2.0" + "@commitlint/is-ignored": "^14.0.0", + "@commitlint/parse": "^14.0.0", + "@commitlint/rules": "^14.1.0", + "@commitlint/types": "^14.0.0" }, "engines": { "node": ">=v12" } }, "node_modules/@commitlint/load": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-13.2.1.tgz", - "integrity": "sha512-qlaJkj0hfa9gtWRfCfbgFBTK3GYQRmjZhba4l9mUu4wV9lEZ4ICFlrLtd/8kaLXf/8xbrPhkAPkVFOAqM0YwUQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-14.1.0.tgz", + "integrity": "sha512-p+HbgjhkqLsnxyjOUdEYHztHCp8n2oLVUJTmRPuP5FXLNevh6Gwmxf+NYC2J0sgD084aV2CFi3qu1W4yHWIknA==", "dev": true, "dependencies": { - "@commitlint/execute-rule": "^13.2.0", - "@commitlint/resolve-extends": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/execute-rule": "^14.0.0", + "@commitlint/resolve-extends": "^14.1.0", + "@commitlint/types": "^14.0.0", "@endemolshinegroup/cosmiconfig-typescript-loader": "^3.0.2", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", @@ -2041,21 +2041,21 @@ } }, "node_modules/@commitlint/message": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-13.2.0.tgz", - "integrity": "sha512-+LlErJj2F2AC86xJb33VJIvSt25xqSF1I0b0GApSgoUtQBeJhx4SxIj1BLvGcLVmbRmbgTzAFq/QylwLId7EhA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-14.0.0.tgz", + "integrity": "sha512-316Pum+bwDcZamOQw0DXSY17Dq9EjvL1zKdYIZqneu4lnXN6uFfi53Y/sP5crW6zlLdnuTHe1MnuewXPLHfH1Q==", "dev": true, "engines": { "node": ">=v12" } }, "node_modules/@commitlint/parse": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-13.2.0.tgz", - "integrity": "sha512-AtfKSQJQADbDhW+kuC5PxOyBANsYCuuJlZRZ2PYslOz2rvWwZ93zt+nKjM4g7C9ETbz0uq4r7/EoOsTJ2nJqfQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-14.0.0.tgz", + "integrity": "sha512-49qkk0TcwdxJPZUX8MElEzMlRFIL/cg64P4pk8HotFEm2HYdbxxZp6v3cbVw5WOsnRA0frrs+NNoOcIT83ccMQ==", "dev": true, "dependencies": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "conventional-changelog-angular": "^5.0.11", "conventional-commits-parser": "^3.2.2" }, @@ -2064,13 +2064,13 @@ } }, "node_modules/@commitlint/read": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-13.2.0.tgz", - "integrity": "sha512-7db5e1Bn3re6hQN0SqygTMF/QX6/MQauoJn3wJiUHE93lvwO6aFQxT3qAlYeyBPwfWsmDz/uSH454jtrSsv3Uw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-14.0.0.tgz", + "integrity": "sha512-WXXcSLBqwXTqnEmB0lbU2TrayDJ2G3qI/lxy1ianVmpQol8p9BjodAA6bYxtYYHdQFVXUrIsclzFP/naWG+hlQ==", "dev": true, "dependencies": { - "@commitlint/top-level": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/top-level": "^14.0.0", + "@commitlint/types": "^14.0.0", "fs-extra": "^10.0.0", "git-raw-commits": "^2.0.0" }, @@ -2079,9 +2079,9 @@ } }, "node_modules/@commitlint/resolve-extends": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-13.2.0.tgz", - "integrity": "sha512-HLCMkqMKtvl1yYLZ1Pm0UpFvd0kYjsm1meLOGZ7VkOd9G/XX+Fr1S2G5AT2zeiDw7WUVYK8lGVMNa319bnV+aw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-14.1.0.tgz", + "integrity": "sha512-ko80k6QB6E6/OvGNWy4u7gzzWyluDT3VDNL2kfZaDywsnrYntUKyT4Do97gQ7orttITzj2GRtk3KWClVz4rUUQ==", "dev": true, "dependencies": { "import-fresh": "^3.0.0", @@ -2094,15 +2094,15 @@ } }, "node_modules/@commitlint/rules": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-13.2.0.tgz", - "integrity": "sha512-O3A9S7blOzvHfzrJrUQe9JxdtGy154ol/GXHwvd8WfMJ10y5ryBB4b6+0YZ1XhItWzrEASOfOKbD++EdLV90dQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-14.1.0.tgz", + "integrity": "sha512-6jmv414/1JzGzDI/DS+snAMhcL6roQKPdg0WB3kWTWN52EvWXBFm0HIMGt2H/FlRKxozwVXlQN60/1fNIl98xA==", "dev": true, "dependencies": { - "@commitlint/ensure": "^13.2.0", - "@commitlint/message": "^13.2.0", - "@commitlint/to-lines": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/ensure": "^14.1.0", + "@commitlint/message": "^14.0.0", + "@commitlint/to-lines": "^14.0.0", + "@commitlint/types": "^14.0.0", "execa": "^5.0.0" }, "engines": { @@ -2110,18 +2110,18 @@ } }, "node_modules/@commitlint/to-lines": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-13.2.0.tgz", - "integrity": "sha512-ZfWZix2y/CzewReCrj5g0nKOEfj5HW9eBMDrqjJJMPApve00CWv0tYrFCGXuGlv244lW4uvWJt6J/0HLRWsfyg==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-14.0.0.tgz", + "integrity": "sha512-uIXk54oJDuYyLpI208s3+cGmJ323yvSJ9LB7yUDMWUeJi2LgRxE2EBZL995kLQdnoAsBBXcLq+VDyppg5bV/cg==", "dev": true, "engines": { "node": ">=v12" } }, "node_modules/@commitlint/top-level": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-13.2.0.tgz", - "integrity": "sha512-knBvWYbIq6VV6VPHrVeDsxDiJq4Zq6cv5NIYU3iesKAsmK2KlLfsZPa+Ig96Y4AqAPU3zNJwjHxYkz9qxdBbfA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-14.0.0.tgz", + "integrity": "sha512-MZDKZfWfl9g4KozgWBGTCrI2cXkMHnBFlhwvEfrAu5G8wd5aL1f2uWEUMnBMjUikmhVj99i1pzge4XFWHQ29wQ==", "dev": true, "dependencies": { "find-up": "^5.0.0" @@ -2131,9 +2131,9 @@ } }, "node_modules/@commitlint/types": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-13.2.0.tgz", - "integrity": "sha512-RRVHEqmk1qn/dIaSQhvuca6k/6Z54G+r/KyimZ8gnAFielGiGUpsFRhIY3qhd5rXClVxDaa3nlcyTWckSccotQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-14.0.0.tgz", + "integrity": "sha512-sIls1nP2uSbGL466edYlh8mn7O/WP4i3bcvP+2DMhkscRCSgaPhNRWDilhYVsHt2Vu1HTQ27uT0Bj5/Lt2+EcQ==", "dev": true, "dependencies": { "chalk": "^4.0.0" @@ -3285,9 +3285,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.11.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", - "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==" + "version": "16.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.7.tgz", + "integrity": "sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==" }, "node_modules/@types/normalize-package-data": { "version": "2.4.1", @@ -4440,9 +4440,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001278", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz", - "integrity": "sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg==", + "version": "1.0.30001279", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz", + "integrity": "sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ==", "funding": { "type": "opencollective", "url": "https://opencollective.com/browserslist" @@ -5876,9 +5876,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "node_modules/electron-to-chromium": { - "version": "1.3.890", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.890.tgz", - "integrity": "sha512-VWlVXSkv0cA/OOehrEyqjUTHwV8YXCPTfPvbtoeU2aHR21vI4Ejh5aC4AxUwOmbLbBgb6Gd3URZahoCxtBqCYQ==" + "version": "1.3.894", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.894.tgz", + "integrity": "sha512-WY8pA4irAZ4cm/Pr7YFPtPLVqj3nU6d0SbfoHF6M7HZNONfPdAnYAarumqQ75go2LuN72uO9wGuCEqnfya/ytg==" }, "node_modules/emittery": { "version": "0.8.1", @@ -6358,9 +6358,9 @@ } }, "node_modules/eslint-plugin-import": { - "version": "2.25.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz", - "integrity": "sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==", + "version": "2.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz", + "integrity": "sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==", "dev": true, "dependencies": { "array-includes": "^3.1.4", @@ -6368,9 +6368,9 @@ "debug": "^2.6.9", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.6", - "eslint-module-utils": "^2.7.0", + "eslint-module-utils": "^2.7.1", "has": "^1.0.3", - "is-core-module": "^2.7.0", + "is-core-module": "^2.8.0", "is-glob": "^4.0.3", "minimatch": "^3.0.4", "object.values": "^1.1.5", @@ -7234,9 +7234,9 @@ } }, "node_modules/flatted": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", - "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", + "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==", "dev": true }, "node_modules/follow-redirects": { @@ -11399,19 +11399,19 @@ } }, "node_modules/mime-db": { - "version": "1.50.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", - "integrity": "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==", + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==", "engines": { "node": ">= 0.6" } }, "node_modules/mime-types": { - "version": "2.1.33", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz", - "integrity": "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "dependencies": { - "mime-db": "1.50.0" + "mime-db": "1.51.0" }, "engines": { "node": ">= 0.6" @@ -15103,9 +15103,9 @@ } }, "node_modules/webpack": { - "version": "5.62.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.62.1.tgz", - "integrity": "sha512-jNLtnWChS2CMZ7vqWtztv0G6fYB5hz11Zsadp5tE7e4/66zVDj7/KUeQZOsOl8Hz5KrLJH1h2eIDl6AnlyE12Q==", + "version": "5.64.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.0.tgz", + "integrity": "sha512-UclnN24m054HaPC45nmDEosX6yXWD+UGC12YtUs5i356DleAUGMDC9LBAw37xRRfgPKYIdCYjGA7RZ1AA+ZnGg==", "dependencies": { "@types/eslint-scope": "^3.7.0", "@types/estree": "^0.0.50", @@ -15612,9 +15612,9 @@ } }, "@babel/eslint-parser": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.16.0.tgz", - "integrity": "sha512-c+AsYOHjI+FgCa+ifLd8sDXp4U4mjkfFgL9NdQWhuA731kAUJs0WdJIXET4A14EJAR9Jv9FFF/MzPWJfV9Oirw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/eslint-parser/-/eslint-parser-7.16.3.tgz", + "integrity": "sha512-iB4ElZT0jAt7PKVaeVulOECdGe6UnmA/O0P9jlF5g5GBOwDVbna8AXhHRu4s27xQf6OkveyA8iTDv1jHdDejgQ==", "dev": true, "requires": { "eslint-scope": "^5.1.1", @@ -15653,14 +15653,14 @@ } }, "@babel/helper-compilation-targets": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.0.tgz", - "integrity": "sha512-S7iaOT1SYlqK0sQaCi21RX4+13hmdmnxIEAnQUB/eh7GeAnRjOUgTYpLkUOiRXzD+yog1JxP0qyAQZ7ZxVxLVg==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.16.3.tgz", + "integrity": "sha512-vKsoSQAyBmxS35JUOOt+07cLc6Nk/2ljLIHwmq2/NM6hdioUaqEXq/S+nXvbvXbZkNDlWOymPanJGOc4CBjSJA==", "dev": true, "requires": { "@babel/compat-data": "^7.16.0", "@babel/helper-validator-option": "^7.14.5", - "browserslist": "^4.16.6", + "browserslist": "^4.17.5", "semver": "^6.3.0" } }, @@ -15866,13 +15866,13 @@ } }, "@babel/helpers": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.0.tgz", - "integrity": "sha512-dVRM0StFMdKlkt7cVcGgwD8UMaBfWJHl3A83Yfs8GQ3MO0LHIIIMvK7Fa0RGOGUQ10qikLaX6D7o5htcQWgTMQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.16.3.tgz", + "integrity": "sha512-Xn8IhDlBPhvYTvgewPKawhADichOsbkZuzN7qz2BusOM0brChsyXMDJvldWaYMMUNiCQdQzNEioXTp3sC8Nt8w==", "dev": true, "requires": { "@babel/template": "^7.16.0", - "@babel/traverse": "^7.16.0", + "@babel/traverse": "^7.16.3", "@babel/types": "^7.16.0" } }, @@ -15888,9 +15888,9 @@ } }, "@babel/parser": { - "version": "7.16.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.2.tgz", - "integrity": "sha512-RUVpT0G2h6rOZwqLDTrKk7ksNv7YpAilTnYe1/Q+eDjxEceRMKVWbCsX7t8h6C1qCFi/1Y8WZjcEPBAFG27GPw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.3.tgz", + "integrity": "sha512-dcNwU1O4sx57ClvLBVFbEgx0UZWfd0JQX5X6fxFRCLHelFBGXFfSz6Y0FAq2PEwUqlqLkdVjVr4VASEOuUnLJw==", "dev": true }, "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { @@ -16445,9 +16445,9 @@ } }, "@babel/plugin-transform-parameters": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.0.tgz", - "integrity": "sha512-XgnQEm1CevKROPx+udOi/8f8TiGhrUWiHiaUCIp47tE0tpFDjzXNTZc9E5CmCwxNjXTWEVqvRfWZYOTFvMa/ZQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.16.3.tgz", + "integrity": "sha512-3MaDpJrOXT1MZ/WCmkOFo7EtmVVC8H4EUZVrHvFOsmwkk4lOjQj8rzv8JKUZV4YoQKeoIgk07GO+acPU9IMu/w==", "dev": true, "requires": { "@babel/helper-plugin-utils": "^7.14.5" @@ -16655,9 +16655,9 @@ } }, "@babel/runtime": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.0.tgz", - "integrity": "sha512-Nht8L0O8YCktmsDV6FqFue7vQLRx3Hb0B37lS5y0jDRqRxlBG4wIJHnf9/bgSE2UyipKFA01YtS+npRdTWBUyw==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.16.3.tgz", + "integrity": "sha512-WBwekcqacdY2e9AF/Q7WLFUWmdJGJTkbjqTjoMDgXkVZ3ZRUvOPsLb5KdwISoQVsbP+DQzVZW4Zhci0DvpbNTQ==", "dev": true, "requires": { "regenerator-runtime": "^0.13.4" @@ -16675,9 +16675,9 @@ } }, "@babel/traverse": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.0.tgz", - "integrity": "sha512-qQ84jIs1aRQxaGaxSysII9TuDaguZ5yVrEuC0BN2vcPlalwfLovVmCjbFDPECPXcYM/wLvNFfp8uDOliLxIoUQ==", + "version": "7.16.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.16.3.tgz", + "integrity": "sha512-eolumr1vVMjqevCpwVO99yN/LoGL0EyHiLO5I043aYQvwOJ9eR5UsZSClHVCzfhBduMAsSzgA/6AyqPjNayJag==", "dev": true, "requires": { "@babel/code-frame": "^7.16.0", @@ -16685,7 +16685,7 @@ "@babel/helper-function-name": "^7.16.0", "@babel/helper-hoist-variables": "^7.16.0", "@babel/helper-split-export-declaration": "^7.16.0", - "@babel/parser": "^7.16.0", + "@babel/parser": "^7.16.3", "@babel/types": "^7.16.0", "debug": "^4.1.0", "globals": "^11.1.0" @@ -16708,16 +16708,16 @@ "dev": true }, "@commitlint/cli": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-13.2.1.tgz", - "integrity": "sha512-JGzYk2ay5JkRS5w+FLQzr0u/Kih52ds4HPpa3vnwVOQN8Q+S1VYr8Nk/6kRm6uNYsAcC1nejtuDxRdLcLh/9TA==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/cli/-/cli-14.1.0.tgz", + "integrity": "sha512-Orq62jkl9qAGvjFqhehtAqjGY/duJ8hIRPPIHmGR2jIB96D4VTmazS3ZvqJz2Q9kKr61mLAk/171zm0FVzQCYA==", "dev": true, "requires": { - "@commitlint/format": "^13.2.0", - "@commitlint/lint": "^13.2.0", - "@commitlint/load": "^13.2.1", - "@commitlint/read": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/format": "^14.1.0", + "@commitlint/lint": "^14.1.0", + "@commitlint/load": "^14.1.0", + "@commitlint/read": "^14.0.0", + "@commitlint/types": "^14.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", @@ -16725,37 +16725,37 @@ } }, "@commitlint/config-conventional": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-13.2.0.tgz", - "integrity": "sha512-7u7DdOiF+3qSdDlbQGfpvCH8DCQdLFvnI2+VucYmmV7E92iD6t9PBj+UjIoSQCaMAzYp27Vkall78AkcXBh6Xw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/config-conventional/-/config-conventional-14.1.0.tgz", + "integrity": "sha512-JuhCqkEv8jyqmd54EpXPsQFpYc/8k7sfP1UziRdEvZSJUCLxz+8Pk4cNS0oF1BtjaWO7ITgXPlIZg47PyApGmg==", "dev": true, "requires": { "conventional-changelog-conventionalcommits": "^4.3.1" } }, "@commitlint/ensure": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-13.2.0.tgz", - "integrity": "sha512-rqhT62RehdLTRBu8OrPHnRCCd/7RmHEE4TiTlT4BLlr5ls5jlZhecOQWJ8np872uCNirrJ5NFjnjYYdbkNoW9Q==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/ensure/-/ensure-14.1.0.tgz", + "integrity": "sha512-xrYvFdqVepT3XA1BmSh88eKbvYKtLuQu98QLfgxVmwS99Kj3yW0sT3D7jGvNsynbIx2dhbXofDyubf/DKkpFrQ==", "dev": true, "requires": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "lodash": "^4.17.19" } }, "@commitlint/execute-rule": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-13.2.0.tgz", - "integrity": "sha512-6nPwpN0hwTYmsH3WM4hCdN+NrMopgRIuQ0aqZa+jnwMoS/g6ljliQNYfL+m5WO306BaIu1W3yYpbW5aI8gEr0g==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-14.0.0.tgz", + "integrity": "sha512-Hh/HLpCBDlrD3Rx2x2pDBx6CU+OtVqGXh7mbFpNihAVx6B0zyZqm/vv0cdwdhfGW5OEn1BhCqHf1ZOvL/DwdWA==", "dev": true }, "@commitlint/format": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-13.2.0.tgz", - "integrity": "sha512-yNBQJe6YFhM1pJAta4LvzQxccSKof6axJH7ALYjuhQqfT8AKlad7Y/2SuJ07ioyreNIqwOTuF2UfU8yJ7JzEIQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/format/-/format-14.1.0.tgz", + "integrity": "sha512-sF6engqqHjvxGctWRKjFs/HQeNowlpbVmmoP481b2UMQnVQnjjfXJvQsoLpaqFUvgc2sHM4L85F8BmAw+iHG1w==", "dev": true, "requires": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "chalk": "^4.0.0" }, "dependencies": { @@ -16811,12 +16811,12 @@ } }, "@commitlint/is-ignored": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-13.2.0.tgz", - "integrity": "sha512-onnx4WctHFPPkHGFFAZBIWRSaNwuhixIIfbwPhcZ6IewwQX5n4jpjwM1GokA7vhlOnQ57W7AavbKUGjzIVtnRQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/is-ignored/-/is-ignored-14.0.0.tgz", + "integrity": "sha512-nJltYjXTa+mk+6SPe35nOZCCvt3Gh5mbDz008KQ4OPcn1GX1NG+pEgz1Kx3agDp/pc+JGnsrr5GV00gygIoloA==", "dev": true, "requires": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "semver": "7.3.5" }, "dependencies": { @@ -16832,26 +16832,26 @@ } }, "@commitlint/lint": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-13.2.0.tgz", - "integrity": "sha512-5XYkh0e9ehHjA7BxAHFpjPgr1qqbFY8OFG1wpBiAhycbYBtJnQmculA2wcwqTM40YCUBqEvWFdq86jTG8fbkMw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/lint/-/lint-14.1.0.tgz", + "integrity": "sha512-CApGJEOtWU/CcuPD8HkOR1jdUYpjKutGPaeby9nSFzJhwl/UQOjxc4Nd+2g2ygsMi5l3N4j2sWQYEgccpFC3lA==", "dev": true, "requires": { - "@commitlint/is-ignored": "^13.2.0", - "@commitlint/parse": "^13.2.0", - "@commitlint/rules": "^13.2.0", - "@commitlint/types": "^13.2.0" + "@commitlint/is-ignored": "^14.0.0", + "@commitlint/parse": "^14.0.0", + "@commitlint/rules": "^14.1.0", + "@commitlint/types": "^14.0.0" } }, "@commitlint/load": { - "version": "13.2.1", - "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-13.2.1.tgz", - "integrity": "sha512-qlaJkj0hfa9gtWRfCfbgFBTK3GYQRmjZhba4l9mUu4wV9lEZ4ICFlrLtd/8kaLXf/8xbrPhkAPkVFOAqM0YwUQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/load/-/load-14.1.0.tgz", + "integrity": "sha512-p+HbgjhkqLsnxyjOUdEYHztHCp8n2oLVUJTmRPuP5FXLNevh6Gwmxf+NYC2J0sgD084aV2CFi3qu1W4yHWIknA==", "dev": true, "requires": { - "@commitlint/execute-rule": "^13.2.0", - "@commitlint/resolve-extends": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/execute-rule": "^14.0.0", + "@commitlint/resolve-extends": "^14.1.0", + "@commitlint/types": "^14.0.0", "@endemolshinegroup/cosmiconfig-typescript-loader": "^3.0.2", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", @@ -16912,38 +16912,38 @@ } }, "@commitlint/message": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-13.2.0.tgz", - "integrity": "sha512-+LlErJj2F2AC86xJb33VJIvSt25xqSF1I0b0GApSgoUtQBeJhx4SxIj1BLvGcLVmbRmbgTzAFq/QylwLId7EhA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/message/-/message-14.0.0.tgz", + "integrity": "sha512-316Pum+bwDcZamOQw0DXSY17Dq9EjvL1zKdYIZqneu4lnXN6uFfi53Y/sP5crW6zlLdnuTHe1MnuewXPLHfH1Q==", "dev": true }, "@commitlint/parse": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-13.2.0.tgz", - "integrity": "sha512-AtfKSQJQADbDhW+kuC5PxOyBANsYCuuJlZRZ2PYslOz2rvWwZ93zt+nKjM4g7C9ETbz0uq4r7/EoOsTJ2nJqfQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/parse/-/parse-14.0.0.tgz", + "integrity": "sha512-49qkk0TcwdxJPZUX8MElEzMlRFIL/cg64P4pk8HotFEm2HYdbxxZp6v3cbVw5WOsnRA0frrs+NNoOcIT83ccMQ==", "dev": true, "requires": { - "@commitlint/types": "^13.2.0", + "@commitlint/types": "^14.0.0", "conventional-changelog-angular": "^5.0.11", "conventional-commits-parser": "^3.2.2" } }, "@commitlint/read": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-13.2.0.tgz", - "integrity": "sha512-7db5e1Bn3re6hQN0SqygTMF/QX6/MQauoJn3wJiUHE93lvwO6aFQxT3qAlYeyBPwfWsmDz/uSH454jtrSsv3Uw==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/read/-/read-14.0.0.tgz", + "integrity": "sha512-WXXcSLBqwXTqnEmB0lbU2TrayDJ2G3qI/lxy1ianVmpQol8p9BjodAA6bYxtYYHdQFVXUrIsclzFP/naWG+hlQ==", "dev": true, "requires": { - "@commitlint/top-level": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/top-level": "^14.0.0", + "@commitlint/types": "^14.0.0", "fs-extra": "^10.0.0", "git-raw-commits": "^2.0.0" } }, "@commitlint/resolve-extends": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-13.2.0.tgz", - "integrity": "sha512-HLCMkqMKtvl1yYLZ1Pm0UpFvd0kYjsm1meLOGZ7VkOd9G/XX+Fr1S2G5AT2zeiDw7WUVYK8lGVMNa319bnV+aw==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/resolve-extends/-/resolve-extends-14.1.0.tgz", + "integrity": "sha512-ko80k6QB6E6/OvGNWy4u7gzzWyluDT3VDNL2kfZaDywsnrYntUKyT4Do97gQ7orttITzj2GRtk3KWClVz4rUUQ==", "dev": true, "requires": { "import-fresh": "^3.0.0", @@ -16953,37 +16953,37 @@ } }, "@commitlint/rules": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-13.2.0.tgz", - "integrity": "sha512-O3A9S7blOzvHfzrJrUQe9JxdtGy154ol/GXHwvd8WfMJ10y5ryBB4b6+0YZ1XhItWzrEASOfOKbD++EdLV90dQ==", + "version": "14.1.0", + "resolved": "https://registry.npmjs.org/@commitlint/rules/-/rules-14.1.0.tgz", + "integrity": "sha512-6jmv414/1JzGzDI/DS+snAMhcL6roQKPdg0WB3kWTWN52EvWXBFm0HIMGt2H/FlRKxozwVXlQN60/1fNIl98xA==", "dev": true, "requires": { - "@commitlint/ensure": "^13.2.0", - "@commitlint/message": "^13.2.0", - "@commitlint/to-lines": "^13.2.0", - "@commitlint/types": "^13.2.0", + "@commitlint/ensure": "^14.1.0", + "@commitlint/message": "^14.0.0", + "@commitlint/to-lines": "^14.0.0", + "@commitlint/types": "^14.0.0", "execa": "^5.0.0" } }, "@commitlint/to-lines": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-13.2.0.tgz", - "integrity": "sha512-ZfWZix2y/CzewReCrj5g0nKOEfj5HW9eBMDrqjJJMPApve00CWv0tYrFCGXuGlv244lW4uvWJt6J/0HLRWsfyg==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/to-lines/-/to-lines-14.0.0.tgz", + "integrity": "sha512-uIXk54oJDuYyLpI208s3+cGmJ323yvSJ9LB7yUDMWUeJi2LgRxE2EBZL995kLQdnoAsBBXcLq+VDyppg5bV/cg==", "dev": true }, "@commitlint/top-level": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-13.2.0.tgz", - "integrity": "sha512-knBvWYbIq6VV6VPHrVeDsxDiJq4Zq6cv5NIYU3iesKAsmK2KlLfsZPa+Ig96Y4AqAPU3zNJwjHxYkz9qxdBbfA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/top-level/-/top-level-14.0.0.tgz", + "integrity": "sha512-MZDKZfWfl9g4KozgWBGTCrI2cXkMHnBFlhwvEfrAu5G8wd5aL1f2uWEUMnBMjUikmhVj99i1pzge4XFWHQ29wQ==", "dev": true, "requires": { "find-up": "^5.0.0" } }, "@commitlint/types": { - "version": "13.2.0", - "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-13.2.0.tgz", - "integrity": "sha512-RRVHEqmk1qn/dIaSQhvuca6k/6Z54G+r/KyimZ8gnAFielGiGUpsFRhIY3qhd5rXClVxDaa3nlcyTWckSccotQ==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@commitlint/types/-/types-14.0.0.tgz", + "integrity": "sha512-sIls1nP2uSbGL466edYlh8mn7O/WP4i3bcvP+2DMhkscRCSgaPhNRWDilhYVsHt2Vu1HTQ27uT0Bj5/Lt2+EcQ==", "dev": true, "requires": { "chalk": "^4.0.0" @@ -17882,9 +17882,9 @@ "dev": true }, "@types/node": { - "version": "16.11.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.6.tgz", - "integrity": "sha512-ua7PgUoeQFjmWPcoo9khiPum3Pd60k4/2ZGXt18sm2Slk0W0xZTqt5Y0Ny1NyBiN1EVQ/+FaF9NcY4Qe6rwk5w==" + "version": "16.11.7", + "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.7.tgz", + "integrity": "sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==" }, "@types/normalize-package-data": { "version": "2.4.1", @@ -18805,9 +18805,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001278", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001278.tgz", - "integrity": "sha512-mpF9KeH8u5cMoEmIic/cr7PNS+F5LWBk0t2ekGT60lFf0Wq+n9LspAj0g3P+o7DQhD3sUdlMln4YFAWhFYn9jg==" + "version": "1.0.30001279", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001279.tgz", + "integrity": "sha512-VfEHpzHEXj6/CxggTwSFoZBBYGQfQv9Cf42KPlO79sWXCD1QNKWKsKzFeWL7QpZHJQYAvocqV6Rty1yJMkqWLQ==" }, "chalk": { "version": "2.4.2", @@ -19921,9 +19921,9 @@ "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" }, "electron-to-chromium": { - "version": "1.3.890", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.890.tgz", - "integrity": "sha512-VWlVXSkv0cA/OOehrEyqjUTHwV8YXCPTfPvbtoeU2aHR21vI4Ejh5aC4AxUwOmbLbBgb6Gd3URZahoCxtBqCYQ==" + "version": "1.3.894", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.894.tgz", + "integrity": "sha512-WY8pA4irAZ4cm/Pr7YFPtPLVqj3nU6d0SbfoHF6M7HZNONfPdAnYAarumqQ75go2LuN72uO9wGuCEqnfya/ytg==" }, "emittery": { "version": "0.8.1", @@ -20429,9 +20429,9 @@ } }, "eslint-plugin-import": { - "version": "2.25.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.2.tgz", - "integrity": "sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==", + "version": "2.25.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.25.3.tgz", + "integrity": "sha512-RzAVbby+72IB3iOEL8clzPLzL3wpDrlwjsTBAQXgyp5SeTqqY+0bFubwuo+y/HLhNZcXV4XqTBO4LGsfyHIDXg==", "dev": true, "requires": { "array-includes": "^3.1.4", @@ -20439,9 +20439,9 @@ "debug": "^2.6.9", "doctrine": "^2.1.0", "eslint-import-resolver-node": "^0.3.6", - "eslint-module-utils": "^2.7.0", + "eslint-module-utils": "^2.7.1", "has": "^1.0.3", - "is-core-module": "^2.7.0", + "is-core-module": "^2.8.0", "is-glob": "^4.0.3", "minimatch": "^3.0.4", "object.values": "^1.1.5", @@ -20956,9 +20956,9 @@ } }, "flatted": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.2.tgz", - "integrity": "sha512-JaTY/wtrcSyvXJl4IMFHPKyFur1sE9AUqc0QnhOaJ0CxHtAoIV8pYDzeEfAaNEtGkOfq4gr3LBFmdXW5mOQFnA==", + "version": "3.2.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.2.4.tgz", + "integrity": "sha512-8/sOawo8tJ4QOBX8YlQBMxL8+RLZfxMQOif9o0KUKTNTjMYElWPE0r/m5VNFxTRd0NSw8qSy8dajrwX4RYI1Hw==", "dev": true }, "follow-redirects": { @@ -24023,16 +24023,16 @@ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" }, "mime-db": { - "version": "1.50.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.50.0.tgz", - "integrity": "sha512-9tMZCDlYHqeERXEHO9f/hKfNXhre5dK2eE/krIvUjZbS2KPcqGDfNShIWS1uW9XOTKQKqK6qbeOci18rbfW77A==" + "version": "1.51.0", + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.51.0.tgz", + "integrity": "sha512-5y8A56jg7XVQx2mbv1lu49NR4dokRnhZYTtL+KGfaa27uq4pSTXkwQkFJl4pkRMyNFz/EtYDSkiiEHx3F7UN6g==" }, "mime-types": { - "version": "2.1.33", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.33.tgz", - "integrity": "sha512-plLElXp7pRDd0bNZHw+nMd52vRYjLwQjygaNg7ddJ2uJtTlmnTCjWuPKxVu6//AdaRuME84SvLW91sIkBqGT0g==", + "version": "2.1.34", + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.34.tgz", + "integrity": "sha512-6cP692WwGIs9XXdOO4++N+7qjqv0rqxxVvJ3VHPh/Sc9mVZcQP+ZGhkKiTvWMQRr2tbHkJP/Yn7Y0npb3ZBs4A==", "requires": { - "mime-db": "1.50.0" + "mime-db": "1.51.0" } }, "mimic-fn": { @@ -26841,9 +26841,9 @@ "dev": true }, "webpack": { - "version": "5.62.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.62.1.tgz", - "integrity": "sha512-jNLtnWChS2CMZ7vqWtztv0G6fYB5hz11Zsadp5tE7e4/66zVDj7/KUeQZOsOl8Hz5KrLJH1h2eIDl6AnlyE12Q==", + "version": "5.64.0", + "resolved": "https://registry.npmjs.org/webpack/-/webpack-5.64.0.tgz", + "integrity": "sha512-UclnN24m054HaPC45nmDEosX6yXWD+UGC12YtUs5i356DleAUGMDC9LBAw37xRRfgPKYIdCYjGA7RZ1AA+ZnGg==", "requires": { "@types/eslint-scope": "^3.7.0", "@types/estree": "^0.0.50", diff --git a/package.json b/package.json index 3828e3128a..49b10cc07e 100644 --- a/package.json +++ b/package.json @@ -66,8 +66,8 @@ "@babel/plugin-transform-runtime": "^7.14.5", "@babel/preset-env": "^7.14.5", "@babel/runtime": "^7.14.5", - "@commitlint/cli": "^13.1.0", - "@commitlint/config-conventional": "^13.1.0", + "@commitlint/cli": "^14.1.0", + "@commitlint/config-conventional": "^14.1.0", "acorn": "^8.2.4", "babel-jest": "^27.0.2", "babel-loader": "^8.2.2", @@ -105,7 +105,7 @@ "tcp-port-used": "^1.0.2", "typescript": "^4.2.4", "url-loader": "^4.1.1", - "webpack": "^5.54.0", + "webpack": "^5.64.0", "webpack-cli": "^4.7.2", "webpack-merge": "^5.8.0" }, diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack4 b/test/cli/__snapshots__/basic.test.js.snap.webpack4 index 7befdb84c7..c17c8fda08 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`basic basic should accept the promise function of webpack.config.js: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,13 +10,13 @@ exports[`basic basic should accept the promise function of webpack.config.js: st exports[`basic basic should work using "--host localhost --port ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/, http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; exports[`basic basic should work using multi compiler mode: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -24,7 +24,7 @@ exports[`basic basic should work using multi compiler mode: stderr 1`] = ` exports[`basic basic should work: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/basic.test.js.snap.webpack5 b/test/cli/__snapshots__/basic.test.js.snap.webpack5 index ec58b7444e..3b0387a8bb 100644 --- a/test/cli/__snapshots__/basic.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/basic.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`basic basic should accept the promise function of webpack.config.js: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,13 +10,13 @@ exports[`basic basic should accept the promise function of webpack.config.js: st exports[`basic basic should work using "--host localhost --port ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/, http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; exports[`basic basic should work using multi compiler mode: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -24,7 +24,7 @@ exports[`basic basic should work using multi compiler mode: stderr 1`] = ` exports[`basic basic should work: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack4 b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack4 index 88637ca79b..8cfbdfcb50 100644 --- a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack4 @@ -4,7 +4,7 @@ exports[`"bonjour" CLI option should work using "--bonjour and --https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -13,7 +13,7 @@ exports[`"bonjour" CLI option should work using "--bonjour and --https" 1`] = ` exports[`"bonjour" CLI option should work using "--bonjour" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -22,7 +22,7 @@ exports[`"bonjour" CLI option should work using "--bonjour" 1`] = ` exports[`"bonjour" CLI option should work using "--no-bonjour" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5 b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5 index 88637ca79b..8cfbdfcb50 100644 --- a/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/bonjour-option.test.js.snap.webpack5 @@ -4,7 +4,7 @@ exports[`"bonjour" CLI option should work using "--bonjour and --https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -13,7 +13,7 @@ exports[`"bonjour" CLI option should work using "--bonjour and --https" 1`] = ` exports[`"bonjour" CLI option should work using "--bonjour" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -22,7 +22,7 @@ exports[`"bonjour" CLI option should work using "--bonjour" 1`] = ` exports[`"bonjour" CLI option should work using "--no-bonjour" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/colors.test.js.snap.webpack4 b/test/cli/__snapshots__/colors.test.js.snap.webpack4 index 58b11fcbc0..fd01bfe554 100644 --- a/test/cli/__snapshots__/colors.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/colors.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`colors should work and do not use colors using configuration with disabled colors: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`colors should work and do not use colors using configuration with disab exports[`colors should work do not use colors using "--no-color": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`colors should work do not use colors using "--no-color": stderr 1`] = ` exports[`colors should work use colors by default: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -26,7 +26,7 @@ exports[`colors should work use colors by default: stderr 1`] = ` exports[`colors should work use colors using "--color": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -34,7 +34,7 @@ exports[`colors should work use colors using "--color": stderr 1`] = ` exports[`colors should work use colors using configuration with enabled colors: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/colors.test.js.snap.webpack5 b/test/cli/__snapshots__/colors.test.js.snap.webpack5 index 58b11fcbc0..fd01bfe554 100644 --- a/test/cli/__snapshots__/colors.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/colors.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`colors should work and do not use colors using configuration with disabled colors: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`colors should work and do not use colors using configuration with disab exports[`colors should work do not use colors using "--no-color": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`colors should work do not use colors using "--no-color": stderr 1`] = ` exports[`colors should work use colors by default: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -26,7 +26,7 @@ exports[`colors should work use colors by default: stderr 1`] = ` exports[`colors should work use colors using "--color": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -34,7 +34,7 @@ exports[`colors should work use colors using "--color": stderr 1`] = ` exports[`colors should work use colors using configuration with enabled colors: stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack4 b/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack4 index a4bc670073..bfb7b85086 100644 --- a/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`"historyApiFallback" CLI option should work using "--history-api-fallback" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -11,7 +11,7 @@ exports[`"historyApiFallback" CLI option should work using "--history-api-fallba exports[`"historyApiFallback" CLI option should work using "--no-history-api-fallback" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack5 b/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack5 index a4bc670073..bfb7b85086 100644 --- a/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/historyApiFallback-option.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`"historyApiFallback" CLI option should work using "--history-api-fallback" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory @@ -11,7 +11,7 @@ exports[`"historyApiFallback" CLI option should work using "--history-api-fallba exports[`"historyApiFallback" CLI option should work using "--no-history-api-fallback" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/host-option.test.js.snap.webpack4 b/test/cli/__snapshots__/host-option.test.js.snap.webpack4 index 7d26979963..54a5e6b310 100644 --- a/test/cli/__snapshots__/host-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/host-option.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`"host" CLI option should work using "--host ::" (IPv6): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,13 +10,13 @@ exports[`"host" CLI option should work using "--host ::" (IPv6): stderr 1`] = ` exports[`"host" CLI option should work using "--host ::1" (IPv6): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://[]:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; exports[`"host" CLI option should work using "--host ::1" (IPv6): stderr 2`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://[]:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; @@ -28,7 +28,7 @@ exports[`"host" CLI option should work using "--host ": stderr 1`] = ` exports[`"host" CLI option should work using "--host 0.0.0.0" (IPv4): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -36,7 +36,7 @@ exports[`"host" CLI option should work using "--host 0.0.0.0" (IPv4): stderr 1`] exports[`"host" CLI option should work using "--host 127.0.0.1" (IPv4): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; @@ -54,6 +54,6 @@ exports[`"host" CLI option should work using "--host local-ipv4": stderr 1`] = ` exports[`"host" CLI option should work using "--host localhost": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/, http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; diff --git a/test/cli/__snapshots__/host-option.test.js.snap.webpack5 b/test/cli/__snapshots__/host-option.test.js.snap.webpack5 index 7d26979963..54a5e6b310 100644 --- a/test/cli/__snapshots__/host-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/host-option.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`"host" CLI option should work using "--host ::" (IPv6): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,13 +10,13 @@ exports[`"host" CLI option should work using "--host ::" (IPv6): stderr 1`] = ` exports[`"host" CLI option should work using "--host ::1" (IPv6): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://[]:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; exports[`"host" CLI option should work using "--host ::1" (IPv6): stderr 2`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://[]:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; @@ -28,7 +28,7 @@ exports[`"host" CLI option should work using "--host ": stderr 1`] = ` exports[`"host" CLI option should work using "--host 0.0.0.0" (IPv4): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -36,7 +36,7 @@ exports[`"host" CLI option should work using "--host 0.0.0.0" (IPv4): stderr 1`] exports[`"host" CLI option should work using "--host 127.0.0.1" (IPv4): stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; @@ -54,6 +54,6 @@ exports[`"host" CLI option should work using "--host local-ipv4": stderr 1`] = ` exports[`"host" CLI option should work using "--host localhost": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/, http://:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" `; diff --git a/test/cli/__snapshots__/http2-option.test.js.snap.webpack4 b/test/cli/__snapshots__/http2-option.test.js.snap.webpack4 index c044c3f33c..02e048a58d 100644 --- a/test/cli/__snapshots__/http2-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/http2-option.test.js.snap.webpack4 @@ -4,7 +4,7 @@ exports[`"http2" CLI option should work using "--http2" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -12,7 +12,7 @@ exports[`"http2" CLI option should work using "--http2" 1`] = ` exports[`"http2" CLI option should work using "--no-http2" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/http2-option.test.js.snap.webpack5 b/test/cli/__snapshots__/http2-option.test.js.snap.webpack5 index c044c3f33c..02e048a58d 100644 --- a/test/cli/__snapshots__/http2-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/http2-option.test.js.snap.webpack5 @@ -4,7 +4,7 @@ exports[`"http2" CLI option should work using "--http2" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -12,7 +12,7 @@ exports[`"http2" CLI option should work using "--http2" 1`] = ` exports[`"http2" CLI option should work using "--no-http2" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/https-option.test.js.snap.webpack4 b/test/cli/__snapshots__/https-option.test.js.snap.webpack4 index e4e06f2fdb..e50636d389 100644 --- a/test/cli/__snapshots__/https-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/https-option.test.js.snap.webpack4 @@ -3,7 +3,7 @@ exports[`"https" CLI option should warn using "--https-cacert" and "--https-ca" together 1`] = ` " [webpack-dev-server] Do not specify 'ca' and 'cacert' options together, the 'ca' option will be used. [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -13,7 +13,7 @@ exports[`"https" CLI option should work using "--https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -21,7 +21,7 @@ exports[`"https" CLI option should work using "--https" 1`] = ` exports[`"https" CLI option should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert --https-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -29,7 +29,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx --https-passphrase webpack-dev-server --https-cert --https-cacert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -37,7 +37,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx --https-passphrase webpack-dev-server --https-cert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -45,7 +45,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx-reset --https-pfx --https-passphrase webpack-dev-server --https-cert-reset --https-cert --https-ca-reset --https-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -55,7 +55,7 @@ exports[`"https" CLI option should work using "--https-request-cert" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -63,7 +63,7 @@ exports[`"https" CLI option should work using "--https-request-cert" 1`] = ` exports[`"https" CLI option should work using "--no-https" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -73,7 +73,7 @@ exports[`"https" CLI option should work using "--no-https-request-cert" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/https-option.test.js.snap.webpack5 b/test/cli/__snapshots__/https-option.test.js.snap.webpack5 index e4e06f2fdb..e50636d389 100644 --- a/test/cli/__snapshots__/https-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/https-option.test.js.snap.webpack5 @@ -3,7 +3,7 @@ exports[`"https" CLI option should warn using "--https-cacert" and "--https-ca" together 1`] = ` " [webpack-dev-server] Do not specify 'ca' and 'cacert' options together, the 'ca' option will be used. [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -13,7 +13,7 @@ exports[`"https" CLI option should work using "--https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -21,7 +21,7 @@ exports[`"https" CLI option should work using "--https" 1`] = ` exports[`"https" CLI option should work using "--https-key --https-pfx --https-passphrase webpack-dev-server --https-cert --https-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -29,7 +29,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx --https-passphrase webpack-dev-server --https-cert --https-cacert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -37,7 +37,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx --https-passphrase webpack-dev-server --https-cert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -45,7 +45,7 @@ exports[`"https" CLI option should work using "--https-key --https-pfx

--https-pfx-reset --https-pfx --https-passphrase webpack-dev-server --https-cert-reset --https-cert --https-ca-reset --https-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -55,7 +55,7 @@ exports[`"https" CLI option should work using "--https-request-cert" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -63,7 +63,7 @@ exports[`"https" CLI option should work using "--https-request-cert" 1`] = ` exports[`"https" CLI option should work using "--no-https" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -73,7 +73,7 @@ exports[`"https" CLI option should work using "--no-https-request-cert" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/port-option.test.js.snap.webpack4 b/test/cli/__snapshots__/port-option.test.js.snap.webpack4 index 37a75c4638..f4370b9118 100644 --- a/test/cli/__snapshots__/port-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/port-option.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`"port" CLI option should work using "--port ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"port" CLI option should work using "--port ": stderr 1`] = ` exports[`"port" CLI option should work using "--port auto": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/port-option.test.js.snap.webpack5 b/test/cli/__snapshots__/port-option.test.js.snap.webpack5 index 37a75c4638..f4370b9118 100644 --- a/test/cli/__snapshots__/port-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/port-option.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`"port" CLI option should work using "--port ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"port" CLI option should work using "--port ": stderr 1`] = ` exports[`"port" CLI option should work using "--port auto": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/server-option.test.js.snap.webpack4 b/test/cli/__snapshots__/server-option.test.js.snap.webpack4 index 3d60d4ab2e..786378fc34 100644 --- a/test/cli/__snapshots__/server-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/server-option.test.js.snap.webpack4 @@ -3,7 +3,7 @@ exports[`"server" CLI options should warn using "--server-options-cacert" and "--server-options-ca" together 1`] = ` " [webpack-dev-server] Do not specify 'ca' and 'cacert' options together, the 'ca' option will be used. [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -13,7 +13,7 @@ exports[`"server" CLI options should work using "--no-server-options-request-cer " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -21,7 +21,7 @@ exports[`"server" CLI options should work using "--no-server-options-request-cer exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert --server-options-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -29,7 +29,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert --server-options-cacert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -37,7 +37,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -45,7 +45,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key-reset --server-options-key --server-options-pfx-reset --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert-reset --server-options-cert --server-options-ca-reset --server-options-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -55,7 +55,7 @@ exports[`"server" CLI options should work using "--server-options-request-cert" " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -63,7 +63,7 @@ exports[`"server" CLI options should work using "--server-options-request-cert" exports[`"server" CLI options should work using "--server-type http" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -73,7 +73,7 @@ exports[`"server" CLI options should work using "--server-type https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -83,7 +83,7 @@ exports[`"server" CLI options should work using "--server-type spdy" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/server-option.test.js.snap.webpack5 b/test/cli/__snapshots__/server-option.test.js.snap.webpack5 index 3d60d4ab2e..786378fc34 100644 --- a/test/cli/__snapshots__/server-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/server-option.test.js.snap.webpack5 @@ -3,7 +3,7 @@ exports[`"server" CLI options should warn using "--server-options-cacert" and "--server-options-ca" together 1`] = ` " [webpack-dev-server] Do not specify 'ca' and 'cacert' options together, the 'ca' option will be used. [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -13,7 +13,7 @@ exports[`"server" CLI options should work using "--no-server-options-request-cer " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -21,7 +21,7 @@ exports[`"server" CLI options should work using "--no-server-options-request-cer exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert --server-options-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -29,7 +29,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert --server-options-cacert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -37,7 +37,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -45,7 +45,7 @@ exports[`"server" CLI options should work using "--server-options-key --s exports[`"server" CLI options should work using "--server-options-key-reset --server-options-key --server-options-pfx-reset --server-options-pfx --server-options-passphrase webpack-dev-server --server-options-cert-reset --server-options-cert --server-options-ca-reset --server-options-ca " 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -55,7 +55,7 @@ exports[`"server" CLI options should work using "--server-options-request-cert" " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -63,7 +63,7 @@ exports[`"server" CLI options should work using "--server-options-request-cert" exports[`"server" CLI options should work using "--server-type http" 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -73,7 +73,7 @@ exports[`"server" CLI options should work using "--server-type https" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -83,7 +83,7 @@ exports[`"server" CLI options should work using "--server-type spdy" 1`] = ` " [webpack-dev-server] Generating SSL certificate... [webpack-dev-server] SSL certificate: /node_modules/.cache/webpack-dev-server/server.pem [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: https://localhost:/ + Loopback: https://localhost:/, https://:/, https://[]:/ [webpack-dev-server] On Your Network (IPv4): https://:/ [webpack-dev-server] On Your Network (IPv6): https://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/static-option.test.js.snap.webpack4 b/test/cli/__snapshots__/static-option.test.js.snap.webpack4 index 6977996cf3..dbcfba7e20 100644 --- a/test/cli/__snapshots__/static-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/static-option.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`"static" CLI option should work using "--no-static-serve-index": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"static" CLI option should work using "--no-static-serve-index": stderr exports[`"static" CLI option should work using "--no-static-watch": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`"static" CLI option should work using "--no-static-watch": stderr 1`] = exports[`"static" CLI option should work using "--static new-static --static other-static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static, other-static' directory" @@ -26,7 +26,7 @@ exports[`"static" CLI option should work using "--static new-static --static oth exports[`"static" CLI option should work using "--static new-static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static' directory" @@ -34,7 +34,7 @@ exports[`"static" CLI option should work using "--static new-static": stderr 1`] exports[`"static" CLI option should work using "--static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -42,7 +42,7 @@ exports[`"static" CLI option should work using "--static": stderr 1`] = ` exports[`"static" CLI option should work using "--static-directory static-dir": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'static-dir' directory" @@ -50,7 +50,7 @@ exports[`"static" CLI option should work using "--static-directory static-dir": exports[`"static" CLI option should work using "--static-public-path /public": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -58,7 +58,7 @@ exports[`"static" CLI option should work using "--static-public-path /public": s exports[`"static" CLI option should work using "--static-public-path-reset": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -66,7 +66,7 @@ exports[`"static" CLI option should work using "--static-public-path-reset": std exports[`"static" CLI option should work using "--static-reset --static-directory new-static-directory": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static-directory' directory" @@ -74,7 +74,7 @@ exports[`"static" CLI option should work using "--static-reset --static-director exports[`"static" CLI option should work using "--static-reset": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static-after-reset' directory" @@ -82,7 +82,7 @@ exports[`"static" CLI option should work using "--static-reset": stderr 1`] = ` exports[`"static" CLI option should work using "--static-serve-index": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -90,7 +90,7 @@ exports[`"static" CLI option should work using "--static-serve-index": stderr 1` exports[`"static" CLI option should work using "--static-watch": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/static-option.test.js.snap.webpack5 b/test/cli/__snapshots__/static-option.test.js.snap.webpack5 index 6977996cf3..dbcfba7e20 100644 --- a/test/cli/__snapshots__/static-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/static-option.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`"static" CLI option should work using "--no-static-serve-index": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"static" CLI option should work using "--no-static-serve-index": stderr exports[`"static" CLI option should work using "--no-static-watch": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`"static" CLI option should work using "--no-static-watch": stderr 1`] = exports[`"static" CLI option should work using "--static new-static --static other-static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static, other-static' directory" @@ -26,7 +26,7 @@ exports[`"static" CLI option should work using "--static new-static --static oth exports[`"static" CLI option should work using "--static new-static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static' directory" @@ -34,7 +34,7 @@ exports[`"static" CLI option should work using "--static new-static": stderr 1`] exports[`"static" CLI option should work using "--static": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -42,7 +42,7 @@ exports[`"static" CLI option should work using "--static": stderr 1`] = ` exports[`"static" CLI option should work using "--static-directory static-dir": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'static-dir' directory" @@ -50,7 +50,7 @@ exports[`"static" CLI option should work using "--static-directory static-dir": exports[`"static" CLI option should work using "--static-public-path /public": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -58,7 +58,7 @@ exports[`"static" CLI option should work using "--static-public-path /public": s exports[`"static" CLI option should work using "--static-public-path-reset": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -66,7 +66,7 @@ exports[`"static" CLI option should work using "--static-public-path-reset": std exports[`"static" CLI option should work using "--static-reset --static-directory new-static-directory": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static-directory' directory" @@ -74,7 +74,7 @@ exports[`"static" CLI option should work using "--static-reset --static-director exports[`"static" CLI option should work using "--static-reset": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from 'new-static-after-reset' directory" @@ -82,7 +82,7 @@ exports[`"static" CLI option should work using "--static-reset": stderr 1`] = ` exports[`"static" CLI option should work using "--static-serve-index": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -90,7 +90,7 @@ exports[`"static" CLI option should work using "--static-serve-index": stderr 1` exports[`"static" CLI option should work using "--static-watch": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack4 b/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack4 index afeef4ef69..e01922ddab 100644 --- a/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack4 +++ b/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack4 @@ -2,7 +2,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files --watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files --watc exports[`"watchFiles" CLI option should work using "--watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files ": stde exports[`"watchFiles" CLI option should work using "--watch-files-reset --watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack5 b/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack5 index afeef4ef69..e01922ddab 100644 --- a/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack5 +++ b/test/cli/__snapshots__/watchFiles-option.test.js.snap.webpack5 @@ -2,7 +2,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files --watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -10,7 +10,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files --watc exports[`"watchFiles" CLI option should work using "--watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" @@ -18,7 +18,7 @@ exports[`"watchFiles" CLI option should work using "--watch-files ": stde exports[`"watchFiles" CLI option should work using "--watch-files-reset --watch-files ": stderr 1`] = ` " [webpack-dev-server] Project is running at: - [webpack-dev-server] Loopback: http://localhost:/ + Loopback: http://localhost:/, http://:/, http://[]:/ [webpack-dev-server] On Your Network (IPv4): http://:/ [webpack-dev-server] On Your Network (IPv6): http://[]:/ [webpack-dev-server] Content not from webpack is served from '/public' directory" diff --git a/test/e2e/host.test.js b/test/e2e/host.test.js index 44d95ef781..b84146b8f1 100644 --- a/test/e2e/host.test.js +++ b/test/e2e/host.test.js @@ -12,6 +12,25 @@ const ipv6 = internalIp.v6.sync(); // macos requires root for using ip v6 const isMacOS = process.platform === "darwin"; +function getAddress(host, hostname) { + let address; + + if ( + typeof host === "undefined" || + (typeof host === "string" && host === "") + ) { + address = "::"; + } else if (typeof host === "string" && host === "0.0.0.0") { + address = "0.0.0.0"; + } else if (typeof host === "string" && host === "localhost") { + address = process.version.startsWith("v17") ? "::1" : "127.0.0.1"; + } else { + address = hostname; + } + + return { address }; +} + describe("host", () => { const hosts = [ "", @@ -68,6 +87,8 @@ describe("host", () => { await server.start(); + expect(server.server.address()).toMatchObject(getAddress(host, hostname)); + const { page, browser } = await runBrowser(); const pageErrors = []; @@ -135,6 +156,8 @@ describe("host", () => { await server.start(); + expect(server.server.address()).toMatchObject(getAddress(host, hostname)); + const { page, browser } = await runBrowser(); const pageErrors = []; @@ -204,6 +227,8 @@ describe("host", () => { await server.start(); + expect(server.server.address()).toMatchObject(getAddress(host, hostname)); + const address = server.server.address(); const { page, browser } = await runBrowser(); diff --git a/test/fixtures/https-certificate/server.pfx b/test/fixtures/https-certificate/server.pfx index 4645e131de9b00367dd6ba1aca772c5ca31a1a81..e5ed9c7988603578422a0aeca51ae535b42949ab 100644 GIT binary patch delta 2288 zcmV;qRgJ}}0i|VlTiP``*LLf-)j1FQiI~v@m8Sg)Bl27-0pN}7!1NSzT<$^TcW}Gc%XoKLtN^&Mu z1#!pYWa!+GBIhIf4J$R2#2n16F|%IHvW7T9O6B!tu7nsFfN6l-Uo z4B^gZkTC}p=Iob(8)!myqKOcw8*FT%42%J$jf$x6CHs>h5R5r3^&@P@vH_N`plr@y zD4BwNK+HSW9R`DivGFo%w7JP3DKi{2zCI)Fwdh4hfB|>+T zdMGac#b_@|1ipwvCL;`K`^0TR6XJE+2`RS7dCvJvbo#8TAz2@;|1@Ic#mMuf;qJc; zh^~$f6Rp?wcAZ{su__i?fM}p~WEfz&#ay8&uBwm%5`zVp3odxjUF8XQ(?U*FIPVtY zzec=FXYEqM;-U=h||2rLbgl8{eh)k7cx)bi3C^qo_w zZCcNI38+Meg!|%?Kg4V}upt%fLp~c~8){uf2j4GmX>f6B)?nJ$O1FRWMRgX(5RiSn z46}9$^)Ly(U+Xr!-3)>~sFOTu>EDaid3~0-i)yJVGm*1;DZ8;!+06*z?-wF=7f&Rr z(P`Hq#DL1^Bj~=_ofo3!T!0PlATnj-gjgrkHZ$UlZxvD2Ur@C3U|)3+DrYw-j)uw4 z%l|}8=(OWQ$k0ifuUCKnhT(O&3!4u39G3K9i{MTFiSRT-CCT7SUQdyk1_{Uk^lwtx z@*=`S5@7H<88w>LKQ`9sD40U+)ZxPW179RvCOIi#3>ZQ}&o(q)smb2ebLY=t4qJYS zT{wUUE7uQ@v@%g85%ChBTL#9+Ql5jyC3{IrNedVI48%8-7MXwVxQGIBk3%|2sPwL+vOh zer+6#XVft>w*PTHPR9zgznW!ersb+rKa=**b=EC@Z7uO^p|0!fz67rCtOP`tsY4P5 zbDhsoWq%ZvCdq$52F5AJoPvj9Tm7sPfgs7ngZ#3GD%~dwwrqe`gz(jkRtZ=;O$w7w zAjz_OmvtRez*JdFh{)4!Wp1S@(&+c;nt?gKKtdpxhHqp;nG1a3z2hZ%Uvn=lmdCU+ z8LxP|CdVYLfT+`bu=lPsZaVN*cA6ty^CGR&Af?&l-2;E(|B}Xc>0Q+r4OqJXK&}-7 zRtgv|ff2-j?QC@{+ae}h)&jn!I`V%^_983O2ey{5X7n8<3XSKL21qhTeo5DYez4Ry zy!CEAXtg~rBAZ#hA#jAUs2)#SNT;bu69{}zlT zQioghQDc9n-m+u^MM-pflRp%lQ8y$f1v2KCD+&_MORN7gdFl}G&C5S}y*7-5cKjMK zKJSQqF3E?>B%Zf|3VX9^PqN;10TXBd;6nX4c-=9Xmkk-7rc`_lo57?#yZCzvaYi-l zmA9icZ2MN-G#Q+|d-M+REF$)R%6Ax~AnM);B$?k)-(=1zgC zf`gke4noM*byE~QSPqRUVT=Gr4->@U;40{ztDQ_`Gxn`2tyarr_LKJUnOu=JDT$a8 z43>Yh{#)&i3uGxxT9hF6EmAF{2g)&9;s?*C3#9#=|FHADdJxMbmC;q8LE)%a(4om1 zqm?Vdv5Ff4u~%+f`?_YaNwIUjgD)jVBYc961WH@XdOoK&tac_h`H9~W$pCCMA%%Ww zi$7vEk4D6%7H!oj{aQfC;uD|?KX-!nNUUMLMX{Yb4>u%#crZt-E2QbypMG^-F}|Nl zx$VbRx(HNNs$3B*P|F#gj^RX`bPw|ln#l=bq)-fp6foHG;hQ^3Ci%Mni_dZRyM{Wr zJ$oGe{FIl~`|%3?77)SQG9IJHlS>IWA_%C~MU=Y9C}3Vo&>fb?`v&fQ{R9YBhgU1+ K22pte0tf(ULr;eQ delta 2288 zcmVkA@oIj zbP(7zCKp_|Ev)EO_OF44Oiyg>+O97$Nm4%vKk3?v`f?u`Gt|x{!WfH00tQ>3Ha}%o ztT(j(Yhgtd9e>f`C|chO3W(E*n&}2@TScv(Thy2*-@VG+<%8f}^RT8eg|qio$7H`z zmzhh80J1V2*CqbxPyOs2m+)%qDeCPkM#pqH2Y&9d^zPB^OM1=&%zamfZV88&5p;ri$5whCw^Rq{=UG+VN82C16{ExJ#WD#ISv#C<)|Z>L=(hRd#U zp}2XFl=z)G&|6K&>$ehJcxTiUt9hF@GrB#EcWC$>tR8bc$Xqq>nsK6wZv9 zodEIDjNjCcInG?imAS#W*f`50)p|4iPtU<6o6??n*4qt*b~~2;M8+UE%*PP-?1K>R zW1DrYdOl2ugWm@^sP%r;wx^RIg0lK*c~!Mj2|y)Vrh?zpiM&s04^mtHPpp1Z#Vny& z#(!C~wRzKgaG4+(5|wWnN$K_N)i?!79X>-FJM-$N1285kcdn5MN&F)`v?6~) zI`}F{mQ&*SdbVXWT!lNO`Jzn3RWw{pzg#B}amsTy0h?0CBc-GS!xb+154_{|t9;H4 zedpBKDV1K6SIpOfc$MP?Ft`kZzPUJT`lYmjbKc{stB~ilX*by{iU#SPVgd6}19>?X zG+_~#E~QfFt7m5Gt0-m#f?ou`q#$I#2?r1kf5;&1&Z>Xa1(D(fd2n%` z*w8^3BW{B~!%CE^x)!m3_?jlkYS`wD2CgKUZPbA`TKtMRwFIj>oz9wq2lfVXDa zz>0o{>lG#Ncx{tL#)WfnO&wl->8fNN4aJBhI`e+H=tNyHP$NumfrI)ZpmCYqe1ke< zob+}WNh3AmTj-!3t@VGiV&5ada81z)`#69XNMwgO4)pWP0)jEmhz9Gaek)2x)mY&Y z@c@M<6TGD25tW#vq4QJkX0RQw6pfo&QB&!&m2CqhtKPE*_jPoXl z)y>PO<=Y%f2;!3T%e&eaul)T{Z$W!;4QdF(jAE+oFUed9S>t~w-B?#VfVg^fM*&^D zZ2)_ScV2SO+$&X=y7QGk;M#s)Car)X@>bJ?4d^vOXxFf^gk8Flyv7iO$o9ON`?=21 z*6lWr6qD35ydn{xIE$P0xksjKd%1NE?;70(Qg)_2Z?c{;H(DZfy?}^S{0*M6*oDVx zw3ZLUN$eMAnf!l=-v$Ugg_Kx)YSa#Urj2R+(AXZxsAJ6!h84NPyj~XO9X)FHOKpDZ z11#K1uhoyqo&f=K*mf1kx%ZKQe%-0ad^?WkZ}5s2q#!Ic$F-jc&u@%F%h?;y%X2&{ zLd)tlZH>UW(}r-iS}qNQ3>+TChJgeyMGUM2J7TeREv0|EQqhW-5rjCHtQw>UZUNDo zv1Z1KCqOt1BO&8FG7^|2Mr3#U*Zdy?d{lVbtir!h`EIs40MZ;hvlSJ0oLCpY5dG{4 zc2$QY)2Q-Jl6_ZptKz&ulAX1n&8Mh9%&zdF?Sm~bl2zh*e#WSpX117k!{Ssm3 zl{<~nf3*&*U(U|+q?idPgmx}F)b`y>4E^lqhH<=pF6ZJdt?5J_;rXysP8}kp)?Qu& zF?)ZBQ(idXBfKb`X&_aleto$T^bqQ^k7om|Dz!Wm19U+3bqeVK{wcCde;fWl>k0Sp z?qvHKKx5_=$lenpZC*1=Z`^dEsl;3mjE+M>3rr)Q&G^&|oC&YJ0e&D^wEcWZ@b^b2 zQqYvfHFwKQefa|>G-N1uDq-_%Bk7Hwx94Fshe{QEf@EA{oA&6qZ0Mg-?Xrxf@Zu4r z$7tU_Z`q_yuZn3Wv26^W(Ly0YHlYaNv@&Tih1@tTUD?83gr#w&h~iExzQX*AFXqyg z;Q1MEZ>x%7a9LE@pi}*cI;Yw(lS>IWBFLa3*5_92)LD$Nh4w&U!ixPe@dOBJB>62q K-v>1U0tf&)>S5Rb diff --git a/test/helpers/test-bin.js b/test/helpers/test-bin.js index 9b68584aa4..095a09acd7 100644 --- a/test/helpers/test-bin.js +++ b/test/helpers/test-bin.js @@ -100,6 +100,21 @@ const normalizeStderr = (stderr, options = {}) => { normalizedStderr = normalizedStderr.join("\n"); } + if (normalizedStderr.includes("Loopback:")) { + normalizedStderr = normalizedStderr.split("\n"); + + const loopbackIndex = normalizedStderr.findIndex((item) => + /Loopback:/.test(item) + ); + + const protocol = options.https ? "https" : "http"; + + normalizedStderr[ + loopbackIndex + ] = ` Loopback: ${protocol}://localhost:/, ${protocol}://:/, ${protocol}://[]:/`; + normalizedStderr = normalizedStderr.join("\n"); + } + if (options.ipv6 && !normalizedStderr.includes("On Your Network (IPv6):")) { // Github Actions doesnt' support IPv6 on ubuntu in some cases normalizedStderr = normalizedStderr.split("\n"); diff --git a/test/server/Server.test.js b/test/server/Server.test.js index db2a5b0ec8..025f0f2eeb 100644 --- a/test/server/Server.test.js +++ b/test/server/Server.test.js @@ -805,92 +805,6 @@ describe("Server", () => { compiler = webpack(config); }); - it('should work and using "port" and "host" from options', (done) => { - const options = { - host: "localhost", - port, - }; - - server = new Server(options, compiler); - - // eslint-disable-next-line no-undefined - server.listen(undefined, undefined, () => { - const info = server.server.address(); - - expect(info.address).toBe("127.0.0.1"); - expect(info.port).toBe(port); - - server.close(done); - }); - }); - - it('should work and using "port" and "host" from arguments', (done) => { - server = new Server({}, compiler); - - server.listen(port, "127.0.0.1", () => { - const info = server.server.address(); - - expect(info.address).toBe("127.0.0.1"); - expect(info.port).toBe(port); - - server.close(done); - }); - }); - - it('should work and using the same "port" and "host" from options and arguments', (done) => { - const options = { - host: "localhost", - port, - }; - - server = new Server(options, compiler); - - server.listen(options.port, options.host, () => { - const info = server.server.address(); - - expect(info.address).toBe("127.0.0.1"); - expect(info.port).toBe(port); - - server.close(done); - }); - }); - - it('should work and using "port" from arguments and "host" from options', (done) => { - const options = { - host: "127.0.0.1", - }; - - server = new Server(options, compiler); - - // eslint-disable-next-line no-undefined - server.listen(port, undefined, () => { - const info = server.server.address(); - - expect(info.address).toBe("127.0.0.1"); - expect(info.port).toBe(port); - - server.close(done); - }); - }); - - it('should work and using "port" from options and "port" from arguments', (done) => { - const options = { - port, - }; - - server = new Server(options, compiler); - - // eslint-disable-next-line no-undefined - server.listen(undefined, "127.0.0.1", () => { - const info = server.server.address(); - - expect(info.address).toBe("127.0.0.1"); - expect(info.port).toBe(port); - - server.close(done); - }); - }); - it('should log warning when the "port" and "host" options from options different from arguments', (done) => { const options = { host: "127.0.0.2",