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

weex-vdom-tester

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weex-vdom-tester - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

1

index.js

@@ -5,3 +5,4 @@ var env = require('./lib/env/default')

exports.DEFAULT_ENV = env.DEFAULT_ENV
exports.DEFAULT_CSS_UNIT = env.DEFAULT_CSS_UNIT
exports.Runtime = require('./lib/runtime').Runtime
exports.Instance = require('./lib/instance').Instance

@@ -145,4 +145,21 @@ /* eslint-disable */

var scale = 2
var DEFAULT_CSS_UNIT = {
REM: 12 * scale,
VW: DEFAULT_ENV.deviceWidth / 100,
VH: DEFAULT_ENV.deviceHeight / 100,
VMIN: Math.min(DEFAULT_ENV.deviceWidth, DEFAULT_ENV.deviceHeight) / 100,
VMAX: Math.max(DEFAULT_ENV.deviceWidth, DEFAULT_ENV.deviceHeight) / 100,
CM: 96 / 2.54 * scale,
MM: 96 / 25.4 * scale,
Q: 96 / 25.4 / 4 * scale,
IN: 96 * scale,
PT: 96 / 72 * scale,
PC: 96 / 6 * scale,
PX: scale
}
exports.DEFAULT_MODULES = DEFAULT_MODULES
exports.DEFAULT_COMPONENTS = DEFAULT_COMPONENTS
exports.DEFAULT_ENV = DEFAULT_ENV
exports.DEFAULT_CSS_UNIT = DEFAULT_CSS_UNIT

4

package.json
{
"name": "weex-vdom-tester",
"version": "0.1.3",
"version": "0.1.4",
"description": "Virtual-DOM test driver for Weex",

@@ -40,3 +40,3 @@ "main": "index.js",

"sinon-chai": "^2.8.0",
"weex-js-framework": "^0.17.0-alpha2"
"weex-js-runtime": "^0.17.0-alpha4"
},

@@ -43,0 +43,0 @@ "dependencies": {

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