New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mjml-column

Package Overview
Dependencies
Maintainers
5
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-column - npm Package Compare versions

Comparing version 4.2.0-beta.1 to 4.2.0-beta.2

10

lib/index.js

@@ -56,4 +56,7 @@ 'use strict';

var _getBoxWidths = this.getBoxWidths(),
borders = _getBoxWidths.borders,
paddings = _getBoxWidths.paddings;
var paddingSize = this.getShorthandAttrValue('padding', 'left') + this.getShorthandAttrValue('padding', 'right');
var allPaddings = paddings + borders;

@@ -69,5 +72,5 @@ var containerWidth = this.getAttribute('width') || parseFloat(parentWidth) / nonRawSiblings + 'px';

if (unit === '%') {
containerWidth = parseFloat(parentWidth) * parsedWidth / 100 - paddingSize + 'px';
containerWidth = parseFloat(parentWidth) * parsedWidth / 100 - allPaddings + 'px';
} else {
containerWidth = parsedWidth - paddingSize + 'px';
containerWidth = parsedWidth - allPaddings + 'px';
}

@@ -229,3 +232,2 @@

return '\n <table\n ' + this.htmlAttributes({
background: this.getAttribute('background-color'),
border: '0',

@@ -232,0 +234,0 @@ cellpadding: '0',

4

package.json
{
"name": "mjml-column",
"description": "mjml-column",
"version": "4.2.0-beta.1",
"version": "4.2.0-beta.2",
"main": "lib/index.js",

@@ -23,4 +23,4 @@ "repository": {

"lodash": "^4.17.2",
"mjml-core": "^4.2.0-beta.1"
"mjml-core": "^4.2.0-beta.2"
}
}
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