nanoid 3.1.22 → 3.1.23

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 +5 -7
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -246,17 +246,15 @@ If you want to use Nano ID in the `id` prop, you must set some string prefix
246
246
 
247
247
  ### Create React App
248
248
 
249
- Create React App has [a problem](https://github.com/ai/nanoid/issues/205)
250
- with ES modules packages.
249
+ Create React App < 4.0.0 had
250
+ [a problem](https://github.com/ai/nanoid/issues/205) with ES modules packages.
251
251
 
252
252
  ```
253
253
  TypeError: (0 , _nanoid.nanoid) is not a function
254
254
  ```
255
255
 
256
- [Pull request](https://github.com/facebook/create-react-app/pull/8768) was sent,
257
- but it was still not released.
258
-
259
- Use Nano ID 2 `npm i nanoid@^2.0.0` until Create React App 4.0 release.
256
+ Use Nano ID 2 `npm i nanoid@^2.0.0` if you're using a version below
257
+ CRA 4.0.
260
258
 
261
259
 
262
260
  ### React Native
@@ -388,7 +386,7 @@ the same ID generator on the client and server side.
388
386
  * [C++](https://github.com/mcmikecreations/nanoid_cpp)
389
387
  * [Clojure and ClojureScript](https://github.com/zelark/nano-id)
390
388
  * [Crystal](https://github.com/mamantoha/nanoid.cr)
391
- * [Dart](https://github.com/pd4d10/nanoid-dart)
389
+ * [Dart & Flutter](https://github.com/pd4d10/nanoid-dart)
392
390
  * [Deno](https://github.com/ianfabs/nanoid)
393
391
  * [Go](https://github.com/matoous/go-nanoid)
394
392
  * [Elixir](https://github.com/railsmechanic/nanoid)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoid",
3
- "version": "3.1.22",
3
+ "version": "3.1.23",
4
4
  "description": "A tiny (108 bytes), secure URL-friendly unique string ID generator",
5
5
  "keywords": [
6
6
  "uuid",