Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency webpack-dev-server to v5 #315

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mend-for-github-com[bot]
Copy link

@mend-for-github-com mend-for-github-com bot commented Dec 12, 2024

This PR contains the following updates:

Package Type Update Change
webpack-dev-server devDependencies major ^3.9.0 -> ^5.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
Critical 9.8 CVE-2022-0691 #194
Critical 9.8 CVE-2023-42282 #249
Critical 9.1 CVE-2022-0686 #124
High 8.1 CVE-2022-1650 #147
High 7.7 CVE-2021-23386 #54
High 7.5 CVE-2022-24771 #135
High 7.5 CVE-2022-24772 #134
High 7.5 CVE-2024-37890 #268
High 7.5 CVE-2024-45296 #284
High 7.5 CVE-2024-52798 #311
High 7.4 CVE-2024-29180 #256
Medium 6.6 WS-2022-0008 #95
Medium 6.1 CVE-2022-0122 #93
Medium 6.1 CVE-2024-29041 #253
Medium 5.3 CVE-2021-32640 #55
Medium 5.3 CVE-2021-3664 #61
Medium 5.3 CVE-2022-0512 #122
Medium 5.3 CVE-2022-0639 #123
Medium 5.3 CVE-2022-24773 #133
Medium 5.3 CVE-2024-47764 #291
Medium 5.0 CVE-2024-43796 #287
Medium 5.0 CVE-2024-43799 #286

Release Notes

webpack/webpack-dev-server (webpack-dev-server)

v5.2.0

Compare Source

Features
  • added getClientEntry and getClientHotEntry methods to get clients entries (dc642a8)
Bug Fixes
  • speed up initial client bundling (145b5d0)

v5.1.0

Compare Source

