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

@meta2d/form-diagram

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meta2d/form-diagram - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

2

package.json
{
"name": "@meta2d/form-diagram",
"version": "1.0.15",
"version": "1.0.16",
"description": "The form library based on le5le meta2d.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -31,2 +31,12 @@ var __values = (this && this.__values) || function(o) {

}
if (pen.data.length !== pen.rowPos.length) {
pen.initWorldRect = null;
pen.calculative.isUpdateData = true;
pen.onValue(pen);
}
if (pen.data[0].length !== pen.colPos.length) {
pen.initWorldRect = null;
pen.calculative.isUpdateData = true;
pen.onValue(pen);
}
var data = pen.calculative.canvas.store.data;

@@ -121,5 +131,2 @@ var options = pen.calculative.canvas.store.options;

var colStyle = {};
if (pen.initWorldRect) {
return;
}
if (!pen.rowHeight) {

@@ -180,2 +187,7 @@ pen.rowHeight = 40;

}
pen.calculative.maxOffsetY =
(height - finalHight) / pen.calculative.canvas.store.data.scale;
if (pen.initWorldRect) {
return;
}
pen.colPos = colPos;

@@ -192,4 +204,2 @@ pen.rowPos = rowPos;

pen.calculative.height = finalHight || height;
pen.calculative.maxOffsetY =
(height - finalHight) / pen.calculative.canvas.store.data.scale;
if (!pen.height) {

@@ -196,0 +206,0 @@ pen.height = pen.calculative.height;

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