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.2.3 to 1.3.0

16

build/main/figmaTypes.d.ts

@@ -79,3 +79,3 @@ export interface Global {

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
/** Does this node clip content outside of its bounds? */

@@ -140,3 +140,3 @@ readonly clipsContent: boolean;

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
/**

@@ -233,3 +233,3 @@ * An array of effects attached to this node

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
}

@@ -285,3 +285,3 @@ /** A node that can have instances created of it that share the same properties */

/** A rectangle that expresses a bounding box in absolute coordinates */
export interface Rectangle {
export interface Rect {
/** X coordinate of top left corner of the rectangle */

@@ -386,3 +386,3 @@ readonly x: number;

readonly blendMode?: BlendMode;
readonly offset?: Vector;
readonly offset?: Vector2;
}

@@ -417,3 +417,3 @@ /** A solid color, gradient, or image texture that can be applied as fills or strokes */

*/
readonly gradientHandlePositions?: ReadonlyArray<Vector>;
readonly gradientHandlePositions?: ReadonlyArray<Vector2>;
/**

@@ -429,3 +429,3 @@ * Positions of key points along the gradient axis with the colors

/** A 2d vector */
export interface Vector {
export interface Vector2 {
/** X coordinate of the vector */

@@ -497,3 +497,3 @@ readonly x: number;

readonly message: string;
readonly client_meta: Vector;
readonly client_meta: Vector2;
/**

@@ -500,0 +500,0 @@ * Only set for top level comments. The number displayed with the

@@ -79,3 +79,3 @@ export interface Global {

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
/** Does this node clip content outside of its bounds? */

@@ -140,3 +140,3 @@ readonly clipsContent: boolean;

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
/**

@@ -233,3 +233,3 @@ * An array of effects attached to this node

/** Bounding box of the node in absolute space coordinates */
readonly absoluteBoundingBox: Rectangle;
readonly absoluteBoundingBox: Rect;
}

@@ -285,3 +285,3 @@ /** A node that can have instances created of it that share the same properties */

/** A rectangle that expresses a bounding box in absolute coordinates */
export interface Rectangle {
export interface Rect {
/** X coordinate of top left corner of the rectangle */

@@ -386,3 +386,3 @@ readonly x: number;

readonly blendMode?: BlendMode;
readonly offset?: Vector;
readonly offset?: Vector2;
}

@@ -417,3 +417,3 @@ /** A solid color, gradient, or image texture that can be applied as fills or strokes */

*/
readonly gradientHandlePositions?: ReadonlyArray<Vector>;
readonly gradientHandlePositions?: ReadonlyArray<Vector2>;
/**

@@ -429,3 +429,3 @@ * Positions of key points along the gradient axis with the colors

/** A 2d vector */
export interface Vector {
export interface Vector2 {
/** X coordinate of the vector */

@@ -497,3 +497,3 @@ readonly x: number;

readonly message: string;
readonly client_meta: Vector;
readonly client_meta: Vector2;
/**

@@ -500,0 +500,0 @@ * Only set for top level comments. The number displayed with the

{
"name": "figma-js",
"version": "1.2.3",
"version": "1.3.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