Comparing version 0.1.2 to 0.1.3
@@ -10,10 +10,11 @@ { | ||
], | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"main": "sniff.js", | ||
"engines": { | ||
"node": ">= 0.4.x < 0.7.0" | ||
"node": ">= 0.4.x < 0.9.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"chai": "0.3.x" | ||
"chai": "0.3.x", | ||
"mocha": "*" | ||
}, | ||
@@ -20,0 +21,0 @@ "repository": { |
@@ -5,2 +5,4 @@ # sniff | ||
<a href="http://travis-ci.org/#!/DamonOehlman/sniff"><img src="https://secure.travis-ci.org/DamonOehlman/sniff.png" alt="Build Status"></a> | ||
Additionally, it includes a subsequent test to determine whether a function is a functional prototype, and therefore something that would be suitable for calling with the `new` operator. A value of `prototype` is returned from the function in event that: | ||
@@ -19,3 +21,3 @@ | ||
function example(name, opts, callback) { | ||
// if (typeof opts == 'function') { | ||
if (typeof opts == 'function') { | ||
callback = opts; | ||
@@ -22,0 +24,0 @@ opts = {}; |
@@ -72,3 +72,3 @@ (function (glob) { | ||
(typeof module != "undefined" && module.exports) ? (module.exports = sniff) : (glob.eve = sniff); | ||
(typeof module != "undefined" && module.exports) ? (module.exports = sniff) : (glob.sniff = sniff); | ||
})(this); |
Sorry, the diff of this file is not supported yet
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
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
9749
52
2
1