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

figma-api-stub

Package Overview
Dependencies
Maintainers
1
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.7 to 0.0.8

12

dist/stubs.js

@@ -30,2 +30,8 @@ "use strict";

}
if (joinedConfig.simulateErrors &&
// @ts-ignore
this.type === "DOCUMENT" &&
item.type !== "PAGE") {
throw new Error("Error: The root node cannot have children of type other than PAGE");
}
item.parent = this;

@@ -42,2 +48,8 @@ this.children.push(item);

}
if (joinedConfig.simulateErrors &&
// @ts-ignore
this.type === "DOCUMENT" &&
child.type !== "PAGE") {
throw new Error("Error: The root node cannot have children of type other than PAGE");
}
if (child.parent) {

@@ -44,0 +56,0 @@ child.parent.children = child.parent.children.filter(function (_child) { return child !== _child; });

2

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