webpack-hot-middleware
Advanced tools
Comparing version 2.0.1 to 2.0.2
/*eslint-env browser*/ | ||
/*global __resourceQuery*/ | ||
require("eventsource-polyfill"); | ||
var options = { | ||
@@ -7,0 +5,0 @@ path: "/__webpack_hmr", |
@@ -29,3 +29,3 @@ module.exports = webpackHotMiddleware; | ||
return function(req, res, next) { | ||
if (req.path !== opts.path) return next(); | ||
if (req.url !== opts.path) return next(); | ||
eventStream.handler(req, res); | ||
@@ -32,0 +32,0 @@ }; |
{ | ||
"name": "webpack-hot-middleware", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Webpack hot reloading you can attach to your own server", | ||
@@ -16,5 +16,4 @@ "main": "middleware.js", | ||
"dependencies": { | ||
"eventsource-polyfill": "^0.9.6", | ||
"strip-ansi": "^2.0.1" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1
0
16209
352
- Removedeventsource-polyfill@^0.9.6
- Removedeventsource-polyfill@0.9.6(transitive)