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

@wixc3/board-core

Package Overview
Dependencies
Maintainers
66
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wixc3/board-core - npm Package Compare versions

Comparing version 2.3.0 to 2.4.0

2

package.json
{
"name": "@wixc3/board-core",
"description": "Types and helpers for component boards",
"version": "2.3.0",
"version": "2.4.0",
"main": "dist/index.js",

@@ -6,0 +6,0 @@ "files": [

@@ -14,3 +14,3 @@ import type { IRenderableMetadataBase } from './types';

render: (target: HTMLElement) => Promise<() => void>,
canvas: HTMLElement
canvas: HTMLElement,
): Promise<() => void> {

@@ -24,3 +24,3 @@ callHooks<IRenderableMetadataBase, 'beforeRender'>(data, 'beforeRender', canvas);

export function createRenderableBase<DATA extends IRenderableMetadataBase>(
data: OmitIRenderableMetadataBase<DATA>
data: OmitIRenderableMetadataBase<DATA>,
): DATA {

@@ -27,0 +27,0 @@ const res: DATA = createMetadata({

@@ -7,3 +7,3 @@ import type { IGeneralMetadata, PluginInfo, Plugin, HookMap, HOOK } from './types';

data: DATA,
hookName: HookNames<DATA>
hookName: HookNames<DATA>,
): PluginInfo<unknown, DATA, Plugin<unknown, DATA>>[] {

@@ -10,0 +10,0 @@ if (!data.plugins) {

@@ -68,3 +68,3 @@ export type LayoutSize = number | undefined | null;

TARGET extends IGeneralMetadata<HookMap>,
SYMB extends Plugin<PLUGINPARAMS, TARGET>
SYMB extends Plugin<PLUGINPARAMS, TARGET>,
> {

@@ -94,3 +94,3 @@ key: SYMB;

plugin: ReplaceParams<NonNullable<TARGET['__hooks']>, PluginProps>,
merge: (params: PluginProps[]) => PluginProps[] = defaultMerge
merge: (params: PluginProps[]) => PluginProps[] = defaultMerge,
): Plugin<PluginProps, TARGET> => {

@@ -156,3 +156,3 @@ const res: Plugin<PluginProps, TARGET> = {

board: IRenderableMetadataBase,
parentElement: HTMLElement
parentElement: HTMLElement,
) => {

@@ -159,0 +159,0 @@ canvas: HTMLElement;

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