Socket
Socket
Sign inDemoInstall

nuke-helper

Package Overview
Dependencies
1
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.3 to 0.0.4

2

docs/basic.md

@@ -30,3 +30,3 @@ # demo

<Text>border:{JSON.stringify(borderSeperate({ borderWidth: 1, borderTopWidth: 3 }))}</Text>
<Text>font:{JSON.stringify(calcTextSize( {fontSize: 28}))}</Text>
<Text>font:{JSON.stringify(calcTextSize( {fontSize: '28rem'}))}</Text>
</View>

@@ -33,0 +33,0 @@

# Changelog
## 0.0.4 / 2017-12-18
* [[2a07625](http://gitlab.alibaba-inc.com/nuke/helper/commit/2a076254467c62e045958d844a54f003e1e2494a)] - `fix` fix parse error
## 0.0.3 / 2017-12-18

@@ -5,0 +9,0 @@

@@ -18,3 +18,3 @@ 'use strict';

if (typeof fontSize === 'string' && fontSize.indexOf('rem') > 0 || typeof fontSize === 'number') {
fontSize = Math.floor(+fontSize / 2);
fontSize = Math.floor(parseInt(fontSize, 10) / 2);
}

@@ -21,0 +21,0 @@ result.fontSize = fontSize + (_universalEnv.isWeb ? 'px' : 'wx');

{
"name": "nuke-helper",
"version": "0.0.3",
"version": "0.0.4",
"description": "辅助函数",

@@ -5,0 +5,0 @@ "main": "lib/index",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc