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

@skyux/validation

Package Overview
Dependencies
Maintainers
1
Versions
399
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@skyux/validation - npm Package Compare versions

Comparing version 5.6.0 to 5.6.1

4

bundles/skyux-validation.umd.js

@@ -34,7 +34,7 @@ (function (global, factory) {

// tslint:disable-next-line:max-line-length
var 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,}))$/;
var 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,}))$/;
return regex.test(emailAddress);
};
SkyValidation.isUrl = function (url) {
var regex = /^((http|https):\/\/)?([\w\-]+\.)+[\w\-]+/i;
var regex = /^((http|https):\/\/)?([\w-]+\.)+[\w-]+/i;
return regex.test(url);

@@ -41,0 +41,0 @@ };

@@ -6,7 +6,7 @@ export class SkyValidation {

// tslint:disable-next-line:max-line-length
const 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,}))$/;
const 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,}))$/;
return regex.test(emailAddress);
}
static isUrl(url) {
const regex = /^((http|https):\/\/)?([\w\-]+\.)+[\w\-]+/i;
const regex = /^((http|https):\/\/)?([\w-]+\.)+[\w-]+/i;
return regex.test(url);

@@ -13,0 +13,0 @@ }

@@ -10,7 +10,7 @@ import * as i0 from '@angular/core';

// tslint:disable-next-line:max-line-length
const 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,}))$/;
const 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,}))$/;
return regex.test(emailAddress);
}
static isUrl(url) {
const regex = /^((http|https):\/\/)?([\w\-]+\.)+[\w\-]+/i;
const regex = /^((http|https):\/\/)?([\w-]+\.)+[\w-]+/i;
return regex.test(url);

@@ -17,0 +17,0 @@ }

{
"name": "@skyux/validation",
"version": "5.6.0",
"peerDependencies": {
"@angular/common": "^12.2.16",
"@angular/core": "^12.2.16",
"@angular/forms": "^12.2.16"
},
"dependencies": {
"tslib": "^2.3.1"
},
"version": "5.6.1",
"author": "Blackbaud, Inc.",

@@ -26,2 +18,10 @@ "keywords": [

"homepage": "https://github.com/blackbaud/skyux#readme",
"peerDependencies": {
"@angular/common": "^12.2.16",
"@angular/core": "^12.2.16",
"@angular/forms": "^12.2.16"
},
"dependencies": {
"tslib": "^2.3.1"
},
"main": "bundles/skyux-validation.umd.js",

@@ -28,0 +28,0 @@ "module": "fesm2015/skyux-validation.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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