Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpack-hot-middleware

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-hot-middleware - npm Package Compare versions

Comparing version 2.12.1 to 2.12.2

3

client-overlay.js

@@ -18,3 +18,4 @@ /*eslint-env browser*/

bottom: 0,
overflow: 'auto'
overflow: 'auto',
dir: 'ltr'
};

@@ -21,0 +22,0 @@ for (var key in styles) {

{
"name": "webpack-hot-middleware",
"version": "2.12.1",
"version": "2.12.2",
"description": "Webpack hot reloading you can attach to your own server",

@@ -5,0 +5,0 @@ "keywords": [

@@ -106,12 +106,4 @@ # Webpack Hot Middleware

```js
var app = koa();
Use [koa-webpack-middleware](https://www.npmjs.com/package/koa-webpack-middleware), which wraps this module and makes it work with koa.
var hotMiddleware = require("webpack-hot-middleware")(compiler);
app.use(function* (next) {
yield hotMiddleware.bind(null, this.request, this.response);
yield next;
});
```
## Troubleshooting

@@ -118,0 +110,0 @@

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