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

figma-js

Package Overview
Dependencies
Maintainers
2
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.11.0 to 1.12.0

6

build/main/figmaTypes.d.ts

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

*/
readonly rectangleCornerRadii?: [number, number, number, number];
readonly rectangleCornerRadii?: readonly [number, number, number, number];
/**

@@ -130,3 +130,3 @@ * An array of export settings representing images to export from node

*/
readonly layoutAlign?: String;
readonly layoutAlign?: string;
/**

@@ -376,3 +376,3 @@ * Node ID of node to transition to in prototyping

/** Array of length 4 of the radius of each corner of the rectangle, starting in the top left and proceeding clockwise */
readonly rectangleCornerRadii?: [number, number, number, number];
readonly rectangleCornerRadii?: readonly [number, number, number, number];
}

@@ -379,0 +379,0 @@ /** A text box */

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

/**
* Comma separated list of nodes that you care about in the document.
* A list of nodes that you care about in the document.
* If specified, only a subset of the document will be returned corresponding to the nodes listed, their children, and everything between the root node and the listed nodes
*/
readonly ids?: string;
readonly ids?: ReadonlyArray<string>;
/**

@@ -57,2 +57,8 @@ * Positive integer representing how deep into the document tree to traverse.

readonly svg_simplify_stroke?: boolean;
/**
* Use the full dimensions of the node regardless of whether or not it is cropped or the space around it is empty.
* Use this to export text nodes without cropping.
* @default false
*/
readonly use_absolute_bounds?: boolean;
/** A specific version ID to use. Omitting this will use the current version of the file */

@@ -59,0 +65,0 @@ readonly version?: string;

"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -6,2 +16,4 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

Object.defineProperty(exports, "__esModule", { value: true });
exports.Client = void 0;
__exportStar(require("./figmaTypes"), exports);
const axios_1 = __importDefault(require("axios"));

@@ -11,36 +23,38 @@ exports.Client = (opts) => {

? {
Authorization: `Bearer ${opts.accessToken}`
Authorization: `Bearer ${opts.accessToken}`,
}
: {
'X-Figma-Token': opts.personalAccessToken
'X-Figma-Token': opts.personalAccessToken,
};
const client = axios_1.default.create({
baseURL: `https://${opts.apiRoot || 'api.figma.com'}/v1/`,
headers
headers,
});
return {
client,
file: (fileId, params = {}) => client.get(`files/${fileId}`, { params }),
fileVersions: fileId => client.get(`files/${fileId}/versions`),
file: (fileId, params = {}) => client.get(`files/${fileId}`, {
params: Object.assign(Object.assign({}, params), { ids: params.ids.join(',') }),
}),
fileVersions: (fileId) => client.get(`files/${fileId}/versions`),
fileNodes: (fileId, params) => client.get(`files/${fileId}/nodes`, {
params: Object.assign({}, params, { ids: params.ids.join(',') })
params: Object.assign(Object.assign({}, params), { ids: params.ids.join(',') }),
}),
fileImages: (fileId, params) => client.get(`images/${fileId}`, {
params: Object.assign({}, params, { ids: params.ids.join(',') })
params: Object.assign(Object.assign({}, params), { ids: params.ids.join(',') }),
}),
fileImageFills: fileId => client.get(`files/${fileId}/images`),
comments: fileId => client.get(`files/${fileId}/comments`),
fileImageFills: (fileId) => client.get(`files/${fileId}/images`),
comments: (fileId) => client.get(`files/${fileId}/comments`),
postComment: (fileId, params) => client.post(`files/${fileId}/comments`, params),
deleteComment: (fileId, commentId) => client.delete(`files/${fileId}/comments/${commentId}`),
me: () => client.get(`me`),
teamProjects: teamId => client.get(`teams/${teamId}/projects`),
projectFiles: projectId => client.get(`projects/${projectId}/files`),
teamProjects: (teamId) => client.get(`teams/${teamId}/projects`),
projectFiles: (projectId) => client.get(`projects/${projectId}/files`),
teamComponents: (teamId, params = {}) => client.get(`teams/${teamId}/components`, { params }),
fileComponents: fileId => client.get(`files/${fileId}/components`),
component: key => client.get(`components/${key}`),
fileComponents: (fileId) => client.get(`files/${fileId}/components`),
component: (key) => client.get(`components/${key}`),
teamStyles: (teamId, params = {}) => client.get(`teams/${teamId}/styles`, { params }),
fileStyles: fileId => client.get(`files/${fileId}/styles`),
style: key => client.get(`styles/${key}`)
fileStyles: (fileId) => client.get(`files/${fileId}/styles`),
style: (key) => client.get(`styles/${key}`),
};
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFHQSxrREFBMkQ7QUE0UjlDLFFBQUEsTUFBTSxHQUFHLENBQUMsSUFBbUIsRUFBbUIsRUFBRTtJQUM3RCxNQUFNLE9BQU8sR0FBRyxJQUFJLENBQUMsV0FBVztRQUM5QixDQUFDLENBQUM7WUFDRSxhQUFhLEVBQUUsVUFBVSxJQUFJLENBQUMsV0FBVyxFQUFFO1NBQzVDO1FBQ0gsQ0FBQyxDQUFDO1lBQ0UsZUFBZSxFQUFFLElBQUksQ0FBQyxtQkFBbUI7U0FDMUMsQ0FBQztJQUVOLE1BQU0sTUFBTSxHQUFHLGVBQUssQ0FBQyxNQUFNLENBQUM7UUFDMUIsT0FBTyxFQUFFLFdBQVcsSUFBSSxDQUFDLE9BQU8sSUFBSSxlQUFlLE1BQU07UUFDekQsT0FBTztLQUNSLENBQUMsQ0FBQztJQUVILE9BQU87UUFDTCxNQUFNO1FBRU4sSUFBSSxFQUFFLENBQUMsTUFBTSxFQUFFLE1BQU0sR0FBRyxFQUFFLEVBQUUsRUFBRSxDQUFDLE1BQU0sQ0FBQyxHQUFHLENBQUMsU0FBUyxNQUFNLEVBQUUsRUFBRSxFQ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UFDLFVBQVUsR0FBRyxFQUFFLENBQUM7S0FDNUMsQ0FBQztBQUNKLENBQUMsQ0FBQyJ9

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

*/
readonly rectangleCornerRadii?: [number, number, number, number];
readonly rectangleCornerRadii?: readonly [number, number, number, number];
/**

@@ -130,3 +130,3 @@ * An array of export settings representing images to export from node

*/
readonly layoutAlign?: String;
readonly layoutAlign?: string;
/**

@@ -376,3 +376,3 @@ * Node ID of node to transition to in prototyping

/** Array of length 4 of the radius of each corner of the rectangle, starting in the top left and proceeding clockwise */
readonly rectangleCornerRadii?: [number, number, number, number];
readonly rectangleCornerRadii?: readonly [number, number, number, number];
}

