Socket
Socket
Sign inDemoInstall

mjml-hero

Package Overview
Dependencies
95
Maintainers
6
Versions
115
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.13.0 to 4.14.0

LICENSE.md

30

lib/index.js

@@ -100,14 +100,2 @@ "use strict";

},
hero: {
background: this.getBackground(),
'background-position': this.getAttribute('background-position'),
'background-repeat': 'no-repeat',
'border-radius': this.getAttribute('border-radius'),
padding: this.getAttribute('padding'),
'padding-top': this.getAttribute('padding-top'),
'padding-left': this.getAttribute('padding-left'),
'padding-right': this.getAttribute('padding-right'),
'padding-bottom': this.getAttribute('padding-bottom'),
'vertical-align': this.getAttribute('vertical-align')
},
'outlook-table': {

@@ -254,3 +242,14 @@ width: containerWidth

background: this.getAttribute('background-url'),
style: 'hero'
style: {
background: this.getBackground(),
'background-position': this.getAttribute('background-position'),
'background-repeat': 'no-repeat',
'border-radius': this.getAttribute('border-radius'),
padding: this.getAttribute('padding'),
'padding-top': this.getAttribute('padding-top'),
'padding-left': this.getAttribute('padding-left'),
'padding-right': this.getAttribute('padding-right'),
'padding-bottom': this.getAttribute('padding-bottom'),
'vertical-align': this.getAttribute('vertical-align')
}
};

@@ -279,3 +278,6 @@ /* eslint-disable no-alert, no-case-declarations */

${this.htmlAttributes({ ...commonAttributes,
height
height,
style: { ...commonAttributes.style,
height: `${height}px`
}
})}

@@ -282,0 +284,0 @@ >

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

@@ -26,3 +26,3 @@ "files": [

"lodash": "^4.17.21",
"mjml-core": "4.13.0"
"mjml-core": "4.14.0"
},

@@ -33,3 +33,3 @@ "devDependencies": {

},
"gitHead": "16eee8e2693c1211ad29841c4cae0c600d6d6fb5"
"gitHead": "9600817b37073ab8fea7059c7013267657c2fade"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc