Socket
Socket
Sign inDemoInstall

nanoid

Package Overview
Dependencies
0
Maintainers
1
Versions
100
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.5 to 1.2.6

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 1.2.6
* Reduce library size (by rqrqrqrq).
## 1.2.5

@@ -5,0 +8,0 @@ * Fix Node.js 6.11.1 support (by Andrey Belym).

2

index.browser.js

@@ -12,3 +12,3 @@ if (process.env.NODE_ENV !== 'production') {

var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ'
var url = '_~getRandomVsCrypwhil0214563789bcfjkquvxzABDEFGHIJKLMNOPQSTUWXYZ'

@@ -15,0 +15,0 @@ module.exports = function (size) {

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

var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ'
var url = '_~varfunctio0125634789bdegjhklmpqswxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'

@@ -3,0 +3,0 @@ /**

{
"name": "nanoid",
"version": "1.2.5",
"description": "A tiny (145 bytes), secure URL-friendly unique string ID generator",
"version": "1.2.6",
"description": "A tiny (143 bytes), secure URL-friendly unique string ID generator",
"keywords": [

@@ -6,0 +6,0 @@ "uuid",

@@ -11,3 +11,3 @@ # Nano ID

**Small.** 145 bytes (minified and gzipped). No dependencies.
**Small.** 143 bytes (minified and gzipped). No dependencies.
It uses [Size Limit] to control size.

@@ -77,3 +77,3 @@

2. Nano ID code is 3 times less than `uuid/v4` package:
145 bytes instead of 435.
143 bytes instead of 435.

@@ -239,2 +239,3 @@

* [Java](https://github.com/aventrix/jnanoid)
* [Nim](https://github.com/icyphox/nanoid.nim)
* [PHP](https://github.com/hidehalo/nanoid-php)

@@ -241,0 +242,0 @@ * [Python](https://github.com/puyuan/py-nanoid)

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc