Skip to content

Commit f782faa

Browse files
committed
fix: update webpack-dev-middleware to version 7.4.5 and adjust snapshot for response headers
1 parent 07cc1f0 commit f782faa

3 files changed

Lines changed: 128 additions & 33 deletions

File tree

package-lock.json

Lines changed: 126 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
"serve-index": "^1.9.1",
7171
"sockjs": "^0.3.24",
7272
"spdy": "^4.0.2",
73-
"webpack-dev-middleware": "^7.4.2",
73+
"webpack-dev-middleware": "^7.4.5",
7474
"ws": "^8.18.0"
7575
},
7676
"devDependencies": {

test/e2e/__snapshots__/built-in-routes.test.js.snap.webpack5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ exports[`Built in routes with simple config should handle HEAD request to direct
5656

5757
exports[`Built in routes with simple config should handle HEAD request to directory index: page errors 1`] = `[]`;
5858

59-
exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `text/javascript; charset=utf-8`;
59+
exports[`Built in routes with simple config should handle HEAD request to directory index: response headers content-type 1`] = `"text/html; charset=utf-8"`;
6060

6161
exports[`Built in routes with simple config should handle HEAD request to directory index: response status 1`] = `200`;
6262

0 commit comments

Comments
 (0)