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

nanoid - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

5

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 3.0.1
* Fix React Native warning on `non-secure` import (by Jia Huang).
## 3.0
Migration guide: <https://github.com/ai/nanoid/releases/tag/3.0.0>
**Migration guide:** <https://github.com/ai/nanoid/releases/tag/3.0.0>
* Move to ES2016 syntax. You need to use Babel for IE 11.

@@ -7,0 +10,0 @@ * Move to named exports `import { nanoid } from 'nanoid'`.

@@ -1,2 +0,5 @@

import { urlAlphabet } from '../index.js'
// This alphabet uses `A-Za-z0-9_-` symbols. The genetic algorithm helped
// optimize the gzip compression for this alphabet.
let urlAlphabet =
'ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW'

@@ -3,0 +6,0 @@ let customAlphabet = (alphabet, size) => {

2

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

@@ -5,0 +5,0 @@ "keywords": [

@@ -18,2 +18,4 @@ # Nano ID

So ID size was reduced from 36 to 21 symbols.
* **Portable.** Nano ID was ported
to [14 programming languages](#other-programming-languages).

@@ -85,2 +87,3 @@ ```js

secure-random-string 366,434 ops/sec
cuid 183,998 ops/sec
shortid 59,343 ops/sec

@@ -254,3 +257,3 @@

Though, it is not recommended to be used in production
because of the lower performance.
because of the lower loading performance.

@@ -257,0 +260,0 @@ ```js

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc