New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

uuid-v4.js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

uuid-v4.js - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

7

package.json
{
"name": "uuid-v4.js",
"description": "random uuid (rfc-4122 v4) generator",
"version": "1.0.2",
"keywords": ["ender", "uuid"],
"version": "1.0.3",
"keywords": ["uuid"],
"homepage": "https://github.com/makeable/uuid-v4.js",

@@ -12,4 +12,3 @@ "authors": ["Matthew Williams <matt@makeable.co.uk>"],

},
"main": "./uuid-v4.js",
"ender": "./exports/ender.js"
"main": "./uuid-v4.js"
}

@@ -0,1 +1,2 @@

"use strict";
/*

@@ -34,4 +35,4 @@ ======================================================

(function(){
(function(scope){
var dec2hex = [];

@@ -41,3 +42,3 @@ for (var i=0; i<=15; i++) {

}
var UUID = function() {

@@ -53,3 +54,3 @@ var uuid = '';

} else {
uuid += dec2hex[(Math.random()*15|0)];
uuid += dec2hex[(Math.random()*16|0)];
}

@@ -59,9 +60,9 @@ }

};
if (typeof exports !== 'undefined') {
module.exports = UUID;
} else {
this.UUID = UUID;
scope.UUID = UUID;
}
})(this);
})(this);
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc