Socket
Socket
Sign inDemoInstall

webpack-dev-middleware

Package Overview
Dependencies
Maintainers
4
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-dev-middleware - npm Package Versions

1
12

4.0.3

Diff

Changelog

Source

4.0.3 (2021-01-12)

Bug Fixes

  • output stats to stdout instead stderr, how does webpack-cli, if you need hide stats from output please use { stats: false } or { stats: 'none' } (4de0f97)
  • colors are working for stats (4de0f97)
  • schema description (#783) (f9ce2b2)
  • skip Content-type header on unknown types (#809) (5c9eee5)
evilebottnawi
published 3.7.3 •

evilebottnawi
published 4.0.2 •

Changelog

Source

4.0.2 (2020-11-10)

Bug Fixes

evilebottnawi
published 4.0.1 •

Changelog

Source

4.0.1 (2020-11-09)

Bug Fixes

  • compatibility with connect (b83a1db)
evilebottnawi
published 4.0.0 •

Changelog

Source

4.0.0 (2020-10-28)

⚠ BREAKING CHANGES

  • export in CommonJS format

Bug Fixes

evilebottnawi
published 4.0.0-rc.3 •

Changelog

Source

4.0.0-rc.3 (2020-07-14)

  • internal improvements
evilebottnawi
published 4.0.0-rc.2 •

Changelog

Source

4.0.0-rc.2 (2020-06-30)

Bug Fixes

evilebottnawi
published 4.0.0-rc.1 •

Changelog

Source

4.0.0-rc.1 (2020-02-20)

Bug Fixes

evilebottnawi
published 4.0.0-rc.0 •

Changelog

Source

4.0.0-rc.0 (2020-02-19)

Bug Fixes

  • respect output.path and output.publicPath options from the configuration
  • respect the stats option from the configuration
  • respect the watchOptions option from the configuration
  • the writeToDisk option now correctly works in multi-compiler mode
  • the outputFileSystem option now correctly works in multi-compiler mode
  • respect [hash]/[fullhash] in output.path and output.publicPath
  • handle exceptions for filesystem operations
  • the Content-Type header doesn't have charset=utf-8 value for custom MIME types and MIME types which can be non utf-8

Features

  • validate options
  • migrate on the webpack logger
  • migrate on the memfs package
  • improve performance

BREAKING CHANGES

  • minimum supported Node.js version is 10.13.0
  • the default value of the option publicPath is taken from the value of the output.publicPath option from the configuration (webpack.config.js)
  • the stats option was removed, the default value of the stats option is taken from the value of the stats option from the configuration (webpack.config.js)
  • the watchOptions was removed, the default value of the watchOptions option is taken from the value of the watchOptions option from the configuration (webpack.config.js)
  • the Content-Type header doesn't have charset=utf-8 value for custom MIME types and MIME types which can be non utf-8
  • the fs option was renamed to the outputFileSystem option
  • the lazy option was removed without replacement
  • the logger, logLevel and logTime options were removed without replacement. You can setup the level value using { infrastructureLogging: { level: 'warn' } }, please read https://webpack.js.org/configuration/other-options/#infrastructurelogging. You can use the infrastructurelog (infrastructureLog in webpack@5) hook to customize logs. The log property in the middleware context was renamed to logger
  • the mimeTypes option first requires you to specify an extension and then a content-type - { mimeTypes: { phtml: 'text/html' } }
  • the force option from the mimeTypes option was removed without replacement
  • the reporter option was removed without replacement
  • the getFilenameFromUrl method was removed from the API
  • the middleware locals now under res.locals.webpack - use res.locals.webpack.stats for access stats and res.locals.webpack.outputFileSystem to access outputFileSystem
evilebottnawi
published 3.7.2 •

Changelog

Source

3.7.2 (2019-09-28)

Bug Fixes

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc