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

node-notifier

Package Overview
Dependencies
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-notifier - npm Package Versions

1
8

5.1.2

Diff

Changelog

Source

v5.1.2

  • Adds temporary workaround for terminal-notifier memory leak as seen in https://github.com/facebook/jest/issues/2999 and https://github.com/julienXX/terminal-notifier/issues/173.
  • Add appName option and hide snoreToast if not setted (#158)
mikaelb
published 5.0.2 •

Changelog

Source

v5.0.2

Non-obligatory fail. Fixes issue with multiple actions for macOS.

mikaelb
published 5.0.1 •

Changelog

Source

v5.0.1

Obligatory fail. Fixes minor issue with non-JSON output for macOS.

mikaelb
published 5.0.0 •

Changelog

Source

v5.0.0

Breaking Changes

Note/TL;DR: If you are just using node-notifier with things like message, title and icon, v5 should work just as before.

  1. CLI is now removed. Can be found in separate project: https://github.com/mikaelbr/node-notifier-cli. This means you no longer get the notify bin when installing node-notifier. To get this do npm i [-g] node-notifier-cli
  2. Changed toaster implementation from toast.exe to Snoretoast. This means if you are using your custom fork, you need to change. SnoreToast has some better default implemented functionality.
  3. terminal-notifier dependency has been bumped to v1.7.1. With that there can be changes in the API, and supports now reply and buttons. Output has changed to JSON by default, this means the output of some functions of the terminal-notifier has broken. See https://github.com/julienXX/terminal-notifier for more details. See README for documentation on how to use the new features, or an example file.
  4. notify method will now throw error if second argument is something else than function (still optional): #138.
Additions
  1. Now supports *BSD systems: #142.
  2. With the new toaster implementation you can do more! For instance customize sound and close notification. See all options:
{
  title: void 0, // String. Required
  message: void 0, // String. Required if remove is not defined
  icon: void 0, // String. Absolute path to Icon
  sound: false, // Bool | String (as defined by http://msdn.microsoft.com/en-us/library/windows/apps/hh761492.aspx)
  wait: false, // Bool. Wait for User Action against Notification or times out
  id: void 0, // Number. ID to use for closing notification.
  appID: void 0, // String. App.ID. Don't create a shortcut but use the provided app id.
  remove: void 0, // Number. Refer to previously created notification to close.
  install: void 0 // String (path, application, app id).  Creates a shortcut <path> in the start menu which point to the executable <application>, appID used for the notifications.
}
Fixes
  1. Fixes new lines on messages on Windows: #123
Technical Changes

Internal changes for those who might be interested.

  1. Dependencies bumped
  2. Unnecessary dependencies removed (lodash.deepClone). Now uses JSON serialize/deserialize instead.
  3. Project is auto-formatted by prettier.
  4. Linting is added
  5. Added way to better debug what is happening by setting DEBUG env-var to true. See CONTRIBUTE.md for more details.
mikaelb
published 4.6.1 •

Changelog

Source

v4.6.1

  1. Adds npm ignore file, ignoring tests and examples from package.
  2. Fixes CI builds.
mikaelb
published 4.6.0 •

Changelog

Source

v4.6.0

  1. Adds support for Icon URL in Growl (by @gucong3000)
  2. Adds options for passing host and port to cli tool (reported by @el-davo)
  3. Fixes sanitize response on notify callback (by @MadLittleMods)
  4. Fixes use of new line in messages (by @gucong3000)
  5. Fixes use of file:///xxx protocol icon paths for Windows 8.1 (by @gucong3000)
  6. Fixes non-TTY usage and piping messages (reported by @simensen)
  7. Updates vendor terminal-notifier version to 1.6.3 (reported by @kid-icarus)
mikaelb
published 4.5.0 •

Changelog

Source

v4.5.0

Additions
  1. Adds syntactic sugar for notify. Now able to just pass message:
notifier.notify('My message');

See #45 for more info.

Fixes
  1. Improvements to docs and examples
  2. Updates semver dependency to support Webpacking with Electron.
mikaelb
published 4.4.0 •

Changelog

Source

v4.4.0

  1. Changes to exec terminal-notifier through execFile to allow for asar-packages
  2. Adds support for remote growl server
  3. Adds support for win7 with electron asar-package
mikaelb
published 4.3.1 •

Changelog

Source

v4.3.1

Obligatory patch fix:

  1. Adds new stdin CLI options to docs
mikaelb
published 4.3.0 •

Changelog

Source

v4.3.0

  1. Adds support for piping messages in to CLI. (With node-notifier installed as a CLI npm i -g node-notifier)
➜ echo "Message" | notify
➜ echo "Message" | notify -t "My Title"
➜ echo "Some message" | notify -t "My Title" -s
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