Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -1,5 +1,43 @@
# Changelog
### `v8.0.0`
Breaking changes:
- Expire time for notify-send is made to match macOS and Windows with default time of 10 seconds. The API is changed to take seconds as input and converting it to milliseconds before passing it on to notify-send. See [#341](https://github.com/mikaelbr/node-notifier/pull/341).
### `v7.0.2`
- Updates dependencies
- Fixes issue with haning Windows notifications when disabled ([#335](https://github.com/mikaelbr/node-notifier/pull/335))
### `v7.0.1`
- Fixes import of uuid, removes deprecation warnings
### `v7.0.0`
#### Features
- NotifySend support for app-name ([#299](https://github.com/mikaelbr/node-notifier/pull/299), see docs)
#### Breaking Changes
- All notify messages now have auto bound context to make it easier to pass as variables/arguments ([#306](https://github.com/mikaelbr/node-notifier/pull/306))
- Updated snoreToast to version `0.7.0` with new input features ([#293](https://github.com/mikaelbr/node-notifier/pull/293))
- Breaking snoreToast: Sanitizing data now changes "timedout" to "timeout"
### `v6.0.0`
#### Breaking Changes
- Dropped support for node v6. As of v6 we currently support node versions 8, 10, and 12 (latest).
- Updated to the latest version of SnoreToast. This removes support for the `wait` option in that environment as it is now always on. Prepares the way for other new features added to the WindowsToaster.
#### Other
- Update to latest version of dependencies.
### `v5.4.3`
- Reverts breaking dependency upgrades from `v5.4.2` as some dependencies has removed Node 6 which is a breaking change.
@@ -215,7 +253,7 @@ notifier.notify();
```js
var notifier = require('node-notifier');
notifier.notify({ wait: true }, function(err, response) {
notifier.notify({ wait: true }, function (err, response) {
// response is response after user have interacted
// with the notification or the notification has timed out.
});
@@ -226,7 +264,7 @@ notifier.notify({ wait: true }, function(err, response) {
```js
var notifier = require('node-notifier');
notifier.on('click', function(notificationObject, options) {
notifier.on('click', function (notificationObject, options) {
// options.someArbitraryData === 'foo'
});
notifier.notify({ wait: true, someArbitraryData: 'foo' });