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

mjml-hero

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-hero - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

5

lib/Hero.js

@@ -221,3 +221,4 @@ 'use strict';

paddingBottom: getPadding('bottom'),
backgroundPosition: mjAttribute('background-position')
backgroundPosition: mjAttribute('background-position'),
verticalAlign: mjAttribute('vertical-align')
}

@@ -300,3 +301,3 @@ });

{
border: '0',
role: 'presentation',
cellPadding: '0',

@@ -303,0 +304,0 @@ cellSpacing: '0',

9

lib/HeroContent.js

@@ -58,3 +58,3 @@ 'use strict';

$(this).before(_mjmlCore.helpers.startConditionalTag + '\n <table border="0" cellpadding="0" cellspacing="0" align="' + align + '" width="' + width.replace('px', '') + '" style="width:' + width + ';"><tr><td style="padding:0;background-color:' + backgroundColor + ';">\n ' + _mjmlCore.helpers.endConditionalTag).after(_mjmlCore.helpers.startConditionalTag + '\n </td></tr></table>\n ' + _mjmlCore.helpers.endConditionalTag).removeAttr('data-background-color').removeAttr('data-align');
$(this).before(_mjmlCore.helpers.startConditionalTag + '\n <table role="presentation" border="0" cellpadding="0" cellspacing="0" align="' + align + '" width="' + width.replace('px', '') + '" style="width:' + width + ';"><tr><td style="padding:0;background-color:' + backgroundColor + ';">\n ' + _mjmlCore.helpers.endConditionalTag).after(_mjmlCore.helpers.startConditionalTag + '\n </td></tr></table>\n ' + _mjmlCore.helpers.endConditionalTag).removeAttr('data-background-color').removeAttr('data-align');
});

@@ -128,2 +128,3 @@

{
role: 'presentation',
border: '0',

@@ -145,7 +146,9 @@ cellPadding: '0',

'table',
{ style: this.styles.table },
{ role: 'presentation', style: this.styles.table },
_react2.default.createElement(
'tbody',
null,
children
_react2.default.Children.map(children, function (child) {
return _react2.default.cloneElement(child, { columnElement: true });
})
)

@@ -152,0 +155,0 @@ )

{
"name": "mjml-hero",
"description": "mjml-hero",
"version": "2.0.9",
"version": "2.0.10",
"main": "lib/index.js",

@@ -6,0 +6,0 @@ "repository": {

@@ -127,2 +127,3 @@ ## mjml-hero

padding-bottom | px | bottom offset | 0px
vertical-align | top/middle/bottom | content vertical alignment | top

@@ -129,0 +130,0 @@ ### mjml-hero-content

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