Socket
Socket
Sign inDemoInstall

ff-validator

Package Overview
Dependencies
3
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.4.3-beta to 0.4.4-beta

2

dist/rules/urlCharacters/index.js

@@ -13,3 +13,3 @@ 'use strict';

return core_1.isValid(
/^[A-Za-z0-9_.~\-:\/?#\[\]@!$&'()*+,;=]+$/.test(value),
/^[A-Za-z0-9_.~\-:\/?#\[\]\%@!$&'()*+,;=]+$/.test(value),
errorMessage

@@ -16,0 +16,0 @@ );

@@ -13,3 +13,3 @@ 'use strict';

return core_1.isValid(
/^(?:https?:\/\/|\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)/.test(value),
/^(?:https?:\/\/|\/\/)[a-z0-9-][a-z0-9-.@:]*\.[a-z]{2,}/i.test(value),
errorMessage

@@ -16,0 +16,0 @@ );

{
"name": "ff-validator",
"version": "0.4.3-beta",
"version": "0.4.4-beta",
"description": "Customizable validation rules",

@@ -5,0 +5,0 @@ "main": "dist/fieldValidator.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc