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

@plasmicapp/react-web

Package Overview
Dependencies
Maintainers
1
Versions
361
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plasmicapp/react-web - npm Package Compare versions

Comparing version 0.2.21 to 0.2.22

20

dist/canvas-host.d.ts

@@ -1,3 +0,21 @@

/// <reference types="react" />
import { ComponentType } from "react";
export interface ComponentMeta {
name: string;
props: {
[prop: string]: "string" | "boolean" | "number" | "slot";
};
}
interface Registration {
component: ComponentType;
meta: ComponentMeta;
}
declare global {
interface Window {
__PlasmicHostVersion: string;
__PlasmicComponentRegistry: Registration[];
}
}
export declare function registerComponent(component: ComponentType<any>, meta: ComponentMeta): void;
export declare function renderStudioIntoIframe(): void;
export declare function PlasmicCanvasHost(): JSX.Element;
export {};

@@ -22,4 +22,10 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.PlasmicCanvasHost = exports.renderStudioIntoIframe = void 0;
exports.PlasmicCanvasHost = exports.renderStudioIntoIframe = exports.registerComponent = void 0;
var react_1 = __importStar(require("react"));
self.__PlasmicHostVersion = "1";
self.__PlasmicComponentRegistry = [];
function registerComponent(component, meta) {
self.__PlasmicComponentRegistry.push({ component: component, meta: meta });
}
exports.registerComponent = registerComponent;
function ensure(x) {

@@ -26,0 +32,0 @@ if (x === null || x === undefined) {

2

package.json
{
"name": "@plasmicapp/react-web",
"version": "0.2.21",
"version": "0.2.22",
"description": "plasmic library for rendering in the presentational style",

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

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