react-dev-utils
Advanced tools
Comparing version 12.0.0 to 12.0.1
@@ -14,3 +14,3 @@ /** | ||
return function noopServiceWorkerMiddleware(req, res, next) { | ||
if (req.url === path.join(servedPath, 'service-worker.js')) { | ||
if (req.url === path.posix.join(servedPath, 'service-worker.js')) { | ||
res.setHeader('Content-Type', 'text/javascript'); | ||
@@ -17,0 +17,0 @@ res.send( |
{ | ||
"name": "react-dev-utils", | ||
"version": "12.0.0", | ||
"version": "12.0.1", | ||
"description": "webpack utilities used by Create React App", | ||
@@ -74,3 +74,3 @@ "repository": { | ||
"prompts": "^2.4.2", | ||
"react-error-overlay": "^6.0.10", | ||
"react-error-overlay": "^6.0.11", | ||
"recursive-readdir": "^2.2.2", | ||
@@ -88,3 +88,3 @@ "shell-quote": "^1.7.3", | ||
}, | ||
"gitHead": "221e511730ca51c036c6954a9d2ee7659ff860f9" | ||
"gitHead": "19fa58d527ae74f2b6baa0867463eea1d290f9a5" | ||
} |
@@ -22,3 +22,3 @@ /** | ||
} else { | ||
const newPath = path.join(servedPath, req.path !== '/' ? req.path : ''); | ||
const newPath = path.posix.join(servedPath, req.path !== '/' ? req.path : ''); | ||
res.redirect(newPath); | ||
@@ -25,0 +25,0 @@ } |
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
111152
Updatedreact-error-overlay@^6.0.11