Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

webpackbar

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpackbar - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

CHANGELOG.md

@@ -5,2 +5,13 @@ # Change Log

<a name="3.0.2"></a>
## [3.0.2](https://github.com/nuxt/webpackbar/compare/v3.0.1...v3.0.2) (2018-11-08)
### Bug Fixes
* **fancy:** resume consola befor we die! ([ea1c6a8](https://github.com/nuxt/webpackbar/commit/ea1c6a8))
* **stats:** report errors before we die ([53aa6bb](https://github.com/nuxt/webpackbar/commit/53aa6bb))
<a name="3.0.1"></a>

@@ -7,0 +18,0 @@ ## [3.0.1](https://github.com/nuxt/webpackbar/compare/v3.0.0...v3.0.1) (2018-11-08)

4

dist/reporters/fancy.js

@@ -44,2 +44,6 @@ 'use strict';

this._renderStates(context.statesArray);
if (context.hasErrors) {
_consola2.default.resume();
}
}

@@ -46,0 +50,0 @@

20

dist/reporters/stats.js

@@ -19,3 +19,9 @@ 'use strict';

done(context, { stats }) {
context.state.statsString = stats.toString(this.options);
const str = stats.toString(this.options);
if (context.hasErrors) {
process.stderr.write('\n' + str + '\n');
} else {
context.state.statsString = str;
}
}

@@ -25,8 +31,8 @@

let str = '';
context.statesArray.forEach(state => {
str += '\n' + state.statsString + '\n';
delete state.statsString;
});
for (const state in context.statesArray) {
if (state.statsString) {
str += '\n' + state.statsString + '\n';
delete state.statsString;
}
}
process.stderr.write(str);

@@ -33,0 +39,0 @@ }

{
"name": "webpackbar",
"version": "3.0.1",
"version": "3.0.2",
"description": "Elegant ProgressBar and Profiler for Webpack",

@@ -5,0 +5,0 @@ "license": "MIT",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc