Socket
Socket
Sign inDemoInstall

webpack-dev-middleware

Package Overview
Dependencies
318
Maintainers
4
Versions
113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

8

lib/context.js
'use strict';
const logger = require('./log');
const weblog = require('webpack-log');

@@ -19,3 +19,7 @@ module.exports = function ctx(compiler, options) {

} else {
context.log = logger(options);
context.log = weblog({
level: options.logLevel || 'info',
name: 'wdm',
timestamp: options.logTime
});
}

@@ -22,0 +26,0 @@

{
"name": "webpack-dev-middleware",
"version": "2.0.1",
"version": "2.0.2",
"description": "A development middleware for webpack",

@@ -37,6 +37,2 @@ "license": "MIT",

"dependencies": {
"chalk": "^2.3.0",
"log-symbols": "^2.1.0",
"loglevel": "^1.6.0",
"loglevel-plugin-prefix": "^0.5.3",
"loud-rejection": "^1.6.0",

@@ -47,5 +43,4 @@ "memory-fs": "~0.4.1",

"range-parser": "^1.0.3",
"time-stamp": "^2.0.0",
"url-join": "^2.0.2",
"uuid": "^3.1.0"
"webpack-log": "^1.0.1"
},

@@ -52,0 +47,0 @@ "devDependencies": {

@@ -46,3 +46,3 @@ <div align="center">

const webpack = require('webpack');
const middlware = require('webpack-dev-middleware');
const middleware = require('webpack-dev-middleware');
const compiler = webpack({ .. webpack options .. });

@@ -49,0 +49,0 @@ const express = require('express');

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