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

minitel-standalone

Package Overview
Dependencies
Maintainers
0
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minitel-standalone - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

3

dist/components/xjoin.js

@@ -28,3 +28,4 @@ import { MinitelObject } from '../abstract/minitelobject.js';

const flexGrowTotal = this.children.reduce((p, c) => p + +(c.attributes.flexGrow || 0), 0);
const remainingSpace = attributes.width != null ? attributes.width - cumulatedWidth : null;
const gapIfStatic = typeof attributes.gap === 'number' ? attributes.gap : 0;
const remainingSpace = attributes.width != null ? attributes.width - cumulatedWidth - gapIfStatic * (this.children.length - 1) : null;
const unitOfFlexGrowSpace = remainingSpace != null ? remainingSpace / flexGrowTotal : null;

@@ -31,0 +32,0 @@ let usedRemainingSpace = 0;

{
"name": "minitel-standalone",
"version": "2.1.3",
"version": "2.1.4",
"description": "A standalone package for minitel components",

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

@@ -41,3 +41,5 @@ import { MinitelObject } from '../abstract/minitelobject.js';

const remainingSpace = attributes.width != null ? attributes.width - cumulatedWidth : null;
const gapIfStatic = typeof attributes.gap === 'number' ? attributes.gap : 0;
const remainingSpace = attributes.width != null ? attributes.width - cumulatedWidth - gapIfStatic * (this.children.length - 1) : null;

@@ -44,0 +46,0 @@ const unitOfFlexGrowSpace = remainingSpace != null ? remainingSpace / flexGrowTotal : null;

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