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 v4 - autoclosed #475

Conversation

mend-for-jackfan.us.kg[bot]
Copy link

This PR contains the following updates:

Package Type Update Change
webpack-dev-server dependencies major ^3.1.14 -> ^4.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-2019-10747 #379
Critical 9.8 CVE-2020-7720 #429
Critical 9.8 CVE-2021-44906 #394
Critical 9.8 CVE-2022-0691 #398
Critical 9.8 CVE-2023-42282 #423
Critical 9.1 CVE-2022-0686 #419
High 8.1 CVE-2022-1650 #414
High 7.7 CVE-2021-23386 #395
High 7.5 CVE-2019-20149 #376
High 7.5 CVE-2021-23424 #396
High 7.5 CVE-2021-3807 #415
High 7.5 CVE-2022-24771 #408
High 7.5 CVE-2022-24772 #406
High 7.5 CVE-2022-24999 #417
High 7.5 CVE-2022-38900 #383
High 7.5 CVE-2024-45296 #446
High 7.5 CVE-2024-52798 #465
High 7.4 CVE-2024-29180 #377
High 7.3 CVE-2020-7774 #388
High 7.3 CVE-2021-23440 #428
High 7.3 CVE-2023-26159 #393
High 7.2 CVE-2021-23337 #390

Release Notes

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

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

v3.9.0

Compare Source

Bug Fixes
Features
3.8.2 (2019-10-02)
Security
  • update selfsigned package
3.8.1 (2019-09-16)
Bug Fixes

v3.8.2

Compare Source

v3.8.1

Compare Source

v3.8.0

Compare Source

Bug Fixes
Features
Potential Breaking changes

We have migrated serverMode and clientMode to transportMode as an experimental option. If you want to use this feature, you have to change your settings.

Related PR: https://github.com/webpack/webpack-dev-server/pull/2116

3.7.2 (2019-06-17)
Bug Fixes
3.7.1 (2019-06-07)
Bug Fixes
  • retry finding port when port is null and get ports in sequence (#​1993) (bc57514)

v3.7.2

Compare Source

v3.7.1

Compare Source

v3.7.0

Compare Source

Bug Fixes

v3.6.0

Compare Source

Bug Fixes
Features
3.5.1 (2019-06-01)
Bug Fixes

v3.5.1

Compare Source

v3.5.0

Compare Source

Bug Fixes
Features
3.4.1 (2019-05-17)
Bug Fixes

v3.4.1

Compare Source

v3.4.0

Compare Source

Bug Fixes
Features

v3.3.1

Compare Source

Bug Fixes

v3.3.0

Compare Source

Bug Fixes
Features

3.2.1 (2019-02-25)

Bug Fixes
  • deprecation message about setup now warning about v4 (#​1684) (523a6ec)
  • regression: allow ca, key and cert will be string (#​1676) (b8d5c1e)
  • regression: handle key, cert, cacert and pfx in CLI (#​1688) (4b2076c)
  • regression: problem with idb-connector after update internal-ip (#​1691) (eb48691)

3.1.14 (2018-12-24)

Bug Fixes

3.1.13 (2018-12-22)

Bug Fixes

3.1.12 (2018-12-22)

Bug Fixes

3.1.11 (2018-12-21)

Bug Fixes

3.1.10 (2018-10-23)

Bug Fixes

3.1.9 (2018-09-24)

3.1.8 (2018-09-06)

Bug Fixes
  • package: yargs security vulnerability (dependencies) (#​1492) (8fb67c9)
  • utils/createLogger: ensure quiet always takes precedence (options.quiet) (#​1486) (7a6ca47)

3.1.7 (2018-08-29)

Bug Fixes

3.1.6 (2018-08-26)

Bug Fixes
  • bin: handle process signals correctly when the server isn't ready yet (#​1432) (334c3a5)
  • examples/cli: correct template path in open-page example (#​1401) (df30727)
  • schema: allow the output filename to be a {Function} (#​1409) (e2220c4)

v3.2.1

Compare Source

Bug Fixes
  • deprecation message about setup now warning about v4 (#​1684) (523a6ec)
  • regression: allow ca, key and cert will be string (#​1676) (b8d5c1e)
  • regression: handle key, cert, cacert and pfx in CLI (#​1688) (4b2076c)
  • regression: problem with idb-connector after update internal-ip (#​1691) (eb48691)

v3.2.0

Compare Source

Bug Fixes
Features

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

@mend-for-jackfan.us.kg mend-for-jackfan.us.kg bot added the security fix Security fix generated by WhiteSource label Jan 12, 2025
@mend-for-jackfan.us.kg mend-for-jackfan.us.kg bot changed the title Update dependency webpack-dev-server to v4 Update dependency webpack-dev-server to v4 - autoclosed Jan 31, 2025
@mend-for-jackfan.us.kg mend-for-jackfan.us.kg bot deleted the whitesource-remediate/webpack-dev-server-4.x branch January 31, 2025 18:05
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