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

mjml-section

Package Overview
Dependencies
Maintainers
5
Versions
129
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-section - npm Package Compare versions

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

17

lib/index.js

@@ -42,6 +42,2 @@ 'use strict';

var _widthParser2 = require('mjml-core/lib/helpers/widthParser');
var _widthParser3 = _interopRequireDefault(_widthParser2);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -72,14 +68,7 @@

value: function getChildContext() {
var containerWidth = this.context.containerWidth;
var _getBoxWidths = this.getBoxWidths(),
box = _getBoxWidths.box;
var paddingSize = this.getShorthandAttrValue('padding', 'left') + this.getShorthandAttrValue('padding', 'right');
var _widthParser = (0, _widthParser3.default)(containerWidth, {
parseFloatToInt: false
}),
parsedWidth = _widthParser.parsedWidth;
return (0, _extends3.default)({}, this.context, {
containerWidth: parsedWidth - paddingSize + 'px'
containerWidth: box + 'px'
});

@@ -86,0 +75,0 @@ }

4

package.json
{
"name": "mjml-section",
"description": "mjml-section",
"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