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

random-id

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

random-id - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "random-id",
"version": "0.0.1",
"version": "0.0.2",
"description": "Generates a random String with options.",

@@ -5,0 +5,0 @@ "license": "MIT",

(function(){
var randomID = function(len,pattern){
var possibilities = ["abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ", "0123456789", "!§$%&/()=?-.,;:_#<>*+^°`´"];
var possibilities = ["abcdefghijklmnopqrstuvwxyz","ABCDEFGHIJKLMNOPQRSTUVWXYZ", "0123456789", "~!@#$%^&()_+-={}[];\',"];
var chars = "";

@@ -5,0 +5,0 @@

@@ -30,3 +30,3 @@ #randomID

- any number: includes 0-9
- anything else: includes special characters (!§$%&/()=?-.,;:_#<>*+^°`´)
- anything else: includes special characters (~!@#$%^&()_+-={}[];\',)

@@ -33,0 +33,0 @@

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