nanoid
Advanced tools
Comparing version 3.1.9 to 3.1.10
# Change Log | ||
This project adheres to [Semantic Versioning](http://semver.org/). | ||
## 3.1.10 | ||
* Fix ES modules support. | ||
## 3.1.9 | ||
@@ -5,0 +8,0 @@ * Try to fix React Native Expo support. |
{ | ||
"name": "nanoid", | ||
"version": "3.1.9", | ||
"version": "3.1.10", | ||
"description": "A tiny (108 bytes), secure URL-friendly unique string ID generator", | ||
@@ -29,11 +29,11 @@ "keywords": [ | ||
".": { | ||
"browser": "./index.browser.js", | ||
"require": "./index.cjs", | ||
"import": "./index.js", | ||
"browser": "./index.browser.js" | ||
"import": "./index.js" | ||
}, | ||
"./async/package.json": "./async/package.json", | ||
"./async": { | ||
"browser": "./async/index.browser.js", | ||
"require": "./async/index.cjs", | ||
"import": "./async/index.js", | ||
"browser": "./async/index.browser.js" | ||
"import": "./async/index.js" | ||
}, | ||
@@ -40,0 +40,0 @@ "./non-secure/package.json": "./non-secure/package.json", |
@@ -256,5 +256,6 @@ # Nano ID | ||
2. Use `nanoid/async` instead of `nanoid`. | ||
3. Import `index.native.js` file directly. | ||
```js | ||
import { nanoid } from 'nanoid/async' | ||
import { nanoid } from 'nanoid/async/index.native' | ||
@@ -359,5 +360,7 @@ async function createUser () { | ||
* [Dart](https://github.com/pd4d10/nanoid-dart) | ||
* [Deno](https://github.com/ianfabs/nanoid) | ||
* [Go](https://github.com/matoous/go-nanoid) | ||
* [Elixir](https://github.com/railsmechanic/nanoid) | ||
* [Haskell](https://github.com/4e6/nanoid-hs) | ||
* [Janet](https://sr.ht/~statianzo/janet-nanoid/) | ||
* [Java](https://github.com/aventrix/jnanoid) | ||
@@ -364,0 +367,0 @@ * [Nim](https://github.com/icyphox/nanoid.nim) |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
48496
484
3