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
41
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.81.0 to 1.82.0

2

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

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

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

readonly codegen: CodegenAPI
readonly vscode?: VSCodeAPI
readonly devResources?: DevResourcesAPI

@@ -35,2 +36,3 @@ readonly payments?: PaymentsAPI

saveVersionHistoryAsync(title: string, description?: string): Promise<VersionHistoryResult>
openExternal(url: string): void
showUI(html: string, options?: ShowUIOptions): void

@@ -184,2 +186,12 @@ readonly ui: UIAPI

): SolidPaint
setBoundVariableForEffect(
effect: Effect,
field: VariableBindableEffectField,
variable: Variable,
): Effect
setBoundVariableForLayoutGrid(
layoutGrid: LayoutGrid,
field: VariableBindableLayoutGridField,
variable: Variable,
): LayoutGrid
importVariableByKeyAsync(key: string): Promise<Variable>

@@ -357,2 +369,3 @@ }

} | null
interface VSCodeAPI {}
interface DevResourcesAPI {

@@ -940,2 +953,5 @@ on(

readonly showShadowBehindNode?: boolean
readonly boundVariables?: {
[field in VariableBindableEffectField]?: VariableAlias
}
}

@@ -950,2 +966,5 @@ interface InnerShadowEffect {

readonly blendMode: BlendMode
readonly boundVariables?: {
[field in VariableBindableEffectField]?: VariableAlias
}
}

@@ -956,2 +975,5 @@ interface BlurEffect {

readonly visible: boolean
readonly boundVariables?: {
['radius']?: VariableAlias
}
}

@@ -1033,2 +1055,5 @@ declare type Effect = DropShadowEffect | InnerShadowEffect | BlurEffect

readonly color?: RGBA
readonly boundVariables?: {
[field in VariableBindableLayoutGridField]?: VariableAlias
}
}

@@ -1040,2 +1065,5 @@ interface GridLayoutGrid {

readonly color?: RGBA
readonly boundVariables?: {
['sectionSize']?: VariableAlias
}
}

@@ -1443,2 +1471,4 @@ declare type LayoutGrid = RowsColsLayoutGrid | GridLayoutGrid

readonly strokes?: VariableAlias[]
readonly effects?: VariableAlias[]
readonly layoutGrids?: VariableAlias[]
readonly componentProperties?: {

@@ -1484,3 +1514,11 @@ readonly [propertyName: string]: VariableAlias

| 'counterAxisSpacing'
| 'strokeWeight'
| 'strokeTopWeight'
| 'strokeRightWeight'
| 'strokeBottomWeight'
| 'strokeLeftWeight'
| 'opacity'
declare type VariableBindablePaintField = 'color'
declare type VariableBindableEffectField = 'color' | 'radius' | 'spread' | 'offsetX' | 'offsetY'
declare type VariableBindableLayoutGridField = 'sectionSize' | 'count' | 'offset' | 'gutterSize'
declare type VariableBindableComponentPropertyField = 'value'

@@ -1590,3 +1628,3 @@ interface StickableMixin {

dashPattern: ReadonlyArray<number>
strokeGeometry: VectorPaths
readonly strokeGeometry: VectorPaths
}

@@ -1607,3 +1645,3 @@ interface IndividualStrokesMixin {

outlineStroke(): VectorNode | null
fillGeometry: VectorPaths
readonly fillGeometry: VectorPaths
}

@@ -2111,2 +2149,6 @@ interface CornerMixin {

| 'STROKE_COLOR'
| 'STROKE_FLOAT'
| 'EFFECT_FLOAT'
| 'EFFECT_COLOR'
| 'OPACITY'
declare type CodeSyntaxPlatform = 'WEB' | 'ANDROID' | 'iOS'

@@ -2113,0 +2155,0 @@ interface Variable extends PluginDataMixin {

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