Comparing version 0.0.2 to 0.0.3
@@ -0,5 +1,11 @@ | ||
var beepC = require('bindings')('beep'); | ||
function beep (qt) { | ||
qt = (!qt)?1:qt; | ||
for(var i = 0 ; i < qt;i++){ | ||
process.stdout.write("\u0007"); | ||
if(process.platform == 'win32'){ | ||
var beepC = require('bindings')('beep.node'); | ||
beepC.beep(); | ||
}else{ | ||
process.stdout.write("\u0007"); | ||
} | ||
} | ||
@@ -6,0 +12,0 @@ } |
@@ -13,3 +13,3 @@ { | ||
], | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"author": { | ||
@@ -24,3 +24,5 @@ "name": "Jayr Alencar", | ||
}, | ||
"dependencies":{ }, | ||
"dependencies":{ | ||
"bindings": "~1.2.1" | ||
}, | ||
"license": "MIT", | ||
@@ -27,0 +29,0 @@ "scripts": { "test": "node test/app.js" }, |
var beep = require('../beep.js'); | ||
beep(1); | ||
beep(3); |
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 8 instances 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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
2132079
26
13
1
8
+ Addedbindings@~1.2.1
+ Addedbindings@1.2.1(transitive)