Socket
Socket
Sign inDemoInstall

webpack-dev-server

Package Overview
Dependencies
302
Maintainers
5
Versions
217
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 4.2.1

1

client/index.js

@@ -80,2 +80,3 @@ /* global __resourceQuery, __webpack_hash__ */

hash: function hash(_hash) {
status.previousHash = status.currentHash;
status.currentHash = _hash;

@@ -82,0 +83,0 @@ },

2

client/modules/strip-ansi/index.js

@@ -42,3 +42,3 @@ /******/ (function() { // webpackBootstrap

var pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'].join('|');
var pattern = ["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)", '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))'].join('|');
return new RegExp(pattern, onlyFirst ? undefined : 'g');

@@ -45,0 +45,0 @@ }

@@ -11,17 +11,9 @@ /* global __webpack_hash__ */

return;
} // TODO Workaround for webpack v4, `__webpack_hash__` is not replaced without HotModuleReplacement plugin
}
var currentHash = status.currentHash,
previousHash = status.previousHash;
var isInitial = currentHash.indexOf(previousHash) >= 0;
var webpackHash = // eslint-disable-next-line camelcase
typeof __webpack_hash__ !== "undefined" ? // eslint-disable-next-line camelcase
__webpack_hash__ : status.previousHash || "";
var isInitial = status.currentHash.indexOf(webpackHash) === 0;
if (isInitial) {
var isLegacyInitial = webpackHash === "" && hot === false && liveReload === true;
if (isLegacyInitial) {
status.previousHash = status.currentHash;
}
return;

@@ -28,0 +20,0 @@ }

{
"name": "webpack-dev-server",
"version": "4.2.0",
"version": "4.2.1",
"description": "Serves a webpack app. Updates the browser on changes.",

@@ -5,0 +5,0 @@ "bin": "bin/webpack-dev-server.js",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc