You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

rsuite-schema

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsuite-schema - npm Package Compare versions

Comparing version

to
0.0.1-alpha.6

7

lib/Type.js

@@ -51,3 +51,8 @@ 'use strict';

//String & Array
//String trim
if (typeof value === 'string') {
value = value.replace(/(^\s*)|(\s*$)/g, '');
}
//String/Array length > 0
if (value && value.length && value.length > 0) {

@@ -54,0 +59,0 @@ return true;

2

package.json
{
"name": "rsuite-schema",
"version": "0.0.1-alpha.5",
"version": "0.0.1-alpha.6",
"description": "Schema for data modeling & validation",

@@ -5,0 +5,0 @@ "main": "lib/index.js",