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

figma-api-stub

Package Overview
Dependencies
Maintainers
2
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

figma-api-stub - npm Package Compare versions

Comparing version 0.0.36 to 0.0.37

39

dist/stubs.js

@@ -197,2 +197,11 @@ "use strict";

}());
var ExportMixinStub = /** @class */ (function () {
function ExportMixinStub() {
}
ExportMixinStub.prototype.exportAsync = function (settings) {
// "exportAsync" is not implemented in stubs
return Promise.resolve(new Uint8Array());
};
return ExportMixinStub;
}());
var RectangleNodeStub = /** @class */ (function () {

@@ -204,3 +213,7 @@ function RectangleNodeStub() {

}());
applyMixins_1.applyMixins(RectangleNodeStub, [BaseNodeMixinStub, LayoutMixinStub]);
applyMixins_1.applyMixins(RectangleNodeStub, [
BaseNodeMixinStub,
LayoutMixinStub,
ExportMixinStub
]);
var TextNodeStub = /** @class */ (function () {

@@ -251,3 +264,7 @@ function TextNodeStub() {

}());
applyMixins_1.applyMixins(TextNodeStub, [BaseNodeMixinStub, LayoutMixinStub]);
applyMixins_1.applyMixins(TextNodeStub, [
BaseNodeMixinStub,
LayoutMixinStub,
ExportMixinStub
]);
var DocumentNodeStub = /** @class */ (function () {

@@ -279,3 +296,7 @@ function DocumentNodeStub() {

}());
applyMixins_1.applyMixins(PageNodeStub, [BaseNodeMixinStub, ChildrenMixinStub]);
applyMixins_1.applyMixins(PageNodeStub, [
BaseNodeMixinStub,
ChildrenMixinStub,
ExportMixinStub
]);
var FrameNodeStub = /** @class */ (function () {

@@ -291,3 +312,4 @@ function FrameNodeStub() {

ChildrenMixinStub,
LayoutMixinStub
LayoutMixinStub,
ExportMixinStub
]);

@@ -303,2 +325,3 @@ var GroupNodeStub = /** @class */ (function () {

ChildrenMixinStub,
ExportMixinStub,
LayoutMixinStub

@@ -318,3 +341,7 @@ ]);

}());
applyMixins_1.applyMixins(ComponentNodeStub, [BaseNodeMixinStub, ChildrenMixinStub]);
applyMixins_1.applyMixins(ComponentNodeStub, [
BaseNodeMixinStub,
ChildrenMixinStub,
ExportMixinStub
]);
var InstanceNodeStub = /** @class */ (function () {

@@ -326,3 +353,3 @@ function InstanceNodeStub() {

}());
applyMixins_1.applyMixins(InstanceNodeStub, [BaseNodeMixinStub]);
applyMixins_1.applyMixins(InstanceNodeStub, [BaseNodeMixinStub, ExportMixinStub]);
// @ts-ignore

@@ -329,0 +356,0 @@ var PluginApiStub = /** @class */ (function () {

2

package.json
{
"name": "figma-api-stub",
"version": "0.0.36",
"version": "0.0.37",
"description": "Figma API stub",

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

Sorry, the diff of this file is not supported yet

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