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
3
Versions
112
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.4.0 to 1.5.0

17

index.d.ts

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

// Figma Plugin API version 1, update 4
// Figma Plugin API version 1, update 5

@@ -26,5 +26,5 @@ // Global variable with Figma's plugin API.

on(type: "selectionchange" | "currentpagechange", callback: () => void) // PROPOSED API ONLY
once(type: "selectionchange" | "currentpagechange", callback: () => void) // PROPOSED API ONLY
off(type: "selectionchange" | "currentpagechange", callback: () => void) // PROPOSED API ONLY
on(type: "selectionchange" | "currentpagechange" | "close", callback: () => void)
once(type: "selectionchange" | "currentpagechange" | "close", callback: () => void)
off(type: "selectionchange" | "currentpagechange" | "close", callback: () => void)

@@ -99,2 +99,3 @@ readonly mixed: symbol

height?: number,
position?: 'default' | 'last' | 'auto' // PROPOSED API ONLY
}

@@ -119,6 +120,6 @@

postMessage(pluginMessage: any, options?: UIPostMessageOptions): void
onmessage: ((pluginMessage: any, props: OnMessageProperties) => void) | undefined
on(type: "message", callback: MessageEventHandler) // PROPOSED API ONLY
once(type: "message", callback: MessageEventHandler) // PROPOSED API ONLY
off(type: "message", callback: MessageEventHandler) // PROPOSED API ONLY
onmessage: MessageEventHandler | undefined
on(type: "message", callback: MessageEventHandler)
once(type: "message", callback: MessageEventHandler)
off(type: "message", callback: MessageEventHandler)
}

@@ -125,0 +126,0 @@

{
"name": "@figma/plugin-typings",
"version": "1.4.0",
"version": "1.5.0",
"description": "Typings for the Figma Plugin API",

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

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