mjml-head-font
Advanced tools
Comparing version 4.8.1 to 4.8.2
@@ -10,2 +10,10 @@ "use strict"; | ||
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck")); | ||
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass")); | ||
var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits")); | ||
var _createSuper2 = _interopRequireDefault(require("@babel/runtime/helpers/createSuper")); | ||
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty")); | ||
@@ -15,11 +23,23 @@ | ||
class MjFont extends _mjmlCore.HeadComponent { | ||
handler() { | ||
const { | ||
add | ||
} = this.context; | ||
add('fonts', this.getAttribute('name'), this.getAttribute('href')); | ||
let MjFont = /*#__PURE__*/function (_HeadComponent) { | ||
(0, _inherits2.default)(MjFont, _HeadComponent); | ||
var _super = (0, _createSuper2.default)(MjFont); | ||
function MjFont() { | ||
(0, _classCallCheck2.default)(this, MjFont); | ||
return _super.apply(this, arguments); | ||
} | ||
} | ||
(0, _createClass2.default)(MjFont, [{ | ||
key: "handler", | ||
value: function handler() { | ||
const { | ||
add | ||
} = this.context; | ||
add('fonts', this.getAttribute('name'), this.getAttribute('href')); | ||
} | ||
}]); | ||
return MjFont; | ||
}(_mjmlCore.HeadComponent); | ||
@@ -26,0 +46,0 @@ exports.default = MjFont; |
{ | ||
"name": "mjml-head-font", | ||
"description": "mjml-head-font", | ||
"version": "4.8.1", | ||
"version": "4.8.2", | ||
"main": "lib/index.js", | ||
@@ -26,3 +26,3 @@ "files": [ | ||
"lodash": "^4.17.15", | ||
"mjml-core": "4.8.1" | ||
"mjml-core": "4.8.2" | ||
}, | ||
@@ -33,3 +33,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "45507ebde835129ba62671d341e76bc9892552c9" | ||
"gitHead": "67cb33b5edd2b1d80436a72c213d2e815a685cd5" | ||
} |
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
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
4475
37
+ Addedmjml-core@4.8.2(transitive)
+ Addedmjml-migrate@4.8.2(transitive)
+ Addedmjml-parser-xml@4.8.2(transitive)
+ Addedmjml-validator@4.8.2(transitive)
- Removedmjml-core@4.8.1(transitive)
- Removedmjml-migrate@4.8.1(transitive)
- Removedmjml-parser-xml@4.8.1(transitive)
- Removedmjml-validator@4.8.1(transitive)
Updatedmjml-core@4.8.2