hello-nodejs-austin
Advanced tools
Comparing version 1.0.0 to 3.0.0
16
index.js
@@ -1,1 +0,15 @@ | ||
console.log('hello'); | ||
module.exports = function saySomething (options, cb){ | ||
try { | ||
if (!options.hasOwnProperty('msg')) { | ||
return cb(new Error('`msg` is required')); | ||
} | ||
} | ||
catch (e) { | ||
return cb(e); | ||
} | ||
console.log(options.msg); | ||
setImmediate(function (){ | ||
return cb(); | ||
}); | ||
}; |
{ | ||
"name": "hello-nodejs-austin", | ||
"version": "1.0.0", | ||
"version": "3.0.0", | ||
"description": "A sample package.", | ||
"main": "index.js", | ||
"main": "app.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "test": "echo \"Error: no test specified\" && exit 1" |
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
675
4
14
1
5
0