Socket
Socket
Sign inDemoInstall

node-notifier

Package Overview
Dependencies
10
Maintainers
1
Versions
73
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.0 to 10.0.1

.github/workflows/test.yml

2

notifiers/toaster.js

@@ -136,3 +136,3 @@ /**

const localNotifier = options.customPath ||
const localNotifier = options.customPath || this.options.customPath ||
(notifier + '-x' + (is64Bit ? '64' : '86') + '.exe');

@@ -139,0 +139,0 @@

{
"name": "node-notifier",
"version": "10.0.0",
"version": "10.0.1",
"description": "A Node.js module for sending notifications on native Mac, Windows (post and pre 8) and Linux (or Growl as fallback)",

@@ -14,2 +14,7 @@ "main": "index.js",

"example:windows:actions": "node ./example/toaster-with-actions.js",
"example:windows:custom-path": "cross-env DEBUG=notifier node ./example/toaster-custom-path.js",
"copy-resources": "copyfiles -u 2 ./vendor/snoreToast/snoretoast-x64.exe ./dist/example/resources/ && copyfiles -u 1 ./example/coulson.jpg ./dist/example/resources/",
"preexample:windows:nexe-custom-path": "rimraf dist",
"example:windows:nexe-custom-path": "nexe -t windows-x64-14.15.3 -i ./example/toaster-custom-path.js -o ./dist/toaster-custom-path.exe && npm run copy-resources",
"postexample:windows:nexe-custom-path": "cross-env DEBUG=notifier ./dist/toaster-custom-path.exe",
"lint": "eslint example/*.js lib/*.js notifiers/*.js test/**/*.js index.js"

@@ -42,2 +47,4 @@ },

"devDependencies": {
"copyfiles": "^2.4.1",
"cross-env": "^7.0.3",
"eslint": "^7.26.0",

@@ -52,3 +59,5 @@ "eslint-config-semistandard": "^15.0.1",

"lint-staged": "^11.0.0",
"prettier": "^2.3.0"
"nexe": "^4.0.0-beta.19",
"prettier": "^2.3.0",
"rimraf": "^3.0.2"
},

@@ -55,0 +64,0 @@ "dependencies": {

@@ -378,3 +378,3 @@ # node-notifier [![NPM version][npm-image]][npm-url] [![Install size][size-image]][size-url] [![Build Status][travis-image]][travis-url]

- [`terminal-notifier`](https://github.com/julienXX/terminal-notifier)
- [`Snoretoast`](https://github.com/KDE/snoretoast)
- [`Snoretoast`](https://github.com/KDE/snoretoast/releases/tag/v0.7.0)
- [`notifu`](http://www.paralint.com/projects/notifu/)

@@ -394,3 +394,3 @@ - [`growly`](https://github.com/theabraham/growly/)

If you don't see notifications within WSL2, you might have to change premission of exe vendor files (snoreToast).
If you don't see notifications within WSL2, you might have to change permission of exe vendor files (snoreToast).
[See issue for more info](https://github.com/mikaelbr/node-notifier/issues/353)

@@ -437,2 +437,14 @@

Or if you use `electron-builder` without using asar directly, append `build` object to your `package.json` as below:
```bash
...
build: {
asarUnpack: [
'./node_modules/node-notifier/**/*',
]
},
...
```
### Using with pkg

@@ -447,3 +459,3 @@

This is necessary because `node-notifier` loads the notifiers from a binary, so it
needs a relative file path. When webpack compiles the modules, it supresses file
needs a relative file path. When webpack compiles the modules, it suppresses file
directories, causing `node-notifier` to error on certain platforms.

@@ -450,0 +462,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc