Socket
Socket
Sign inDemoInstall

figma-js

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figma-js - npm Package Compare versions

Comparing version 1.5.1 to 1.6.0

16

build/main/figmaTypes.d.ts

@@ -538,2 +538,4 @@ export interface Global {

export interface Component {
/** The componens key */
readonly key: string;
/** The name of the component */

@@ -544,2 +546,13 @@ readonly name: string;

}
/**
* A description of styles used in a file.
*/
export interface Style {
/** The name of the stlye */
readonly name: string;
/** The unique identifier of the style */
readonly key: string;
/** The type of style */
readonly styleType: 'FILL' | 'TEXT' | 'EFFECT' | 'GRID';
}
/** A comment or reply left by a user */

@@ -584,2 +597,5 @@ export interface Comment {

};
readonly styles: {
readonly [key: string]: Style;
};
readonly document: Document;

@@ -586,0 +602,0 @@ readonly lastModified: string;

@@ -538,2 +538,4 @@ export interface Global {

export interface Component {
/** The componens key */
readonly key: string;
/** The name of the component */

@@ -544,2 +546,13 @@ readonly name: string;

}
/**
* A description of styles used in a file.
*/
export interface Style {
/** The name of the stlye */
readonly name: string;
/** The unique identifier of the style */
readonly key: string;
/** The type of style */
readonly styleType: 'FILL' | 'TEXT' | 'EFFECT' | 'GRID';
}
/** A comment or reply left by a user */

@@ -584,2 +597,5 @@ export interface Comment {

};
readonly styles: {
readonly [key: string]: Style;
};
readonly document: Document;

@@ -586,0 +602,0 @@ readonly lastModified: string;

2

package.json
{
"name": "figma-js",
"version": "1.5.1",
"version": "1.6.0",
"description": "A simple wrapper for the Figma API",

@@ -5,0 +5,0 @@ "main": "build/main/index.js",

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