Comparing version 3.0.0 to 3.0.1
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 3.0.1 | ||
* Fix React Native warning on `non-secure` import (by Jia Huang). | ||
## 3.0 | ||
Migration guide: <https://github.com/ai/nanoid/releases/tag/3.0.0> | ||
**Migration guide:** <https://github.com/ai/nanoid/releases/tag/3.0.0> | ||
* Move to ES2016 syntax. You need to use Babel for IE 11. | ||
@@ -7,0 +10,0 @@ * Move to named exports `import { nanoid } from 'nanoid'`. |
@@ -1,2 +0,5 @@ | ||
import { urlAlphabet } from '../index.js' | ||
// This alphabet uses `A-Za-z0-9_-` symbols. The genetic algorithm helped | ||
// optimize the gzip compression for this alphabet. | ||
let urlAlphabet = | ||
'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW' | ||
@@ -3,0 +6,0 @@ let customAlphabet = (alphabet, size) => { |
{ | ||
"name": "nanoid", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "A tiny (108 bytes), secure URL-friendly unique string ID generator", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,2 +18,4 @@ # Nano ID | ||
So ID size was reduced from 36 to 21 symbols. | ||
* **Portable.** Nano ID was ported | ||
to [14 programming languages](#other-programming-languages). | ||
@@ -85,2 +87,3 @@ ```js | ||
secure-random-string 366,434 ops/sec | ||
cuid 183,998 ops/sec | ||
shortid 59,343 ops/sec | ||
@@ -254,3 +257,3 @@ | ||
Though, it is not recommended to be used in production | ||
because of the lower performance. | ||
because of the lower loading performance. | ||
@@ -257,0 +260,0 @@ ```js |
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
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
42766
625
411
0