🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

form-schema-kit

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

form-schema-kit - npm Package Compare versions

Comparing version
1.0.1
to
1.0.2
+1
-1
package.json
{
"name": "form-schema-kit",
"version": "1.0.1",
"version": "1.0.2",
"description": "Simple JSON form schema for generating live fields with validations, dependencies, pages.",

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

@@ -6,2 +6,3 @@ 'use strict'

var fieldDynamicType = require('./get-dynamic-type')
var fieldGetValue = require('./get-value')

@@ -18,2 +19,4 @@ module.exports = function (field, values, as_is) {

fieldValidate.call(this, field)
field.$value = fieldGetValue.call(this, field, 'label').join(field.multiline ? '<br>' : ', ')
}
'use strict'
var fieldGetValues = require('./get-value')
var fieldGetValue = require('./get-value')
var fieldValidator = require('./validator')

@@ -11,4 +11,4 @@ var isBoolean = require('wsk-utils/var/is/boolean')

if (isUndefined(validator)) {
values = fieldGetValues.call(this, field)
validator = fieldValidator.call(this, field, values, fieldGetValues.call(this, field, 'label'))
values = fieldGetValue.call(this, field)
validator = fieldValidator.call(this, field, values, fieldGetValue.call(this, field, 'label'))
} else {

@@ -15,0 +15,0 @@ validator = {