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
11
Versions
93
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.23 to 2.0.24

8

lib/board-document-generator.js

@@ -180,4 +180,4 @@ "use strict";

const heading = documents_1.DocumentElementFactory.createTextElement("Placeholder", {});
heading.style = { border: { width: 1, color: "rgba(0,0,0,0)" }, color: "#000000", backgroundColor: template.frameGroupHeaderTemplate.style.backgroundColor || 'black' };
heading.text = `<p><span style=\"font-size: ${template.frameGroupHeaderTemplate.style.font.size}pt;\"><strong><span style=\"color: ${template.frameGroupHeaderTemplate.style.color};\">${document_util_1.DocumentUtil.sanitizeHTML(dataGroup.name)}</span></strong></span></p>`;
heading.style = { border: { width: 1, color: "rgba(0,0,0,0)" }, color: "#000000", backgroundColor: template.secondaryFrameGroupHeaderTemplate.style.backgroundColor || 'black' };
heading.text = `<p><span style=\"font-size: ${template.secondaryFrameGroupHeaderTemplate.style.font.size}pt;\"><strong><span style=\"color: ${template.secondaryFrameGroupHeaderTemplate.style.color};\">${document_util_1.DocumentUtil.sanitizeHTML(dataGroup.name)}</span></strong></span></p>`;
heading.position = position;

@@ -189,3 +189,3 @@ if (template.frameOrientation === interfaces_1.Orientation.VERTICAL) {

}
heading.size = { width: sizeDim, height: template.frameGroupHeaderTemplate.size.height };
heading.size = { width: sizeDim, height: template.secondaryFrameGroupHeaderTemplate.size.height };
heading.rotate = { angle: 270 };

@@ -201,3 +201,3 @@ heading.position.x = heading.position.x - (heading.size.width / 2) + (heading.size.height / 2);

heading.rotate = { angle: 0 };
heading.size = { width: sizeDim, height: template.frameGroupHeaderTemplate.size.height };
heading.size = { width: sizeDim, height: template.secondaryFrameGroupHeaderTemplate.size.height };
}

@@ -204,0 +204,0 @@ elements.push(heading);

@@ -22,2 +22,3 @@ import { DataGroupStructure } from "@contrail/data-grouping";

frameGroupHeaderTemplate: DocumentElement;
secondaryFrameGroupHeaderTemplate?: DocumentElement;
frameHeaderTemplate?: DocumentElement;

@@ -24,0 +25,0 @@ frameInfoPanelTemplate?: FrameInfoPanelTemplate;

{
"name": "@contrail/document-generation",
"version": "2.0.23",
"version": "2.0.24",
"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