@@ -379,0 +379,0 @@ /** A text box */

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

export {};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlnbWFUeXBlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9maWdtYVR5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==

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

/**
* Comma separated list of nodes that you care about in the document.
* A list of nodes that you care about in the document.
* If specified, only a subset of the document will be returned corresponding to the nodes listed, their children, and everything between the root node and the listed nodes
*/
readonly ids?: string;
readonly ids?: ReadonlyArray<string>;
/**

@@ -57,2 +57,8 @@ * Positive integer representing how deep into the document tree to traverse.

readonly svg_simplify_stroke?: boolean;
/**
* Use the full dimensions of the node regardless of whether or not it is cropped or the space around it is empty.
* Use this to export text nodes without cropping.
* @default false
*/
readonly use_absolute_bounds?: boolean;
/** A specific version ID to use. Omitting this will use the current version of the file */

@@ -59,0 +65,0 @@ readonly version?: string;

@@ -12,2 +12,3 @@ var __assign = (this && this.__assign) || function () {

};
export * from './figmaTypes';
import axios from 'axios';

@@ -17,10 +18,10 @@ export var Client = function (opts) {

? {
Authorization: "Bearer " + opts.accessToken
Authorization: "Bearer " + opts.accessToken,
}
: {
'X-Figma-Token': opts.personalAccessToken
'X-Figma-Token': opts.personalAccessToken,
};
var client = axios.create({
baseURL: "https://" + (opts.apiRoot || 'api.figma.com') + "/v1/",
headers: headers
headers: headers,
});

@@ -31,3 +32,5 @@ return {

if (params === void 0) { params = {}; }
return client.get("files/" + fileId, { params: params });
return client.get("files/" + fileId, {
params: __assign(__assign({}, params), { ids: params.ids.join(',') }),
});
},

@@ -37,3 +40,3 @@ fileVersions: function (fileId) { return client.get("files/" + fileId + "/versions"); },

return client.get("files/" + fileId + "/nodes", {
params: __assign({}, params, { ids: params.ids.join(',') })
params: __assign(__assign({}, params), { ids: params.ids.join(',') }),
});

@@ -43,3 +46,3 @@ },

return client.get("images/" + fileId, {
params: __assign({}, params, { ids: params.ids.join(',') })
params: __assign(__assign({}, params), { ids: params.ids.join(',') }),
});

