Comparing version 0.0.1 to 0.0.2
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3451