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

react-figma

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-figma - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

2

package.json
{
"name": "react-figma",
"version": "0.0.38",
"version": "0.0.39",
"description": "Render React components to Figma",

@@ -5,0 +5,0 @@ "scripts": {

@@ -28,2 +28,12 @@ "use strict";

}; };
var transformFlexWrap = function (yoga) { return function (value) {
switch (value) {
case 'wrap':
return yoga.WRAP_WRAP;
case 'nowrap':
return yoga.WRAP_NO_WRAP;
default:
return yoga.WRAP_NO_WRAP;
}
}; };
var transformAlignSelf = function (yoga) { return function (value) {

@@ -209,2 +219,5 @@ switch (value) {

}
if (style.flexWrap) {
yogaNode.setFlexWrap(transformFlexWrap(yoga)(style.flexWrap));
}
if (style.aspectRatio) {

@@ -211,0 +224,0 @@ yogaNode.setAspectRatio(style.aspectRatio);

@@ -15,2 +15,3 @@ declare type Dimension = number | string;

flexDirection: 'row' | 'column' | 'row-reverse' | 'column-reverse';
flexWrap: 'wrap' | 'nowrap';
alignItems: 'flex-start' | 'center' | 'stretch' | 'flex-end';

@@ -17,0 +18,0 @@ justifyContent: 'flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around';

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