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

@revolugo/common

Package Overview
Dependencies
Maintainers
1
Versions
1892
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@revolugo/common - npm Package Compare versions

Comparing version 4.9.0-beta.8 to 4.9.0-beta.9

3

dist/utils/validators.d.ts

@@ -7,5 +7,8 @@ export declare function isValidCssSize(size: string): boolean;

minLength: (value: string, length: number) => boolean;
maxCount: (value: number, length: number) => boolean;
minCount: (value: number, length: number) => boolean;
password: (value: string) => boolean;
required: (value: string) => boolean;
phone: (value: string) => boolean;
};
//# sourceMappingURL=validators.d.ts.map

5

dist/utils/validators.js

@@ -9,6 +9,9 @@ export function isValidCssSize(size) {

minLength: (value, length)=>value.length >= length,
maxCount: (value, length)=>value <= length,
minCount: (value, length)=>value >= length,
password: (value)=>/(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*]).{8,}/u.test(value),
required: (value)=>!!value
required: (value)=>!!value,
phone: (value)=>/[\d-]+/u.test(value)
};
//# sourceMappingURL=validators.js.map

@@ -5,3 +5,3 @@ {

"description": "Revolugo common",
"version": "4.9.0-beta.8",
"version": "4.9.0-beta.9",
"private": false,

@@ -8,0 +8,0 @@ "type": "module",

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