Socket
Socket
Sign inDemoInstall

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 1.1.1 to 1.2.1

9

CHANGELOG.md
# Changelog
#### 1.2.1
###### _October 15, 2019_
- Added *showDuration* config option for [#48](/../../issues/48).
#### 1.1.1
###### _August 29, 2019_
- Updated node-notifier dependency to latest version to fix #45.
- Updated node-notifier dependency to latest version to fix [#45](/../../issues/45).

@@ -21,3 +26,3 @@ #### 1.1.0

- Corrected *sound TS types.
- Corrected *sound* TS types.

@@ -24,0 +29,0 @@ #### 1.0.1

@@ -117,2 +117,6 @@ import { Plugin } from 'webpack';

/**
* True to show the duration of a successful compilation, otherwise false (default).
*/
showDuration?: boolean;
/**
* A function called when clicking on a warning or error notification. By default, it activates the Terminal application.

@@ -119,0 +123,0 @@ * The function is passed two parameters:

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

/**
* @cfg {Boolean} [showDuration=false]
* True to show the duration of a successful compilation, otherwise false (default).
*/
this.showDuration = cfg.showDuration || false;
/**
* @cfg {Function} [onCompileStart=undefined]

@@ -238,3 +243,3 @@ * A function which is invoked when compilation starts. Optional. The function is passed one parameter:

title = this.title + ' - ',
msg = 'Build successful!',
msg = 'Build successful!' + (this.showDuration ? ` [${results.endTime - results.startTime} ms]` : ""),
icon = this.successIcon,

@@ -241,0 +246,0 @@ sound = this.successSound,

{
"name": "webpack-build-notifier",
"version": "1.1.1",
"version": "1.2.1",
"description": "A Webpack plugin that generates OS notifications for build steps using node-notifier.",

@@ -45,2 +45,2 @@ "main": "index.js",

}
}
}
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