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

naturaltts-validation

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

naturaltts-validation - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

5

lib/index.js

@@ -6,6 +6,9 @@ "use strict";

});
exports.validateUsername = exports.validateEmail = exports.validatePassword = void 0;
exports.validateUsername = exports.validateEmail = exports.validatePassword = exports.USERNAME_REGEX = exports.PASSWORD_REGEX = exports.EMAIL_REGEX = void 0;
var EMAIL_REGEX = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;
exports.EMAIL_REGEX = EMAIL_REGEX;
var PASSWORD_REGEX = /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&])[A-Za-z\d@$!%*#?&]{8,}$/;
exports.PASSWORD_REGEX = PASSWORD_REGEX;
var USERNAME_REGEX = /^[A-Za-z0-9]+(?:[ _-][A-Za-z0-9]+)*$/;
exports.USERNAME_REGEX = USERNAME_REGEX;

@@ -12,0 +15,0 @@ function validateValue(REGEX) {

2

package.json
{
"name": "naturaltts-validation",
"version": "1.0.8",
"version": "1.0.9",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "repository": "git@github.com:Werter12/naturaltts-validation.git",

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