New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@contrail/document-generation

Package Overview
Dependencies
Maintainers
0
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrail/document-generation - npm Package Compare versions

Comparing version 2.0.33 to 2.0.34

3

lib/components/component-grid-generator.js

@@ -32,2 +32,3 @@ "use strict";

const componentPadding = gridTemplate.componentPadding || 20;
const maxComponentHeight = (idealSize.height - template.gridDimensions.rows * componentPadding * 2) / template.gridDimensions.rows;
componentPosition.x += componentPadding;

@@ -48,3 +49,3 @@ componentPosition.y += componentPadding;

}
componentPosition.y += componentSize.height + componentPadding * 2;
componentPosition.y += Math.min(componentSize.height, maxComponentHeight) + componentPadding * 2;
componentPosition.x = startingPosition.x + componentPadding;

@@ -51,0 +52,0 @@ }

{
"name": "@contrail/document-generation",
"version": "2.0.33",
"version": "2.0.34",
"description": "Utilities for automatic generation of documents.",

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

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