Socket
Socket
Sign inDemoInstall

webpack-dev-server

Package Overview
Dependencies
257
Maintainers
4
Versions
217
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous1
35
22Next

4.5.0

Diff

Changelog

Source

4.5.0 (2021-11-13)

Features

  • add --web-socket-server-type option for CLI (#4001) (17c390a)
  • show deprecation warning for https/http2 option, migration guide for https and migration guide for http2 (because we use spdy for http2 due express doesn't support http2) (#4003) (521cf85)

Bug Fixes

evilebottnawi
published 3.11.3 •

evilebottnawi
published 4.4.0 •

Changelog

Source

4.4.0 (2021-10-27)

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

evilebottnawi
published 4.3.1 •

Changelog

Source

4.3.1 (2021-10-04)

Bug Fixes

evilebottnawi
published 4.3.0 •

Changelog

Source

4.3.0 (2021-09-25)

Features

Bug Fixes

  • avoid web socket connection when web socket server is not running (#3879) (8874d72)
  • display file name for warnings/errors in overlay (#3867) (d20def5)
  • formatting errors/warnings (#3877) (f0dbea0)
  • handle 0 value of the port option property (ed67f66)
evilebottnawi
published 4.2.1 •

Changelog

Source

4.2.1 (2021-09-13)

Bug Fixes

evilebottnawi
published 4.2.0 •

Changelog

Source

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

  • accept connections with file: and chrome-extensions: protocol by default (#3822) (138f064)
  • close overlay on disconnection (#3825) (011bcf1)
  • respect https.cacert option (#3820) (0002ebf)
evilebottnawi
published 4.1.1 •

Changelog

Source

4.1.1 (2021-09-07)

Bug Fixes

  • improve the description of the magicHtml option (#3772) (b80610f)
  • replace ansi-html with ansi-html-community to avoid CVE (#3801) (36fd214)
evilebottnawi
published 4.1.0 •

Changelog

Source

4.1.0 (2021-08-31)

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)
evilebottnawi
published 4.0.0 •

Changelog

Source

4.0.0 (2021-08-18)

Notes:

  • migration guide from v3 to v4 can be found here

Bug Fixes

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc