uuid
Advanced tools
Comparing version 1.4.2 to 2.0.0
@@ -6,5 +6,5 @@ { | ||
"dependencies": { | ||
"uuid": "^1.4.1", | ||
"uuid-js": "^0.7.4" | ||
"uuid": "1.4.1", | ||
"uuid-js": "0.7.4" | ||
} | ||
} |
{ | ||
"name": "uuid", | ||
"version": "1.4.2", | ||
"version": "2.0.0", | ||
"description": "Rigorous implementation of RFC4122 (v1 and v4) UUIDs.", | ||
@@ -29,4 +29,3 @@ "keywords": [ | ||
"browser": { | ||
"./rng.js": "./rng-browser.js", | ||
"./buffer.js": "./buffer-browser.js" | ||
"./rng.js": "./rng-browser.js" | ||
}, | ||
@@ -33,0 +32,0 @@ "repository": { |
@@ -11,7 +11,2 @@ // uuid.js | ||
// Buffer class to use, | ||
// we can't use `Buffer || Array` otherwise Buffer would be | ||
// shimmed by browserify and added to the browser build | ||
var BufferClass = require('./buffer'); | ||
// Maps for number <-> hex string conversion | ||
@@ -161,3 +156,3 @@ var _byteToHex = []; | ||
if (typeof(options) == 'string') { | ||
buf = options == 'binary' ? new BufferClass(16) : null; | ||
buf = options == 'binary' ? new Array(16) : null; | ||
options = null; | ||
@@ -189,4 +184,3 @@ } | ||
uuid.unparse = unparse; | ||
uuid.BufferClass = BufferClass; | ||
module.exports = uuid; |
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
1
33233
18
465