Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nanoid

Package Overview
Dependencies
Maintainers
1
Versions
101
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 1.2.1 to 1.2.2

3

CHANGELOG.md
# Change Log
This project adheres to [Semantic Versioning](http://semver.org/).
## 1.2.2
* Fix distribution in `nanoid/non-secure` (by Eatall).
## 1.2.1

@@ -5,0 +8,0 @@ * Fix old Node.js support.

2

non-secure.js

@@ -25,5 +25,5 @@ var url = '_~getRandomVcryp0123456789bfhijklqsuvwxzABCDEFGHIJKLMNOPQSTUWXYZ'

while (0 < size--) {
id += url[Math.random() * 63 | 0]
id += url[Math.random() * 64 | 0]
}
return id
}
{
"name": "nanoid",
"version": "1.2.1",
"version": "1.2.2",
"description": "A tiny (145 bytes), secure URL-friendly unique string ID generator",

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

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

```
```rust
$ ./test/benchmark

@@ -84,0 +84,0 @@ nanoid 354,201 ops/sec

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