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

nuke-dimensions

Package Overview
Dependencies
Maintainers
3
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nuke-dimensions - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

4

HISTORY.md
# Changelog
## 0.1.7 / 2017-06-14
* [[65f97d0](http://gitlab.alibaba-inc.com/nuke/dimensions/commit/65f97d047e9a72ec0fd8620105390e407315506e)] - `fix` fix scale bug, scale 在安卓手机上有浮点数
## 0.1.6 / 2017-06-02

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

2

lib/index.js

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

weexEnv.deviceWidth = parseInt(weexEnv.deviceWidth, 10);
var scale = parseInt(weexEnv.scale, 10) || DEFAULT_SCALE;
var scale = parseFloat(weexEnv.scale, 10) || DEFAULT_SCALE;
if (landscape) {

@@ -30,0 +30,0 @@ dimensions = {

{
"name": "nuke-dimensions",
"version": "0.1.6",
"version": "0.1.7",
"description": "屏幕参数",

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

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