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

mjml-html

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-html - npm Package Compare versions

Comparing version 2.0.9 to 3.0.0-beta.1

19

lib/index.js

@@ -30,9 +30,17 @@ 'use strict';

var tagName = 'mj-html';
var parentTag = ['mj-column', 'mj-hero-content'];
var endingTag = true;
var defaultMJMLDefinition = {
content: '',
attributes: {
'padding': '0px'
'align': null,
'container-background-color': null,
'padding-bottom': null,
'padding-left': null,
'padding-right': null,
'padding-top': null,
'padding': '0px',
'vertical-align': null
}
};
var endingTag = true;
var baseStyles = {

@@ -48,3 +56,3 @@ div: {

function Html() {
var _Object$getPrototypeO;
var _ref;

@@ -59,3 +67,3 @@ var _temp, _this, _ret;

return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_Object$getPrototypeO = Object.getPrototypeOf(Html)).call.apply(_Object$getPrototypeO, [this].concat(args))), _this), _this.styles = _this.getStyles(), _temp), _possibleConstructorReturn(_this, _ret);
return _ret = (_temp = (_this = _possibleConstructorReturn(this, (_ref = Html.__proto__ || Object.getPrototypeOf(Html)).call.apply(_ref, [this].concat(args))), _this), _this.styles = _this.getStyles(), _temp), _possibleConstructorReturn(_this, _ret);
}

@@ -84,6 +92,7 @@

Html.tagName = tagName;
Html.parentTag = parentTag;
Html.endingTag = endingTag;
Html.defaultMJMLDefinition = defaultMJMLDefinition;
Html.endingTag = endingTag;
Html.baseStyles = baseStyles;
exports.default = Html;
{
"name": "mjml-html",
"description": "mjml-html",
"version": "2.0.9",
"version": "3.0.0-beta.1",
"main": "lib/index.js",

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

"dependencies": {
"lodash": "^4.14.2",
"mjml-core": "^2.3.2",
"react": "^15.3.0"
"lodash": "^4.16.2",
"mjml-core": "~3.0.0-beta.1",
"react": "^15.3.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