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

@paroicms/bo-plugin-lib

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paroicms/bo-plugin-lib - npm Package Compare versions

Comparing version 0.4.4 to 0.5.0

4

package.json
{
"name": "@paroicms/bo-plugin-lib",
"version": "0.4.4",
"version": "0.5.0",
"description": "Common utilitaries for paroicms plugins (back-office side).",

@@ -22,3 +22,3 @@ "author": "Paroi Team",

"dependencies": {
"@paroicms/anywhere-lib": "1.7.0"
"@paroicms/anywhere-lib": "1.8.0"
},

@@ -25,0 +25,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

import type { FieldType } from "@paroicms/anywhere-lib";
import type { FTextImage, FieldType, Media, VariantName } from "@paroicms/anywhere-lib";

@@ -13,2 +13,3 @@ export type BoPlugin = {

dispose(): void;
insertMedia?(media: Media): Promise<void>;
}

@@ -22,7 +23,24 @@

createModalDialog(dialog: PluginDialog): PluginDialogHandler;
useImage(mediaUid: string, displaySize: VariantName): Promise<UsedImage>;
themeConf: EditorImageConf;
publicSiteUrl: string;
}
export interface EditorImageConf {
pixelRatio: number;
fTextImages: FTextImage[];
}
export interface UsedImage {
url: string;
displayWidth: number;
displayHeight: number;
realWidth: number;
realHeight: number;
mediaType: string;
}
export interface PluginDialog {
content?: HTMLElement;
footer?: HTMLElement;
content?: PluginHTMLElement;
footer?: PluginHTMLElement;
header?: string;

@@ -35,2 +53,4 @@ /**

export type PluginHTMLElement = HTMLElement | false | PluginHTMLElement[];
export interface PluginDialogHandler {

@@ -37,0 +57,0 @@ show(): void;

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