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.4 to 0.0.5

1

docs/basic.md

@@ -31,2 +31,3 @@ # demo

<Text>font:{JSON.stringify(calcTextSize( {fontSize: '28rem'}))}</Text>
<Text>font:{JSON.stringify(calcTextSize( {fontSize: '14px'}))}</Text>
</View>

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

# Changelog
## 0.0.5 / 2017-12-25
* [[e26c23c](http://gitlab.alibaba-inc.com/nuke/helper/commit/e26c23cfffee19800d0cc9773ddcd741af4ba8b0)] - `fix` add px string support
## 0.0.4 / 2017-12-18

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

@@ -20,2 +20,5 @@ 'use strict';

}
if (typeof fontSize === 'string' && fontSize.indexOf('px') > 0) {
fontSize = parseInt(fontSize, 10);
}
result.fontSize = fontSize + (_universalEnv.isWeb ? 'px' : 'wx');

@@ -22,0 +25,0 @@ return result;

2

package.json
{
"name": "nuke-helper",
"version": "0.0.4",
"version": "0.0.5",
"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