Socket
Socket
Sign inDemoInstall

uuid

Package Overview
Dependencies
1
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.4.2 to 2.0.0

4

benchmark/package.json

@@ -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;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc