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

@teleporthq/teleport-plugin-html-base-component

Package Overview
Dependencies
Maintainers
5
Versions
106
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@teleporthq/teleport-plugin-html-base-component - npm Package Compare versions

Comparing version 0.31.0 to 0.31.3

5

dist/cjs/node-handlers.js

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

var generateComponentContent = function (node, propDefinitions, stateDefinitions, subComponentOptions, structure) { return __awaiter(void 0, void 0, void 0, function () {
var externals, plugins, _a, elementType, _b, attrs, key, _c, children, dependencies, _d, chunks, options, comp, lookUpTemplates, compHasSlots, combinedProps, propsForInstance, combinedStates, statesForInstance, elementNode, compTag, cssPlugin, initialStructure, result, chunk, styleChunk;
var externals, plugins, _a, elementType, _b, attrs, key, _c, children, dependencies, _d, chunks, options, compName, comp, lookUpTemplates, compHasSlots, combinedProps, propsForInstance, combinedStates, statesForInstance, elementNode, compTag, cssPlugin, initialStructure, result, chunk, styleChunk;
var _e;

@@ -168,3 +168,4 @@ return __generator(this, function (_f) {

dependencies = structure.dependencies, _d = structure.chunks, chunks = _d === void 0 ? [] : _d, options = structure.options;
comp = teleport_shared_1.UIDLUtils.cloneObject(externals[elementType] || {});
compName = elementType === 'Component' ? 'AppComponent' : elementType;
comp = teleport_shared_1.UIDLUtils.cloneObject(externals[compName] || {});
lookUpTemplates = {};

@@ -171,0 +172,0 @@ compHasSlots = false;

@@ -155,3 +155,3 @@ var __assign = (this && this.__assign) || function () {

var generateComponentContent = function (node, propDefinitions, stateDefinitions, subComponentOptions, structure) { return __awaiter(void 0, void 0, void 0, function () {
var externals, plugins, _a, elementType, _b, attrs, key, _c, children, dependencies, _d, chunks, options, comp, lookUpTemplates, compHasSlots, combinedProps, propsForInstance, combinedStates, statesForInstance, elementNode, compTag, cssPlugin, initialStructure, result, chunk, styleChunk;
var externals, plugins, _a, elementType, _b, attrs, key, _c, children, dependencies, _d, chunks, options, compName, comp, lookUpTemplates, compHasSlots, combinedProps, propsForInstance, combinedStates, statesForInstance, elementNode, compTag, cssPlugin, initialStructure, result, chunk, styleChunk;
var _e;

@@ -164,3 +164,4 @@ return __generator(this, function (_f) {

dependencies = structure.dependencies, _d = structure.chunks, chunks = _d === void 0 ? [] : _d, options = structure.options;
comp = UIDLUtils.cloneObject(externals[elementType] || {});
compName = elementType === 'Component' ? 'AppComponent' : elementType;
comp = UIDLUtils.cloneObject(externals[compName] || {});
lookUpTemplates = {};

@@ -167,0 +168,0 @@ compHasSlots = false;

10

package.json
{
"name": "@teleporthq/teleport-plugin-html-base-component",
"version": "0.31.0",
"version": "0.31.3",
"description": "A plugin for handling the skeleton/baseline of a base html component",

@@ -27,9 +27,9 @@ "author": "teleportHQ",

"dependencies": {
"@teleporthq/teleport-plugin-common": "^0.31.0",
"@teleporthq/teleport-plugin-css": "^0.31.0",
"@teleporthq/teleport-shared": "^0.31.0",
"@teleporthq/teleport-plugin-common": "^0.31.3",
"@teleporthq/teleport-plugin-css": "^0.31.3",
"@teleporthq/teleport-shared": "^0.31.3",
"@teleporthq/teleport-types": "^0.31.0",
"@teleporthq/teleport-uidl-builders": "^0.31.0"
},
"gitHead": "37c3970566832845c57f0ef11088a9214af720b2"
"gitHead": "290dbc03d87888316b91dae1eb937dbf10bd1ca5"
}

@@ -215,3 +215,5 @@ import {

const { dependencies, chunks = [], options } = structure
const comp = UIDLUtils.cloneObject(externals[elementType] || {}) as ComponentUIDL
// "Component" will not exist when generating a component because the resolver checks for illegal class names
const compName = elementType === 'Component' ? 'AppComponent' : elementType
const comp = UIDLUtils.cloneObject(externals[compName] || {}) as ComponentUIDL
const lookUpTemplates: Record<string, unknown> = {}

@@ -218,0 +220,0 @@ let compHasSlots: boolean = false

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