mjml-table
Advanced tools
Comparing version 4.6.3 to 4.7.0-beta.0
@@ -16,10 +16,10 @@ "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")); | ||
var _reduce2 = _interopRequireDefault(require("lodash/reduce")); | ||
var _widthParser2 = _interopRequireDefault(require("mjml-core/lib/helpers/widthParser")); | ||
@@ -29,10 +29,10 @@ | ||
var _lodash = require("lodash"); | ||
var MjTable = /*#__PURE__*/function (_BodyComponent) { | ||
(0, _inherits2["default"])(MjTable, _BodyComponent); | ||
var _super = (0, _createSuper2["default"])(MjTable); | ||
function MjTable() { | ||
(0, _classCallCheck2["default"])(this, MjTable); | ||
return (0, _possibleConstructorReturn2["default"])(this, (0, _getPrototypeOf2["default"])(MjTable).apply(this, arguments)); | ||
return _super.apply(this, arguments); | ||
} | ||
@@ -71,6 +71,6 @@ | ||
var tableAttributes = (0, _lodash.reduce)(['cellpadding', 'cellspacing'], function (acc, v) { | ||
return (0, _objectSpread3["default"])({}, acc, (0, _defineProperty2["default"])({}, v, _this.getAttribute(v))); | ||
var tableAttributes = (0, _reduce2["default"])(['cellpadding', 'cellspacing'], function (acc, v) { | ||
return (0, _objectSpread3["default"])((0, _objectSpread3["default"])({}, acc), {}, (0, _defineProperty2["default"])({}, v, _this.getAttribute(v))); | ||
}, {}); | ||
return "\n <table\n ".concat(this.htmlAttributes((0, _objectSpread3["default"])({}, tableAttributes, { | ||
return "\n <table\n ".concat(this.htmlAttributes((0, _objectSpread3["default"])((0, _objectSpread3["default"])({}, tableAttributes), {}, { | ||
width: this.getWidth(), | ||
@@ -77,0 +77,0 @@ border: '0', |
{ | ||
"name": "mjml-table", | ||
"description": "mjml-atable", | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8857
1
+ Added@types/node@22.9.0(transitive)
+ Addedcheerio@1.0.0-rc.3(transitive)
+ Addedmjml-core@4.7.0-beta.0(transitive)
+ Addedmjml-migrate@4.7.0-beta.0(transitive)
+ Addedmjml-parser-xml@4.7.0-beta.0(transitive)
+ Addedmjml-validator@4.7.0-beta.0(transitive)
+ Addedparse5@3.0.3(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedmjml-core@4.5.04.6.3(transitive)
- Removedmjml-migrate@4.5.04.6.3(transitive)
- Removedmjml-parser-xml@4.5.04.6.3(transitive)
- Removedmjml-validator@4.5.04.6.3(transitive)
- Removedregenerator-runtime@0.11.1(transitive)
Updatedmjml-core@4.7.0-beta.0