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

mjml-table

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-table - npm Package Compare versions

Comparing version 2.0.9 to 3.0.0-beta.1

22

lib/index.js

@@ -26,2 +26,4 @@ 'use strict';

var tagName = 'mj-table';
var parentTag = ['mj-column', 'mj-hero-content'];
var endingTag = true;
var defaultMJMLDefinition = {

@@ -34,11 +36,16 @@ content: '',

'color': '#000',
'container-background-color': null,
'font-family': 'Ubuntu, Helvetica, Arial, sans-serif',
'font-size': '13px',
'line-height': '22px',
'padding-bottom': null,
'padding-left': null,
'padding-right': null,
'padding-top': null,
'padding': '10px 25px',
'table-layout': 'auto',
'vertical-align': null,
'width': '100%'
}
};
var endingTag = true;

@@ -49,3 +56,3 @@ var Table = (0, _mjmlCore.MJMLElement)(_class = function (_Component) {

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

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

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

@@ -74,6 +81,8 @@

table: {
cellpadding: mjAttribute('cellspadding'),
cellspacing: mjAttribute('cellspacing'),
color: mjAttribute('color'),
fontFamily: mjAttribute('font-family'),
fontSize: defaultUnit(mjAttribute('font-size'), "px"),
lineHeight: defaultUnit(mjAttribute('line-height'), "px"),
fontSize: defaultUnit(mjAttribute('font-size')),
lineHeight: defaultUnit(mjAttribute('line-height')),
tableLayout: mjAttribute('table-layout')

@@ -105,5 +114,6 @@ }

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

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

"dependencies": {
"mjml-core": "^2.3.2",
"react": "^15.3.0"
"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