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

@figma/widget-typings

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma/widget-typings - npm Package Compare versions

Comparing version

to
1.0.2

@@ -43,4 +43,6 @@ // Figma Widget API version 1, update 1

type SyncedMap<T = any> = {
/** @deprecated use size instead */
readonly length: number;
readonly size: number;
get(key: string): T | undefined;

@@ -197,3 +199,3 @@ set(key: string, value: T): void;

rotation?: number;
imageRef: string;
imageRef?: string;
}

@@ -439,4 +441,3 @@

export interface ImageProps
extends Omit<RectangleProps, "fill" | "width" | "height">,
SizeProps {
extends Omit<RectangleProps, "fill"> {
src: string | ImagePaint;

@@ -443,0 +444,0 @@ }

{
"name": "@figma/widget-typings",
"version": "1.0.1",
"version": "1.0.2",
"description": "Typings for the Figma Widget API",

@@ -5,0 +5,0 @@ "main": "",