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

@teleporthq/teleport-uidl-builders

Package Overview
Dependencies
Maintainers
5
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleporthq/teleport-uidl-builders - npm Package Compare versions

Comparing version 0.10.1 to 0.10.4

9

dist/cjs/component-builders.d.ts

@@ -1,6 +0,6 @@

import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference } from '@teleporthq/teleport-types';
import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference, UIDLRawValue } from '@teleporthq/teleport-types';
export declare const component: (name: string, node: UIDLElementNode, propDefinitions?: Record<string, UIDLPropDefinition>, stateDefinitions?: Record<string, UIDLStateDefinition>) => ComponentUIDL;
export declare const definition: (type: string, defaultValue: string | number | boolean | object | any[]) => {
export declare const definition: (type: string, defaultValue: string | number | boolean | object | unknown[]) => {
type: string;
defaultValue: string | number | boolean | object | any[];
defaultValue: string | number | boolean | object | unknown[];
};

@@ -30,2 +30,3 @@ export declare const elementNode: (elementType: string, attrs?: Record<string, UIDLAttributeValue>, children?: UIDLNode[], dependency?: UIDLDependency, style?: Record<string, UIDLStyleValue>, events?: Record<string, import("@teleporthq/teleport-types").UIDLEventHandlerStatement[]>) => UIDLElementNode;

export declare const conditionalNode: (reference: UIDLDynamicReference, node: UIDLNode, value: string | number | boolean) => UIDLConditionalNode;
export declare const repeatNode: (node: UIDLElementNode, dataSource: UIDLAttributeValue, meta?: Record<string, any>) => UIDLRepeatNode;
export declare const repeatNode: (node: UIDLElementNode, dataSource: UIDLAttributeValue, meta?: Record<string, unknown>) => UIDLRepeatNode;
export declare const rawNode: (content: string) => UIDLRawValue;

@@ -98,2 +98,8 @@ "use strict";

};
exports.rawNode = function (content) {
return {
type: 'raw',
content: content,
};
};
//# sourceMappingURL=component-builders.js.map

@@ -1,6 +0,6 @@

import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference } from '@teleporthq/teleport-types';
import { ComponentUIDL, ReferenceType, UIDLDependency, UIDLNode, UIDLSlotNode, UIDLStyleValue, UIDLRepeatNode, UIDLElementNode, UIDLStaticValue, UIDLAttributeValue, UIDLPropDefinition, UIDLStateDefinition, UIDLConditionalNode, UIDLDynamicReference, UIDLRawValue } from '@teleporthq/teleport-types';
export declare const component: (name: string, node: UIDLElementNode, propDefinitions?: Record<string, UIDLPropDefinition>, stateDefinitions?: Record<string, UIDLStateDefinition>) => ComponentUIDL;
export declare const definition: (type: string, defaultValue: string | number | boolean | object | any[]) => {
export declare const definition: (type: string, defaultValue: string | number | boolean | object | unknown[]) => {
type: string;
defaultValue: string | number | boolean | object | any[];
defaultValue: string | number | boolean | object | unknown[];
};

@@ -30,2 +30,3 @@ export declare const elementNode: (elementType: string, attrs?: Record<string, UIDLAttributeValue>, children?: UIDLNode[], dependency?: UIDLDependency, style?: Record<string, UIDLStyleValue>, events?: Record<string, import("@teleporthq/teleport-types").UIDLEventHandlerStatement[]>) => UIDLElementNode;

export declare const conditionalNode: (reference: UIDLDynamicReference, node: UIDLNode, value: string | number | boolean) => UIDLConditionalNode;
export declare const repeatNode: (node: UIDLElementNode, dataSource: UIDLAttributeValue, meta?: Record<string, any>) => UIDLRepeatNode;
export declare const repeatNode: (node: UIDLElementNode, dataSource: UIDLAttributeValue, meta?: Record<string, unknown>) => UIDLRepeatNode;
export declare const rawNode: (content: string) => UIDLRawValue;

@@ -96,2 +96,8 @@ export const component = (name, node, propDefinitions, stateDefinitions) => {

};
export const rawNode = (content) => {
return {
type: 'raw',
content,
};
};
//# sourceMappingURL=component-builders.js.map
{
"name": "@teleporthq/teleport-uidl-builders",
"version": "0.10.1",
"version": "0.10.4",
"description": "A set of functions used for constructing UIDL structures",

@@ -29,5 +29,5 @@ "author": "teleportHQ",

"dependencies": {
"@teleporthq/teleport-types": "^0.10.1"
"@teleporthq/teleport-types": "^0.10.4"
},
"gitHead": "7a290387c6a68eec58f6cc2aac5e5bcdced0184e"
"gitHead": "b5f838aac54b6af2c6bed73e4044ead5b747ecf4"
}

@@ -17,2 +17,3 @@ import {

UIDLEventDefinitions,
UIDLRawValue,
} from '@teleporthq/teleport-types'

@@ -36,3 +37,3 @@

type: string,
defaultValue: string | number | boolean | any[] | object
defaultValue: string | number | boolean | unknown[] | object
) => {

@@ -152,3 +153,3 @@ return {

dataSource: UIDLAttributeValue,
meta?: Record<string, any>
meta?: Record<string, unknown>
): UIDLRepeatNode => {

@@ -164,1 +165,8 @@ return {

}
export const rawNode = (content: string): UIDLRawValue => {
return {
type: 'raw',
content,
}
}

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

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