node-notifier
Advanced tools
Comparing version 1.0.0-beta2 to 1.1.0
@@ -1,1 +0,3 @@ | ||
module.exports = require('./lib/terminal-notifier'); | ||
var os = require('os'); | ||
var notifier = (os.type() === 'Linux') ? 'notify-send' : 'terminal-notifier'; | ||
module.exports = require('./lib/' + notifier); |
{ | ||
"name": "node-notifier", | ||
"version": "1.0.0-beta2", | ||
"version": "1.1.0", | ||
"description": "A Node.js wrapper for the terminal-notifier application", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
447445
18
280
1
2