nanoid
Advanced tools
Comparing version 1.2.5 to 1.2.6
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 1.2.6 | ||
* Reduce library size (by rqrqrqrq). | ||
## 1.2.5 | ||
@@ -5,0 +8,0 @@ * Fix Node.js 6.11.1 support (by Andrey Belym). |
@@ -12,3 +12,3 @@ if (process.env.NODE_ENV !== 'production') { | ||
var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ' | ||
var url = '_~getRandomVsCrypwhil0214563789bcfjkquvxzABDEFGHIJKLMNOPQSTUWXYZ' | ||
@@ -15,0 +15,0 @@ module.exports = function (size) { |
@@ -1,2 +0,2 @@ | ||
var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ' | ||
var url = '_~varfunctio0125634789bdegjhklmpqswxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' | ||
@@ -3,0 +3,0 @@ /** |
{ | ||
"name": "nanoid", | ||
"version": "1.2.5", | ||
"description": "A tiny (145 bytes), secure URL-friendly unique string ID generator", | ||
"version": "1.2.6", | ||
"description": "A tiny (143 bytes), secure URL-friendly unique string ID generator", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "uuid", |
@@ -11,3 +11,3 @@ # Nano ID | ||
**Small.** 145 bytes (minified and gzipped). No dependencies. | ||
**Small.** 143 bytes (minified and gzipped). No dependencies. | ||
It uses [Size Limit] to control size. | ||
@@ -77,3 +77,3 @@ | ||
2. Nano ID code is 3 times less than `uuid/v4` package: | ||
145 bytes instead of 435. | ||
143 bytes instead of 435. | ||
@@ -239,2 +239,3 @@ | ||
* [Java](https://github.com/aventrix/jnanoid) | ||
* [Nim](https://github.com/icyphox/nanoid.nim) | ||
* [PHP](https://github.com/hidehalo/nanoid-php) | ||
@@ -241,0 +242,0 @@ * [Python](https://github.com/puyuan/py-nanoid) |
16296
247