Comparing version 1.1.0 to 1.1.1
13
index.js
@@ -5,9 +5,2 @@ 'use strict'; | ||
if (!process.stdout.isTTY || | ||
process.argv.indexOf('--no-beep') !== -1 || | ||
process.argv.indexOf('--beep=false') !== -1) { | ||
module.exports = function () {}; | ||
return; | ||
} | ||
function beep() { | ||
@@ -33,2 +26,8 @@ process.stdout.write('\u0007'); | ||
module.exports = function (val, cb) { | ||
if (!process.stdout.isTTY || | ||
process.argv.indexOf('--no-beep') !== -1 || | ||
process.argv.indexOf('--beep=false') !== -1) { | ||
return; | ||
} | ||
cb = cb || function () {}; | ||
@@ -35,0 +34,0 @@ |
{ | ||
"name": "beeper", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Make your terminal beep", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3671
49