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.15 to 0.0.16

6

dist/stubs.js

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

LayoutMixinStub.prototype.resize = function (width, height) {
if (joinedConfig.simulateErrors && width < 0.01) {
throw new Error('Error: in resize: Expected "width" to have value >= 0.01');
}
if (joinedConfig.simulateErrors && height < 0.01) {
throw new Error('Error: in resize: Expected "height" to have value >= 0.01');
}
this.width = width;

@@ -148,0 +154,0 @@ this.height = height;

2

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