figma-api-stub
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -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; |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44109
935