@@ -69,5 +72,5 @@ },

fileStyles: function (fileId) { return client.get("files/" + fileId + "/styles"); },
style: function (key) { return client.get("styles/" + key); }
style: function (key) { return client.get("styles/" + key); },
};
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7QUFHQSxPQUFPLEtBQXNDLE1BQU0sT0FBTyxDQUFDO0FBNFIzRCxNQUFNLENBQUMsSUFBTSxNQUFNLEdBQUcsVUFBQyxJQUFtQjtJQUN4QyxJQUFNLE9BQU8sR0FBRyxJQUFJLENBQUMsV0FBVztRQUM5QixDQUFDLENBQUM7WUFDRSxhQUFhLEVBQUUsWUFBVSxJQUFJLENBQUMsV0FBYTtTQUM1QztRQUNILENBQUMsQ0FBQztZQUNFLGVBQWUsRUFBRSxJQUFJLENBQUMsbUJBQW1CO1NBQzFDLENBQUM7SUFFTixJQUFNLE1BQU0sR0FBRyxL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T0FBQSxNQUFNLENBQUMsR0FBRyxDQUFDLFdBQVMsTUFBTSxnQkFBYSxFQUFFLEVBQUUsTUFBTSxRQUFBLEVBQUUsQ0FBQztRQUFwRCxDQUFvRDtRQUV0RCxjQUFjLEVBQUUsVUFBQyxNQUFNLElBQUssT0FBQSxNQUFNLENBQUMsR0FBRyxDQUFDLFdBQVMsTUFBTSxnQkFBYSxDQUFDLEVBQXhDLENBQXdDO1FBRXBFLFNBQVMsRUFBRSxVQUFDLEdBQUcsSUFBSyxPQUFBLE1BQU0sQ0FBQyxHQUFHLENBQUMsZ0JBQWMsR0FBSyxDQUFDLEVBQS9CLENBQStCO1FBRW5ELFVBQVUsRUFBRSxVQUFDLE1BQU0sRUFBRSxNQUFXO1lBQVgsdUJBQUEsRUFBQSxXQUFXO1lBQzlCLE9BQUEsTUFBTSxDQUFDLEdBQUcsQ0FBQyxXQUFTLE1BQU0sWUFBUyxFQUFFLEVBQUUsTUFBTSxRQUFBLEVBQUUsQ0FBQztRQUFoRCxDQUFnRDtRQUVsRCxVQUFVLEVBQUUsVUFBQyxNQUFNLElBQUssT0FBQSxNQUFNLENBQUMsR0FBRyxDQUFDLFdBQVMsTUFBTSxZQUFTLENBQUMsRUFBcEMsQ0FBb0M7UUFFNUQsS0FBSyxFQUFFLFVBQUMsR0FBRyxJQUFLLE9BQUEsTUFBTSxDQUFDLEdBQUcsQ0FBQyxZQUFVLEdBQUssQ0FBQyxFQUEzQixDQUEyQjtLQUM1QyxDQUFDO0FBQ0osQ0FBQyxDQUFDIn0=
{
"name": "figma-js",
"version": "1.11.0",
"version": "1.12.0",
"description": "A simple wrapper for the Figma API",

@@ -57,22 +57,22 @@ "main": "build/main/index.js",

"dependencies": {
"axios": "^0.18.0"
"axios": "^0.19.0"
},
"devDependencies": {
"ava": "^1.0.0-beta.3",
"codecov": "^3.0.0",
"cz-conventional-changelog": "^2.1.0",
"gh-pages": "^1.0.0",
"npm-run-all": "^4.1.2",
"npm-scripts-info": "^0.3.6",
"ava": "^3.12.1",
"codecov": "^3.7.2",
"cz-conventional-changelog": "^3.3.0",
"gh-pages": "^3.1.0",
"npm-run-all": "^4.1.5",
"npm-scripts-info": "^0.3.9",
"nsp": "^3.2.1",
"nyc": "^11.5.0",
"opn-cli": "^3.1.0",
"prettier": "^1.16.4",
"standard-version": "^4.0.0",
"trash-cli": "^1.4.0",
"tslint": "^5.14.0",
"prettier": "^2.1.1",
"standard-version": "^9.0.0",
"trash-cli": "^3.1.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"tslint-immutable": "^5.4.0",
"typedoc": "^0.14.2",
"typescript": "^3.3.3333"
"tslint-immutable": "^6.0.1",
"typedoc": "^0.19.1",
"typescript": "^4.0.2"
},

@@ -83,5 +83,2 @@ "ava": {

"build/main/**/*.spec.js"
],
"sources": [
"build/main/**/*.js"
]

@@ -88,0 +85,0 @@ },

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