nanoid 3.1.29 → 3.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of nanoid might be problematic. Click here for more details.

package/README.md CHANGED
@@ -10,7 +10,7 @@ A tiny, secure, URL-friendly, unique string ID generator for JavaScript.
10
10
  > “An amazing level of senseless perfectionism,
11
11
  > which is simply impossible not to respect.”
12
12
 
13
- * **Small.** 108 bytes (minified and gzipped). No dependencies.
13
+ * **Small.** 130 bytes (minified and gzipped). No dependencies.
14
14
  [Size Limit] controls the size.
15
15
  * **Fast.** It is 2 times faster than UUID.
16
16
  * **Safe.** It uses hardware random generator. Can be used in clusters.
@@ -1,5 +1,5 @@
1
1
  let urlAlphabet =
2
- 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'
2
+ 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
3
3
  let customAlphabet = (alphabet, size) => {
4
4
  return () => {
5
5
  let id = ''
@@ -1,5 +1,5 @@
1
1
  let urlAlphabet =
2
- 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'
2
+ 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
3
3
  let customAlphabet = (alphabet, size) => {
4
4
  return () => {
5
5
  let id = ''
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nanoid",
3
- "version": "3.1.29",
4
- "description": "A tiny (108 bytes), secure URL-friendly unique string ID generator",
3
+ "version": "3.1.30",
4
+ "description": "A tiny (130 bytes), secure URL-friendly unique string ID generator",
5
5
  "keywords": [
6
6
  "uuid",
7
7
  "random",
@@ -1,3 +1,3 @@
1
1
  let urlAlphabet =
2
- 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'
2
+ 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
3
3
  module.exports = { urlAlphabet }
@@ -1,3 +1,3 @@
1
1
  let urlAlphabet =
2
- 'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'
2
+ 'useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict'
3
3
  export { urlAlphabet }