Comparing version 1.4.2 to 1.4.3
@@ -5,3 +5,3 @@ { | ||
"description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", | ||
"version": "1.4.0", | ||
"version": "1.4.3", | ||
"author": "Robert Kieffer <robert@broofa.com>", | ||
@@ -19,2 +19,2 @@ "contributors": [ | ||
"license": "MIT" | ||
} | ||
} |
@@ -19,3 +19,3 @@ { | ||
"repository" : { "type" : "git", "url" : "https://github.com/broofa/node-uuid.git" }, | ||
"version" : "1.4.2", | ||
"version" : "1.4.3", | ||
"licenses": [ | ||
@@ -22,0 +22,0 @@ { |
10
uuid.js
@@ -227,8 +227,10 @@ // uuid.js | ||
if (typeof define === 'function' && define.amd) { | ||
if (typeof(module) != 'undefined' && module.exports) { | ||
// Publish as node.js module | ||
module.exports = uuid; | ||
} else if (typeof define === 'function' && define.amd) { | ||
// Publish as AMD module | ||
define(function() {return uuid;}); | ||
} else if (typeof(module) != 'undefined' && module.exports) { | ||
// Publish as node.js module | ||
module.exports = uuid; | ||
} else { | ||
@@ -235,0 +237,0 @@ // Publish as global (in browsers) |
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
37653
16
549