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

webpack-build-notifier

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

webpack-build-notifier - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

7

index.js

@@ -39,2 +39,7 @@ /**

/**
* @cfg {Boolean} [suppressWarning=false]
* True to suppress the warning notifications, otherwise false (default).
*/
this.suppressWarning = cfg.suppressWarning || false;
/**
* @cfg {Boolean} [activateTerminalOnError=false]

@@ -92,3 +97,3 @@ * True to activate (focus) the terminal window when a compilation error occurs.

this.buildSuccessful = false;
} else if (results.hasWarnings()) {
} else if (!this.suppressWarning && results.hasWarnings()) {
notify = true;

@@ -95,0 +100,0 @@ title += 'Warning';

2

package.json
{
"name": "webpack-build-notifier",
"version": "0.1.5",
"version": "0.1.6",
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -27,3 +27,3 @@ # webpack-build-notifier

#### title
The notification title. Defaults to _Webpack Build_**.
The notification title. Defaults to **_Webpack Build_**.

@@ -39,2 +39,5 @@ #### logo

#### suppressWarning
True to suppress the warning notifications, otherwise false (default).
#### activateTerminalOnError

@@ -60,3 +63,3 @@ True to activate (focus) the terminal window when a compilation error occurs. Note that this only works on Mac OSX. Defaults to **_false_**. Regardless of the value of this config option, he terminal window can always be brought to the front by clicking on the notification.

-------------------
* Re-work the notification message to display more usefule information. At present, uses the error/warning's "message" text. Not very useful as it contains inline formatting and is quite verbose. Perhaps update to list file(s) with error(s)/warning(s)?
* Re-work the notification message to display more useful information. At present, it shows the error/warning's "message" text which is not very useful as it contains inline formatting and is quite verbose. Perhaps update to instead show a list file(s) with error(s)/warning(s)?

@@ -69,2 +72,9 @@ Notes

Given the purpose and similarities, this project probably should have been a fork of one of these.
Given the purpose and similarities, this project probably should have been a fork of one of these.
Changelog
---------
#### 1.0.6
###### _December 17, 2015_
- Added *suppressWarning* configuration option.
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