Features
  • add visual progress indicators (a8f40b7)
  • added the app option to be Function (by default only with connect compatibility frameworks) (3096148)
  • allow the server option to be Function (#​5275) (02a1c6d)
  • http2 support for connect and connect compatibility frameworks which support HTTP2 (#​5267) (6509a3f)
Bug Fixes
5.0.4 (2024-03-19)
Bug Fixes
5.0.3 (2024-03-12)
Bug Fixes
5.0.2 (2024-02-16)
Bug Fixes
5.0.1 (2024-02-13)
Bug Fixes

v5.0.4

Compare Source

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

v5.0.0

Compare Source

Migration Guide and Changes.

4.15.1 (2023-06-09)
Bug Fixes

v4.15.2

Compare Source

4.15.2 (2024-03-20)
Bug Fixes
  • security: bump webpack-dev-middleware (4116209)

v4.15.1

Compare Source

v4.15.0

Compare Source

Features

v4.14.0

Compare Source

Features
4.13.3 (2023-04-15)
Bug Fixes
4.13.2 (2023-03-31)
Bug Fixes
  • prevent open 0.0.0.0 in browser due windows problems (04e74f2)
4.13.1 (2023-03-18)
Bug Fixes

v4.13.3

Compare Source

v4.13.2

Compare Source

v4.13.1

Compare Source

v4.13.0

Compare Source

Features
  • added client.overlay.runtimeErrors option to control runtime errors (#​4773) (dca2366)

v4.12.0

Compare Source

Features
Bug Fixes
4.11.1 (2022-09-19)
Bug Fixes

v4.11.1

Compare Source

v4.11.0

Compare Source

Features
  • make allowedHosts accept localhost subdomains by default (#​4357) (0a33e6a)
Bug Fixes
4.10.1 (2022-08-29)
Bug Fixes

v4.10.1

Compare Source

v4.10.0

Compare Source

Features
  • allow to configure more client options via resource URL (#​4274) (216e3cb)
Bug Fixes
4.9.3 (2022-06-29)
Bug Fixes
  • avoid creation unnecessary stream for static sockjs file (#​4482) (049b153)
  • history-api-fallback now supports HEAD requests and handles them the same as GET (8936082)
4.9.2 (2022-06-06)
Bug Fixes
4.9.1 (2022-05-31)
Bug Fixes

v4.9.3

Compare Source

v4.9.2

Compare Source

v4.9.1

Compare Source

v4.9.0

Compare Source

Features
Bug Fixes
4.8.1 (2022-04-06)
Bug Fixes

v4.8.1

Compare Source

v4.8.0

Compare Source

Features
Bug Fixes
4.7.4 (2022-02-02)
Bug Fixes
4.7.3 (2022-01-11)
Security
  • update selfsigned to 2.0.0 version
4.7.2 (2021-12-29)
Bug Fixes
  • apply onAfterSetupMiddleware after setupMiddlewares (as behavior earlier) (f6bc644)
4.7.1 (2021-12-22)
Bug Fixes
  • removed url package, fixed compatibility with future webpack defaults (#​4132) (4e5d8ea)

v4.7.4

Compare Source

v4.7.3

Compare Source

v4.7.2

Compare Source

v4.7.1

Compare Source

v4.7.0

Compare Source

Features
  • added the setupMiddlewares option and deprecated onAfterSetupMiddleware and onBeforeSetupMiddleware options (#​4068) (c13aa56)
  • added types (8f02c3f)
  • show deprecation warning for cacert option (#​4115) (c73ddfb)
Bug Fixes

v4.6.0

Compare Source

Features
Bug Fixes

v4.5.0

Compare Source

Features
Bug Fixes

v4.4.0

Compare Source

Features
  • added the server option, now you can pass server options, example { server: { type: 'http', options: { maxHeaderSize: 32768 } } }, available options for http and https, note - for http2 is used spdy, options specified in the server.options option take precedence over https/http2 options (#​3940) (a70a7ef)
  • added the client.reconnect option (#​3912) (5edad76)
  • improve error handling within startCallback and endCallback (#​3969) (b0928ac)
Bug Fixes
4.3.1 (2021-10-04)
Bug Fixes

v4.3.1

Compare Source

v4.3.0

Compare Source

Features
Bug Fixes
4.2.1 (2021-09-13)
Bug Fixes
4.2.0 (2021-09-09)
Features
  • added the http.ca option (CLI option added too) (should be used instead cacert, because we will remove it in the next major release in favor the https.ca option)
  • added the https.crl option (CLI options added too), more information
  • https.ca/https.cacert/ https.cert/https.crl/https.key/https.pfx options are now accept Arrays of Buffer/string/Path to file, using --https-*-reset CLI options you can reset these options
  • https.pfx/https.key can be Object[], more information
  • https options can now accept custom options, you can use:
module.exports = {
  // Other options
  devServer: {
    https: {
      // Allow to set additional TSL options https://nodejs.org/api/tls.html#tls_tls_createsecurecontext_options
      minVersion: "TLSv1.1",
      ca: path.join(httpsCertificateDirectory, "ca.pem"),
      pfx: path.join(httpsCertificateDirectory, "server.pfx"),
      key: path.join(httpsCertificateDirectory, "server.key"),
      cert: path.join(httpsCertificateDirectory, "server.crt"),
      passphrase: "webpack-dev-server",
    },
  }
};
Bug Fixes
4.1.1 (2021-09-07)
Bug Fixes

v4.2.1

Compare Source

v4.2.0

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

Features
  • added the magicHtml option (#​3717) (4831f58)
  • allow to set hot and live-reload for client using search params (1c57680)
  • show warning when the hot option is enabled with the HMR plugin in config (#​3744) (6cb1e4e)
Bug Fixes
  • change log type of Disconnected! to info (fde27f5)
  • handle --allowed-hosts all correctly (#​3720) (326ed56)
  • output documentation link on errors (#​3680) (e16221b)
  • respect the bypass option with target/router options for proxy (b5dd568)

v4.0.0

Compare Source

v3.11.3

Compare Source

3.11.3 (2021-11-08)
Bug Fixes

v3.11.2

Compare Source

3.11.2 (2021-01-13)
Bug Fixes
  • cli arguments for serve command (a5fe337)

v3.11.1

Compare Source

3.11.1 (2020-12-29)
Bug Fixes

v3.11.0

Compare Source

Features
Bug Fixes
3.10.3 (2020-02-05)
Bug Fixes
3.10.2 (2020-01-31)
Bug Fixes
3.10.1 (2019-12-19)
Bug Fixes

v3.10.3

Compare Source

v3.10.2

Compare Source

v3.10.1

Compare Source

v3.10.0

Compare Source

Features
  • client: allow sock port to use location's port (sockPort: 'location') (#​2341) (dc10d06)
  • server: add contentBasePublicPath option (#​2150) (cee700d)
Bug Fixes

  • If you want to rebase/retry this PR, check this box

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by WhiteSource label Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by WhiteSource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants