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.33 to 0.0.34

15

dist/stubs.js

@@ -39,2 +39,7 @@ "use strict";

var currentPageChangeSubscribes = new Map();
var lastId = 1;
var allocateId = function (node) {
lastId += 1;
node.id = "1:" + lastId;
};
var UIAPIStub = /** @class */ (function () {

@@ -314,3 +319,7 @@ function UIAPIStub() {

// @ts-ignore
this.root.id = "0:0";
// @ts-ignore
this._currentPage = new PageNodeStub();
// @ts-ignore
this._currentPage.id = "0:1";
this.root.appendChild(this._currentPage);

@@ -334,2 +343,3 @@ // @ts-ignore

var result = new PageNodeStub();
allocateId(result);
this.root.appendChild(result);

@@ -341,2 +351,3 @@ return result;

var result = new FrameNodeStub();
allocateId(result);
this.currentPage.appendChild(result);

@@ -348,2 +359,3 @@ return result;

var result = new ComponentNodeStub();
allocateId(result);
this.currentPage.appendChild(result);

@@ -355,2 +367,3 @@ return result;

var result = new RectangleNodeStub();
allocateId(result);
this.currentPage.appendChild(result);

@@ -362,2 +375,3 @@ return result;

var result = new TextNodeStub();
allocateId(result);
this.currentPage.appendChild(result);

@@ -372,2 +386,3 @@ return result;

var group = new GroupNodeStub();
allocateId(group);
nodes.forEach(function (node) { return group.appendChild(node); });

@@ -374,0 +389,0 @@ if (index) {

2

package.json
{
"name": "figma-api-stub",
"version": "0.0.33",
"version": "0.0.34",
"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