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

weex-gcanvas

Package Overview
Dependencies
Maintainers
5
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

weex-gcanvas - npm Package Compare versions

Comparing version 0.5.12 to 0.5.14

gcontext2d_jwx.js

24

gcontext2d.js

@@ -677,27 +677,3 @@ var GBridge = require("./gutil").GBridge;

}else if(numArgs === 5){
var x = parseFloat(sx) || 0;
var y = parseFloat(sy) || 0;
var width = parseInt(sw) || imageInfo.width;
var height = parseInt(sh) || imageInfo.height;
this._drawCommands += ("d" + imageInfo.id + ",0,0,"
+ imageInfo.width + "," + imageInfo.height + ","
+ x + "," + y + "," + width + "," + height + ";");
}else if(numArgs === 9){
var sx = parseFloat(sx) || 0;
var sy = parseFloat(sy) || 0;
var sw = parseInt(sw) || imageInfo.width;
var sh = parseInt(sh) || imageInfo.height;
var dx = parseFloat(dx) || 0;
var dy = parseFloat(dy) || 0;
var dw = parseInt(dw) || imageInfo.width;
var dh = parseInt(dh) || imageInfo.height;
this._drawCommands += ("d" + imageInfo.id + ","
+ sx + "," + sy + "," + sw + "," + sh + ","
+ dx + "," + dy + "," + dw + "," + dh + ";");
}
};
//-------------------------------------------------

@@ -704,0 +680,0 @@ // iOS bindImageTexture 增加版本检测

2

package.json
{
"name": "weex-gcanvas",
"version": "0.5.12",
"version": "0.5.14",
"main":"gcanvas.js",

@@ -5,0 +5,0 @@ "platform": [

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