async-validator
Advanced tools
Comparing version 4.0.6 to 4.0.7
@@ -5,8 +5,2 @@ 'use strict'; | ||
var urlRegex = require('url-regex'); | ||
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } | ||
var urlRegex__default = /*#__PURE__*/_interopDefaultLegacy(urlRegex); | ||
function _extends() { | ||
@@ -423,5 +417,3 @@ _extends = Object.assign || function (target) { | ||
email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/, | ||
url: urlRegex__default['default']({ | ||
exact: true | ||
}), | ||
url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i'), | ||
hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i | ||
@@ -428,0 +420,0 @@ }; |
@@ -1,3 +0,1 @@ | ||
import urlRegex from 'url-regex'; | ||
function _extends() { | ||
@@ -414,5 +412,3 @@ _extends = Object.assign || function (target) { | ||
email: /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/, | ||
url: urlRegex({ | ||
exact: true | ||
}), | ||
url: new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$", 'i'), | ||
hex: /^#?([a-f0-9]{6}|[a-f0-9]{3})$/i | ||
@@ -419,0 +415,0 @@ }; |
{ | ||
"name": "async-validator", | ||
"description": "validate form asynchronous", | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"license": "MIT", | ||
@@ -25,5 +25,3 @@ "files": [ | ||
}, | ||
"dependencies": { | ||
"url-regex": "^5.0.0" | ||
}, | ||
"dependencies": {}, | ||
"devDependencies": { | ||
@@ -30,0 +28,0 @@ "@babel/core": "^7.15.0", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
255094
0
0
2355
- Removedurl-regex@^5.0.0
- Removedip-regex@4.3.0(transitive)
- Removedtlds@1.253.0(transitive)
- Removedurl-regex@5.0.0(transitive)