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

mjml-body

Package Overview
Dependencies
Maintainers
6
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-body - npm Package Compare versions

Comparing version 4.6.3 to 4.7.0-beta.0

14

lib/index.js

@@ -16,8 +16,6 @@ "use strict";

var _possibleConstructorReturn2 = _interopRequireDefault(require("@babel/runtime/helpers/possibleConstructorReturn"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _getPrototypeOf2 = _interopRequireDefault(require("@babel/runtime/helpers/getPrototypeOf"));
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper"));
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits"));
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));

@@ -30,5 +28,7 @@

var _super = (0, _createSuper2["default"])(MjBody);
function MjBody() {
(0, _classCallCheck2["default"])(this, MjBody);
return (0, _possibleConstructorReturn2["default"])(this, (0, _getPrototypeOf2["default"])(MjBody).apply(this, arguments));
return _super.apply(this, arguments);
}

@@ -39,3 +39,3 @@

value: function getChildContext() {
return (0, _objectSpread2["default"])({}, this.context, {
return (0, _objectSpread2["default"])((0, _objectSpread2["default"])({}, this.context), {}, {
containerWidth: this.getAttribute('width')

@@ -69,3 +69,3 @@ });

(0, _defineProperty2["default"])(MjBody, "allowedAttributes", {
width: 'unit(px,%)',
width: 'unit(px)',
'background-color': 'color'

@@ -72,0 +72,0 @@ });

{
"name": "mjml-body",
"description": "mjml-body",
"version": "4.6.3",
"version": "4.7.0-beta.0",
"main": "lib/index.js",

@@ -22,3 +22,3 @@ "repository": {

"lodash": "^4.17.15",
"mjml-core": "4.6.3"
"mjml-core": "4.7.0-beta.0"
},

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

},
"gitHead": "967cd5d2988836d93d051678cecd5ac58e77c669"
"gitHead": "fd4e870da63a14672d9c00a4c2f698f7d5363c1e"
}
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