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
10
Versions
97
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.14 to 2.0.15

5

lib/util/text-util.js

@@ -10,3 +10,3 @@ "use strict";

div.id = '__textMeasure';
div.innerHTML = text;
div.innerHTML = (property.includeLabel ? (property.propertyDefinition.label + ': ') : '') + text;
div.style.position = 'absolute';

@@ -17,2 +17,3 @@ div.style.top = '-500px';

div.style.lineHeight = 'normal';
div.style.overflowWrap = 'break-word';
div.style.fontFamily = ((_b = (_a = property.style) === null || _a === void 0 ? void 0 : _a.font) === null || _b === void 0 ? void 0 : _b.family) || 'Roboto';

@@ -23,3 +24,3 @@ div.style.fontWeight = property.style.font.weight ? 'bold' : 'normal';

document.body.appendChild(div);
height = div.offsetHeight + 5;
height = div.offsetHeight;
document.body.removeChild(div);

@@ -26,0 +27,0 @@ div = null;

2

package.json
{
"name": "@contrail/document-generation",
"version": "2.0.14",
"version": "2.0.15",
"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