Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

auto-views

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-views - npm Package Compare versions

Comparing version 0.0.18 to 0.0.19

2

lib/components/auto-form/auto-form.js

@@ -89,3 +89,3 @@ "use strict";

})) == undefined;
return React.createElement(form_entry_1.Entry, { "data-automation-id": form_entry_1.entrySelector(key), entryKey: key, title: property.title, displayMode: displayMode, type: property.type, value: formData[key], onChange: function (e) { return onEntryChange && onEntryChange(key, e); }, valid: isValid });
return React.createElement(form_entry_1.Entry, { "data-automation-id": form_entry_1.entrySelector(key), entryKey: key, title: property.title || "", displayMode: displayMode, type: property.type, value: formData[key], onChange: function (e) { return onEntryChange && onEntryChange(key, e); }, valid: isValid });
};

@@ -92,0 +92,0 @@ }

export declare class SchemaProperty {
title: string;
type: string;
title: string | undefined;
[key: string]: any;
constructor(title: string, type: string, additionalProps?: any);
constructor(type: string, title?: string | undefined, additionalProps?: any);
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var SchemaProperty = (function () {
function SchemaProperty(title, type, additionalProps) {
function SchemaProperty(type, title, additionalProps) {
if (additionalProps === void 0) { additionalProps = {}; }
this.type = type;
this.title = title;
this.type = type;
for (var key in additionalProps) {

@@ -9,0 +9,0 @@ if (additionalProps.hasOwnProperty(key)) {

{
"name": "auto-views",
"version": "0.0.18",
"version": "0.0.19",
"description": "Common, fully-tested, strictly-typed, Wix-styled, auto views library",

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

@@ -1,7 +0,5 @@

import {Validator, Schema} from 'jsonschema';
export class SchemaProperty {
[key:string]:any;
constructor(public title:string, public type: string,additionalProps:any={}){
constructor(public type: string,public title?: string, additionalProps: any = {}){
for (let key in additionalProps){

@@ -8,0 +6,0 @@ if (additionalProps.hasOwnProperty(key)){

Sorry, the diff of this file is not supported yet

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