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

@expandorg/validation

Package Overview
Dependencies
Maintainers
3
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expandorg/validation - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

4

package.json
{
"name": "@expandorg/validation",
"version": "0.2.7",
"version": "0.2.8",
"description": "Expand UI validation library",

@@ -19,3 +19,3 @@ "main": "index.js",

},
"gitHead": "52adc558bf22f55907b409dc701904277d3e4a1f"
"gitHead": "b1a8e162484dd9fe6edf18d580d0b61a82a022a9"
}
// @flow
import isEmail from 'validator/lib/isEmail';
import isNumeric from 'validator/lib/isNumeric';
import isURL from 'validator/lib/isURL';

@@ -8,2 +9,3 @@ export const rules = {

isEmail: (value: any) => typeof value !== 'undefined' && isEmail(value),
isUrl: (value: any) => typeof value !== 'undefined' && isURL(value),
isTrue: (value: any) => value === true,

@@ -10,0 +12,0 @@ isNumber: (value: any) =>

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