Skip to content

Commit 3cf7f9f

Browse files
Merge branch 'master' into fix-4180
2 parents a8b39c2 + 83951c8 commit 3cf7f9f

File tree

103 files changed

+7259
-7132
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+7259
-7132
lines changed

.github/workflows/nodejs.yml

+14-5
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
- next
1313
- v4
1414

15+
permissions:
16+
contents: read
17+
1518
jobs:
1619
lint:
1720
name: Lint - ${{ matrix.os }} - Node v${{ matrix.node-version }}
@@ -27,12 +30,12 @@ jobs:
2730
runs-on: ${{ matrix.os }}
2831

2932
steps:
30-
- uses: actions/checkout@v2
33+
- uses: actions/checkout@v3
3134
with:
3235
fetch-depth: 0
3336

3437
- name: Use Node.js ${{ matrix.node-version }}
35-
uses: actions/setup-node@v2
38+
uses: actions/setup-node@v3
3639
with:
3740
node-version: ${{ matrix.node-version }}
3841
cache: "npm"
@@ -43,6 +46,12 @@ jobs:
4346
- name: Lint
4447
run: npm run lint
4548

49+
- name: Build types
50+
run: npm run build:types
51+
52+
- name: Check types
53+
run: if [ -n "$(git status types --porcelain)" ]; then echo "Missing types. Update types by running 'npm run build:types'"; exit 1; else echo "All types are valid"; fi
54+
4655
- name: Security audit
4756
run: npm audit --production
4857

@@ -65,10 +74,10 @@ jobs:
6574
runs-on: ${{ matrix.os }}
6675

6776
steps:
68-
- uses: actions/checkout@v2
77+
- uses: actions/checkout@v3
6978

7079
- name: Use Node.js ${{ matrix.node-version }}
71-
uses: actions/setup-node@v2
80+
uses: actions/setup-node@v3
7281
with:
7382
node-version: ${{ matrix.node-version }}
7483
cache: "npm"
@@ -96,6 +105,6 @@ jobs:
96105
run: npm run test:coverage -- --ci
97106

98107
- name: Submit coverage data to codecov
99-
uses: codecov/codecov-action@v2
108+
uses: codecov/codecov-action@v3
100109
with:
101110
token: ${{ secrets.CODECOV_TOKEN }}

CHANGELOG.md

+59
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,65 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
### [4.9.3](https://github.com/webpack/webpack-dev-server/compare/v4.9.2...v4.9.3) (2022-06-29)
6+
7+
8+
### Bug Fixes
9+
10+
* avoid creation unnecessary stream for static sockjs file ([#4482](https://github.com/webpack/webpack-dev-server/issues/4482)) ([049b153](https://github.com/webpack/webpack-dev-server/commit/049b153b87ab908ae53b71356e0716bb3fc5bf07))
11+
* history-api-fallback now supports HEAD requests and handles them the same as GET ([8936082](https://github.com/webpack/webpack-dev-server/commit/8936082809a9575f231afbcad6a32bb8e14d6dce))
12+
13+
### [4.9.2](https://github.com/webpack/webpack-dev-server/compare/v4.9.1...v4.9.2) (2022-06-06)
14+
15+
16+
### Bug Fixes
17+
18+
* add `@types/serve-static` to dependencies ([#4468](https://github.com/webpack/webpack-dev-server/issues/4468)) ([af83deb](https://github.com/webpack/webpack-dev-server/commit/af83deb199dc1d8cae4365ec2c5acf07e29358df))
19+
20+
### [4.9.1](https://github.com/webpack/webpack-dev-server/compare/v4.9.0...v4.9.1) (2022-05-31)
21+
22+
23+
### Bug Fixes
24+
25+
* security problem with sockjs ([#4465](https://github.com/webpack/webpack-dev-server/issues/4465)) ([e765182](https://github.com/webpack/webpack-dev-server/commit/e765182e426cbca9c3c09294b02ac2d9737c1d74))
26+
27+
## [4.9.0](https://github.com/webpack/webpack-dev-server/compare/v4.8.1...v4.9.0) (2022-05-04)
28+
29+
30+
### Features
31+
32+
* support Trusted Types for client overlay ([#4404](https://github.com/webpack/webpack-dev-server/issues/4404)) ([8132e1d](https://github.com/webpack/webpack-dev-server/commit/8132e1d029badab7b1e836f8f240844c2d843ecc))
33+
34+
35+
### Bug Fixes
36+
37+
* ie11 runtime ([#4403](https://github.com/webpack/webpack-dev-server/issues/4403)) ([256d5fb](https://github.com/webpack/webpack-dev-server/commit/256d5fb5fea7ee5a6683f77ea347ac79816ad639))
38+
* replace portfinder with custom implementation and fix security problem ([#4384](https://github.com/webpack/webpack-dev-server/issues/4384)) ([eea50f3](https://github.com/webpack/webpack-dev-server/commit/eea50f342e3090483f6da4932b84ed52bba44c58))
39+
* use the host in options to check if port is available ([#4385](https://github.com/webpack/webpack-dev-server/issues/4385)) ([a10c7cf](https://github.com/webpack/webpack-dev-server/commit/a10c7cfd290d29384d14405d7cf79e105c7b5d15))
40+
41+
### [4.8.1](https://github.com/webpack/webpack-dev-server/compare/v4.8.0...v4.8.1) (2022-04-06)
42+
43+
44+
### Bug Fixes
45+
46+
* types ([#4373](https://github.com/webpack/webpack-dev-server/issues/4373)) ([f6fe6be](https://github.com/webpack/webpack-dev-server/commit/f6fe6be27656c9cc1e65a894a889d7443be7e6a8))
47+
48+
## [4.8.0](https://github.com/webpack/webpack-dev-server/compare/v4.7.4...v4.8.0) (2022-04-05)
49+
50+
51+
### Features
52+
53+
* export initialized socket client ([#4304](https://github.com/webpack/webpack-dev-server/issues/4304)) ([7920364](https://github.com/webpack/webpack-dev-server/commit/7920364d6b6ac29e1b7fdbb38c8a9fe22eec61de))
54+
55+
56+
### Bug Fixes
57+
58+
* update description for `--no-client-reconnect` ([#4248](https://github.com/webpack/webpack-dev-server/issues/4248)) ([317648d](https://github.com/webpack/webpack-dev-server/commit/317648df21562f9dfe1b9f8069642b91ac3bffae))
59+
* update description for `--no-client` ([#4250](https://github.com/webpack/webpack-dev-server/issues/4250)) ([c3b6690](https://github.com/webpack/webpack-dev-server/commit/c3b669077089802412774079f38a13bce054eee7))
60+
* update description for `--no-history-api-fallback` ([#4277](https://github.com/webpack/webpack-dev-server/issues/4277)) ([d63a0a2](https://github.com/webpack/webpack-dev-server/commit/d63a0a298739d599f2161b237a750220c314deef))
61+
* update negated descriptions for more options ([#4287](https://github.com/webpack/webpack-dev-server/issues/4287)) ([c64bd94](https://github.com/webpack/webpack-dev-server/commit/c64bd94fb75c30984281f71ad3c20393fcb5ee67))
62+
* update schema to have `negatedDescription` only for type `boolean` ([#4280](https://github.com/webpack/webpack-dev-server/issues/4280)) ([fcf8e8e](https://github.com/webpack/webpack-dev-server/commit/fcf8e8e6a9951f4283e796df3ad72cc803e634a3))
63+
564
### [4.7.4](https://github.com/webpack/webpack-dev-server/compare/v4.7.3...v4.7.4) (2022-02-02)
665

766

0 commit comments

Comments
 (0)