nanoid 4.0.0 → 4.0.1

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.

Files changed (2) hide show
  1. package/README.md +2 -3
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -12,12 +12,11 @@ A tiny, secure, URL-friendly, unique string ID generator for JavaScript.
12
12
 
13
13
  * **Small.** 130 bytes (minified and gzipped). No dependencies.
14
14
  [Size Limit] controls the size.
15
- * **Fast.** It is 2 times faster than UUID.
16
15
  * **Safe.** It uses hardware random generator. Can be used in clusters.
17
16
  * **Short IDs.** It uses a larger alphabet than UUID (`A-Za-z0-9_-`).
18
17
  So ID size was reduced from 36 to 21 symbols.
19
18
  * **Portable.** Nano ID was ported
20
- to [20 programming languages](#other-programming-languages).
19
+ to [20 programming languages](./README.md#other-programming-languages).
21
20
 
22
21
  ```js
23
22
  import { nanoid } from 'nanoid'
@@ -36,4 +35,4 @@ Supports modern browsers, IE [with Babel], Node.js and React Native.
36
35
  </a>
37
36
 
38
37
  ## Docs
39
- Read **[full docs](https://github.com/ai/nanoid#readme)** on GitHub.
38
+ Read full docs **[here](https://github.com/ai/nanoid#readme)**.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoid",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
5
5
  "keywords": [
6
6
  "uuid",
@@ -29,8 +29,7 @@
29
29
  },
30
30
  "browser": {
31
31
  "./index.js": "./index.browser.js",
32
- "./async/index.js": "./async/index.browser.js",
33
- "./async/index.cjs": "./async/index.browser.cjs"
32
+ "./async/index.js": "./async/index.browser.js"
34
33
  },
35
34
  "react-native": {
36
35
  "./async/index.js": "./async/index.native.js"