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

@contrail/document-generation

Package Overview
Dependencies
Maintainers
0
Versions
76
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.45 to 2.0.46

2

lib/board-document-generator.js

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

if (!group.isSecondaryGroup &&
group.subGroups.filter(subgroup => subgroup.name === group.subGroups[0].name).length > 1) {
group.subGroups.filter((subgroup) => subgroup.name === group.subGroups[0].name).length > 1) {
subgroups.push(group.subGroups[0]);

@@ -140,0 +140,0 @@ }

@@ -53,6 +53,4 @@ "use strict";

var _a;
const rootSlug = util_1.StringUtil.convertToCamelCase(property.typeRootSlug);
const slug = property.propertyDefinition.slug;
const modelKey = `${rootSlug}.${slug}`;
const value = util_1.ObjectUtil.getBySlugs(model, rootSlug, slug);
const modelKey = `${util_1.StringUtil.convertToCamelCase(property.typeRootSlug)}.${property.propertyDefinition.slug}`;
const value = util_1.ObjectUtil.getByPath(model, modelKey);
let display = formatter.formatValueForProperty(value, property.propertyDefinition);

@@ -59,0 +57,0 @@ if (!isComponent) {

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

@@ -48,4 +48,4 @@ "main": "lib/index.js",

"@contrail/types": "^3.0.27",
"@contrail/util": "^1.0.62"
"@contrail/util": "^1.0.63"
}
}
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