New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alkimia/utilities

Package Overview
Dependencies
Maintainers
0
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alkimia/utilities - npm Package Compare versions

Comparing version

to
1.0.31

2

package.json
{
"name": "@alkimia/utilities",
"version": "1.0.29",
"version": "1.0.31",
"description": "This README would normally document whatever steps are necessary to get your application up and running.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -193,3 +193,8 @@

isValidPassword (passwordFieldInput) {
return this.isNonemptyString(passwordFieldInput) && !!passwordFieldInput.match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\^$*.\[\]{}\(\)?\-“!@#%&\/,><\’:;|_~`])\S{8,99}$/);
if(this.isNonemptyString(passwordFieldInput)){
return !!passwordFieldInput.match(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[\^$*.\[\]{}\(\)?\-“!@#%&\/,><\’:;|_~`])\S{8,99}$/);
}
else{
return false
}
},

@@ -204,3 +209,8 @@

isValidEmail (emailFieldInput) {
return this.isNonemptyString(emailFieldInput) && !!emailFieldInput.match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
if(this.isNonemptyString(emailFieldInput)){
return !!emailFieldInput.match(/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/);
}
else{
return false;
}
},

@@ -207,0 +217,0 @@