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
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.25 to 2.0.26

4

lib/showcase-frame-generator.js

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

static getLeafGroupsFromGroups(groups, totalDepth, currentDepth, groupName = null) {
const currentGroupName = groupName;
const leafGroups = [];

@@ -34,3 +35,2 @@ for (let group of groups) {

group.name = (!groupName) ? group.name : (groupName + ' / ' + group.name);
;
leafGroups.push(group);

@@ -40,3 +40,3 @@ }

if (currentDepth < totalDepth - 1)
groupName = (!groupName) ? group.name : (groupName + ' / ' + group.name);
groupName = (!currentGroupName) ? group.name : (currentGroupName + ' / ' + group.name);
leafGroups.push(...this.getLeafGroupsFromGroups(group.subGroups, totalDepth, currentDepth + 1, groupName));

@@ -43,0 +43,0 @@ }

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