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

@nozbe/zacs

Package Overview
Dependencies
Maintainers
6
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nozbe/zacs - npm Package Compare versions

Comparing version 2.0.0-7 to 2.0.0-8

2

package.json
{
"name": "@nozbe/zacs",
"version": "2.0.0-7",
"version": "2.0.0-8",
"description": "Zero Abstraction Cost Styling (for React DOM and React Native)",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -24,8 +24,12 @@ const { getTarget } = require('./state')

}
case 'border': {
case 'border':
case 'borderTop':
case 'borderRight':
case 'borderBottom':
case 'borderLeft': {
const [width, style, color] = node.elements
return {
borderWidth: width,
borderStyle: style,
borderColor: color,
[`${key}Width`]: width,
[`${key}Style`]: style,
[`${key}Color`]: color,
}

@@ -32,0 +36,0 @@ }

@@ -39,2 +39,6 @@ function isNumberLiteral(t, node) {

case 'border':
case 'borderTop':
case 'borderRight':
case 'borderBottom':
case 'borderLeft':
return length === 3

@@ -41,0 +45,0 @@ default:

@@ -9,2 +9,6 @@ // @flow

border?: number | string | [size, string, string],
borderTop?: number | string | [size, string, string],
borderRight?: number | string | [size, string, string],
borderBottom?: number | string | [size, string, string],
borderLeft?: number | string | [size, string, string],
}>
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