Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.8.1 to 1.8.2

6

build/main/index.d.ts

@@ -13,5 +13,5 @@ import * as Figma from './figmaTypes';

/** A number between 0.01 and 4, the image scaling factor */
readonly scale: number;
/** A string enum for the image output format, can be "jpg", "png", or "svg" */
readonly format: 'jpg' | 'png' | 'svg';
readonly scale?: number;
/** A string enum for the image output format, can be "jpg", "png", "svg", or "pdf" */
readonly format?: 'jpg' | 'png' | 'svg' | 'pdf';
/**

@@ -18,0 +18,0 @@ * Whether to include id attributes for all SVG elements.

@@ -13,5 +13,5 @@ import * as Figma from './figmaTypes';

/** A number between 0.01 and 4, the image scaling factor */
readonly scale: number;
/** A string enum for the image output format, can be "jpg", "png", or "svg" */
readonly format: 'jpg' | 'png' | 'svg';
readonly scale?: number;
/** A string enum for the image output format, can be "jpg", "png", "svg", or "pdf" */
readonly format?: 'jpg' | 'png' | 'svg' | 'pdf';
/**

@@ -18,0 +18,0 @@ * Whether to include id attributes for all SVG elements.

{
"name": "figma-js",
"version": "1.8.1",
"version": "1.8.2",
"description": "A simple wrapper for the Figma API",

@@ -36,3 +36,4 @@ "main": "build/main/index.js",

"all": "run-s doc:html",
"zzzprepare-release": "run-s all version doc:publish",
"prepare-release": "yarn build && yarn doc && yarn doc:publish",
"release": "yarn prepare-release && yarn publish && git push && git push --tag",
"zzzpreinstall": "node -e \"if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('figma-js must be installed with Yarn: https://yarnpkg.com/')\""

@@ -39,0 +40,0 @@ },

@@ -7,2 +7,3 @@ # Figma.js

- [figma-graphql](https://github.com/braposo/figma-graphql)
- [figmint](https://github.com/tiltshift/figmint)

@@ -9,0 +10,0 @@ ## Usage

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