You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

nanoid

Package Overview
Dependencies
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.12 to 3.1.13

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 3.1.13
* Remove Node.js 15.0.0 with `randomFillSync` regression from `engines.node`.
## 3.1.12

@@ -5,0 +8,0 @@ * Improve IE 11 docs.

4

package.json
{
"name": "nanoid",
"version": "3.1.12",
"version": "3.1.13",
"description": "A tiny (108 bytes), secure URL-friendly unique string ID generator",

@@ -12,3 +12,3 @@ "keywords": [

"engines": {
"node": "^10 || ^12 || >=13.7"
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
},

@@ -15,0 +15,0 @@ "author": "Andrey Sitnik <andrey@sitnik.ru>",

@@ -49,2 +49,3 @@ # Nano ID

* [React Native](#react-native)
* [Rollup](#rollup)
* [Expo](#expo)

@@ -230,8 +231,6 @@ * [PouchDB and CouchDB](#pouchdb-and-couchdb)

If you have an error above, here is temporary fix:
[Pull request](https://github.com/facebook/create-react-app/pull/8768) was sent,
but it was still not released.
1. Use Nano ID 2 instead of 3: `npm i nanoid@^2.0.0`.
2. Vote for
[pull request](https://github.com/facebook/create-react-app/pull/8768),
that fix dual packages support.
Use Nano ID 2 `npm i nanoid@^2.0.0` until Create React App 4.0 release.

@@ -256,2 +255,18 @@

### Rollup
For Rollup you will need [`@rollup/plugin-replace`] to replace
`process.env.NODE_ENV`:
```js
plugins: [
replace({
'process.env.NODE_ENV': JSON.stringify(process.env.NODE)
})
]
```
[`@rollup/plugin-replace`]: https://github.com/rollup/plugins/tree/master/packages/replace
### Expo

@@ -406,3 +421,3 @@

Unfortunately, you will lose Web Crypto API advantages in a browser
if you the asynchronous API. So, currently, in the browser, you are limited
if you use the asynchronous API. So, currently, in the browser, you are limited
with either security or asynchronous behavior.

@@ -409,0 +424,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc