@onflow/util-uid
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
@@ -0,1 +1,9 @@ | ||
# @onflow/util-uid | ||
## 1.0.0-alpha.1 | ||
### Patch Changes | ||
- [#1164](https://github.com/onflow/fcl-js/pull/1164) [`11229868`](https://github.com/onflow/fcl-js/commit/11229868cf916d204901f8bb3f76ee234e9152a8) Thanks [@justinbarry](https://github.com/justinbarry)! - No longer minify released source code. | ||
## 1.0.0-alpha.0 | ||
@@ -2,0 +10,0 @@ |
@@ -1,2 +0,15 @@ | ||
var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n=r.length;exports.uid=function(){for(var t="",a=32;a--;)t+=r[Math.random()*n|0];return t}; | ||
var HEX = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; | ||
var T = HEX.length; | ||
function uid() { | ||
var str = '', | ||
num = 32; | ||
while (num--) { | ||
str += HEX[Math.random() * T | 0]; | ||
} | ||
return str; | ||
} | ||
exports.uid = uid; | ||
//# sourceMappingURL=util-uid.js.map |
@@ -1,2 +0,15 @@ | ||
var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n=r.length;function t(){for(var t="",a=32;a--;)t+=r[Math.random()*n|0];return t}export{t as uid}; | ||
var HEX = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; | ||
var T = HEX.length; | ||
function uid() { | ||
var str = '', | ||
num = 32; | ||
while (num--) { | ||
str += HEX[Math.random() * T | 0]; | ||
} | ||
return str; | ||
} | ||
export { uid }; | ||
//# sourceMappingURL=util-uid.modern.js.map |
@@ -1,2 +0,15 @@ | ||
var r="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",n=r.length;function t(){for(var t="",a=32;a--;)t+=r[Math.random()*n|0];return t}export{t as uid}; | ||
var HEX = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; | ||
var T = HEX.length; | ||
function uid() { | ||
var str = '', | ||
num = 32; | ||
while (num--) { | ||
str += HEX[Math.random() * T | 0]; | ||
} | ||
return str; | ||
} | ||
export { uid }; | ||
//# sourceMappingURL=util-uid.module.js.map |
@@ -1,2 +0,22 @@ | ||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).utilUid={})}(this,function(e){var n="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789",t=n.length;e.uid=function(){for(var e="",o=32;o--;)e+=n[Math.random()*t|0];return e}}); | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : | ||
typeof define === 'function' && define.amd ? define(['exports'], factory) : | ||
(global = global || self, factory(global.utilUid = {})); | ||
}(this, (function (exports) { | ||
var HEX = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'; | ||
var T = HEX.length; | ||
function uid() { | ||
var str = '', | ||
num = 32; | ||
while (num--) { | ||
str += HEX[Math.random() * T | 0]; | ||
} | ||
return str; | ||
} | ||
exports.uid = uid; | ||
}))); | ||
//# sourceMappingURL=util-uid.umd.js.map |
{ | ||
"name": "@onflow/util-uid", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Utilities to generate Unique Identifiers", | ||
@@ -32,3 +32,3 @@ "license": "Apache-2.0", | ||
"test": "jest", | ||
"build": "microbundle", | ||
"build": "microbundle --no-compress", | ||
"test:watch": "jest --watch", | ||
@@ -35,0 +35,0 @@ "start": "microbundle watch" |
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
Sorry, the diff of this file is not supported yet
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
6679
66
0