webpack-stream
Advanced tools
Comparing version 5.2.0 to 5.2.1
11
index.js
@@ -42,8 +42,7 @@ 'use strict'; | ||
/** | ||
* Webpack 4 doesn't support the `quiet` attribute, however supports | ||
* setting `stats` to a string within an array of configurations | ||
* (errors-only|minimal|none|normal|verbose) | ||
*/ | ||
const isSilent = options.quiet || (options.stats && (options.stats.match(/^(errors-only|minimal|none)$/))); | ||
// Webpack 4 doesn't support the `quiet` attribute, however supports | ||
// setting `stats` to a string within an array of configurations | ||
// (errors-only|minimal|none|normal|verbose) or an object with an absurd | ||
// amount of config | ||
const isSilent = options.quiet || (typeof options.stats === 'string' && (options.stats.match(/^(errors-only|minimal|none)$/))); | ||
@@ -50,0 +49,0 @@ if (typeof done !== 'function') { |
{ | ||
"name": "webpack-stream", | ||
"version": "5.2.0", | ||
"version": "5.2.1", | ||
"description": "Run webpack as a stream", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
16335
228