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

@figma/plugin-typings

Package Overview
Dependencies
Maintainers
39
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma/plugin-typings - npm Package Compare versions

Comparing version 1.71.1 to 1.72.0

2

package.json
{
"name": "@figma/plugin-typings",
"version": "1.71.1",
"version": "1.72.0",
"description": "Typings for the Figma Plugin API",

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

@@ -36,2 +36,3 @@ /* plugin-typings are auto-generated. Do not update them directly. See plugin-docs/ for instructions. */

readonly ui: UIAPI
readonly util: UtilAPI
readonly clientStorage: ClientStorageAPI

@@ -259,2 +260,7 @@ readonly parameters: ParametersAPI

}
interface UtilAPI {
rgb(color: string | RGB | RGBA): RGB
rgba(color: string | RGB | RGBA): RGBA
solidPaint(color: string | RGB | RGBA, overrides?: Partial<SolidPaint>): SolidPaint
}
declare type CodegenEvent = {

@@ -336,2 +342,5 @@ node: SceneNode

}
declare type DevResourceOpenEvent = {
devResource: DevResourceWithNodeId
}
declare type AuthResult = {

@@ -346,2 +355,3 @@ type: 'AUTH_SUCCESS'

on(type: 'auth', callback: (event: AuthEvent) => Promise<AuthResult> | AuthResult): void
on(type: 'open', callback: (event: DevResourceOpenEvent) => void): void
once(

@@ -352,2 +362,3 @@ type: 'linkpreview',

once(type: 'auth', callback: (event: AuthEvent) => Promise<AuthResult> | AuthResult): void
once(type: 'open', callback: (event: DevResourceOpenEvent) => void): void
off(

@@ -358,2 +369,3 @@ type: 'linkpreview',

off(type: 'auth', callback: (event: AuthEvent) => Promise<AuthResult> | AuthResult): void
off(type: 'open', callback: (event: DevResourceOpenEvent) => void): void
}

@@ -1680,2 +1692,20 @@ interface TimerAPI {

| 'ENG_FOLDER'
| 'TRAPEZOID'
| 'PREDEFINED_PROCESS'
| 'SHIELD'
| 'DOCUMENT_SINGLE'
| 'DOCUMENT_MULTIPLE'
| 'MANUAL_INPUT'
| 'HEXAGON'
| 'CHEVRON'
| 'PENTAGON'
| 'OCTAGON'
| 'STAR'
| 'PLUS'
| 'ARROW_LEFT'
| 'ARROW_RIGHT'
| 'SUMMING_JUNCTION'
| 'OR'
| 'SPEECH_BUBBLE'
| 'INTERNAL_STORAGE'
readonly text: TextSublayerNode

@@ -1682,0 +1712,0 @@ readonly cornerRadius?: number

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