New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mjml-column

Package Overview
Dependencies
Maintainers
6
Versions
132
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-column - npm Package Compare versions

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

36

lib/index.js

@@ -120,3 +120,5 @@ "use strict";

return '100%';
} else if (width === undefined) {
}
if (width === undefined) {
return "".concat(parseInt(100 / nonRawSiblings, 10), "%");

@@ -243,19 +245,17 @@ }

renderer: function renderer(component) {
return (// eslint-disable-line no-confusing-arrow
component.constructor.isRawElement() ? component.render() : "\n <tr>\n <td\n ".concat(component.htmlAttributes({
align: component.getAttribute('align'),
'vertical-align': component.getAttribute('vertical-align'),
"class": component.getAttribute('css-class'),
style: {
background: component.getAttribute('container-background-color'),
'font-size': '0px',
padding: component.getAttribute('padding'),
'padding-top': component.getAttribute('padding-top'),
'padding-right': component.getAttribute('padding-right'),
'padding-bottom': component.getAttribute('padding-bottom'),
'padding-left': component.getAttribute('padding-left'),
'word-break': 'break-word'
}
}), "\n >\n ").concat(component.render(), "\n </td>\n </tr>\n ")
);
return component.constructor.isRawElement() ? component.render() : "\n <tr>\n <td\n ".concat(component.htmlAttributes({
align: component.getAttribute('align'),
'vertical-align': component.getAttribute('vertical-align'),
"class": component.getAttribute('css-class'),
style: {
background: component.getAttribute('container-background-color'),
'font-size': '0px',
padding: component.getAttribute('padding'),
'padding-top': component.getAttribute('padding-top'),
'padding-right': component.getAttribute('padding-right'),
'padding-bottom': component.getAttribute('padding-bottom'),
'padding-left': component.getAttribute('padding-left'),
'word-break': 'break-word'
}
}), "\n >\n ").concat(component.render(), "\n </td>\n </tr>\n ");
}

@@ -262,0 +262,0 @@ }), "\n </table>\n ");

{
"name": "mjml-column",
"description": "mjml-column",
"version": "4.7.0-beta.1",
"version": "4.7.0-beta.2",
"main": "lib/index.js",
"files": [
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mjmlio/mjml.git"
"url": "git+https://github.com/mjmlio/mjml.git",
"directory": "packages/mjml-column"
},

@@ -22,3 +26,3 @@ "license": "MIT",

"lodash": "^4.17.15",
"mjml-core": "4.7.0-beta.1"
"mjml-core": "4.7.0-beta.2"
},

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

},
"gitHead": "da689e73a2e37799226ce4dfcbca631a263bc8cc"
"gitHead": "d560b14ad17c1ddcad1587623648cc1a6676352a"
}

@@ -6,2 +6,7 @@ ## mj-column

<aside class="notice">
The sum of columns in a section cannot be greater than
the width of the parent `mj-section` (or 100%).
</aside>
Every single column has to contain something because they are responsive containers, and will be vertically stacked on a mobile view. Any standard component, or component that you have defined and registered, can be placed within a column – except `mj-column` or `mj-section` elements.

@@ -8,0 +13,0 @@

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