Socket
Socket
Sign inDemoInstall

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 1.0.0 to 1.1.0

3

middleware.js

@@ -5,3 +5,3 @@ module.exports = webpackHotMiddleware;

opts = opts || {};
opts.log = typeof opts.log == 'undefined' ? console.log : false;
opts.log = typeof opts.log == 'undefined' ? console.log : opts.log;
opts.path = opts.path || '/__webpack_hmr';

@@ -51,2 +51,3 @@ opts.heartbeat = opts.heartbeat || 10 * 1000;

res.writeHead(200, {
'Access-Control-Allow-Origin': '*',
'Content-Type': 'text/event-stream;charset=utf-8',

@@ -53,0 +54,0 @@ 'Cache-Control': 'no-cache',

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

@@ -5,0 +5,0 @@ "main": "middleware.js",

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