Comparing version 2.1.6 to 2.1.7
@@ -7,3 +7,3 @@ var crypto = self.crypto || self.msCrypto | ||
*/ | ||
var url = 'Uint8ArModuleSymbhasOw-012345679BCDEFGHIJKLNPQRTVWXYZ_cfgjkpqvxz' | ||
var url = 'IUint8Ar21ModulvezGFYPCJ7_p0V4XSymbLBNH6fTqQ35xD9ZREghasOw-cjkWK' | ||
@@ -10,0 +10,0 @@ module.exports = function (size) { |
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 2.1.7 | ||
* Reduce `index`, `async` and `non-secure` size (by @polemius). | ||
## 2.1.6 | ||
@@ -5,0 +8,0 @@ * Reduce size (by Stas Lashmanov). |
@@ -23,3 +23,3 @@ if (process.env.NODE_ENV !== 'production') { | ||
*/ | ||
var url = 'Uint8ArdomValuesObj012345679BCDEFGHIJKLMNPQRSTWXYZ_cfghkpqvwxyz-' | ||
var url = 'QLUint8ARdomValuesObj0h6345-79BCrypgJzHKTNYDSMkXPZ_FfG1WcqvwxEI2' | ||
@@ -26,0 +26,0 @@ module.exports = function (size) { |
@@ -1,2 +0,2 @@ | ||
var url = 'bjectSymhasOwnProp-0123456789ABCDEFGHIJKLMNQRTUVWXYZ_dfgiklquvxz' | ||
var url = 'sOwnPropMN49CEiq-hXvHJdSymlFURTag61GQfuD8YIWz2Zk5xKB7LV30_Abject' | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "nanoid", | ||
"version": "2.1.6", | ||
"description": "A tiny (139 bytes), secure URL-friendly unique string ID generator", | ||
"version": "2.1.7", | ||
"description": "A tiny (137 bytes), secure URL-friendly unique string ID generator", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "uuid", |
@@ -8,3 +8,3 @@ # Nano ID | ||
* **Small.** 139 bytes (minified and gzipped). No dependencies. | ||
* **Small.** 137 bytes (minified and gzipped). No dependencies. | ||
[Size Limit] controls the size. | ||
@@ -67,3 +67,3 @@ * **Safe.** It uses cryptographically strong random APIs. | ||
2. Nano ID code is 3 times less than `uuid/v4` package: | ||
139 bytes instead of 435. | ||
137 bytes instead of 435. | ||
3. Because of memory allocation tricks, Nano ID is 16% faster than UUID. | ||
@@ -70,0 +70,0 @@ |
@@ -15,2 +15,2 @@ /** | ||
module.exports = | ||
'ModuleSymbhasOwnPr-0123456789ABCDEFGHIJKLNQRTUVWXYZ_cfgijkpqtvxz' | ||
'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW' |
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
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
26302