Comparing version 3.6.1 to 3.6.2
/* | ||
Version: v3.6.1 | ||
Version: v3.6.2 | ||
The MIT License: Copyright (c) 2010-2017 LiosK. | ||
@@ -4,0 +4,0 @@ */ |
{ | ||
"name": "uuidjs", | ||
"version": "3.6.1", | ||
"version": "3.6.2", | ||
"title": "UUID.js", | ||
@@ -41,5 +41,5 @@ "description": "RFC-compliant UUID Generator for JavaScript", | ||
"jsdoc": "^3.5.5", | ||
"qunitjs": "^2.4.0", | ||
"typescript": "^2.5.3" | ||
"qunitjs": "^2.4.1", | ||
"typescript": "^2.6.2" | ||
} | ||
} |
@@ -117,12 +117,4 @@ # NAME | ||
UUID.js is licensed under [the MIT license](https://opensource.org/licenses/MIT): | ||
UUID.js is licensed under [the MIT license](https://opensource.org/licenses/MIT). | ||
Copyright (c) 2010-2017 LiosK. | ||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
# AUTHOR | ||
@@ -129,0 +121,0 @@ |
@@ -6,3 +6,3 @@ /** | ||
* @author LiosK | ||
* @version v3.6.1 | ||
* @version v3.6.2 | ||
* @license The MIT License: Copyright (c) 2010-2017 LiosK. | ||
@@ -9,0 +9,0 @@ */ |
@@ -6,3 +6,3 @@ /** | ||
* @author LiosK | ||
* @version v3.6.1 | ||
* @version v3.6.2 | ||
* @license The MIT License: Copyright (c) 2010-2017 LiosK. | ||
@@ -95,3 +95,4 @@ */ | ||
if (x < 0 || x > 53) { return NaN; } | ||
var ns = crypto.getRandomValues(new Uint32Array(x > 32 ? 2 : 1)); | ||
var ns = new Uint32Array(x > 32 ? 2 : 1); | ||
ns = crypto.getRandomValues(ns) || ns; | ||
return x > 32 ? ns[0] + (ns[1] >>> 64 - x) * 0x100000000 : ns[0] >>> 32 - x; | ||
@@ -98,0 +99,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
1375790
57
10005
130
1
20