Comparing version 4.0.0-alpha.3 to 4.0.0-alpha.4
@@ -8,22 +8,35 @@ 'use strict'; | ||
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); | ||
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of'); | ||
var _mjmlCore = require('mjml-core'); | ||
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf); | ||
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | ||
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck'); | ||
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } | ||
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2); | ||
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } | ||
var _createClass2 = require('babel-runtime/helpers/createClass'); | ||
var _createClass3 = _interopRequireDefault(_createClass2); | ||
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn'); | ||
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2); | ||
var _inherits2 = require('babel-runtime/helpers/inherits'); | ||
var _inherits3 = _interopRequireDefault(_inherits2); | ||
var _mjmlCore = require('mjml-core'); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
var MjHead = function (_HeadComponent) { | ||
_inherits(MjHead, _HeadComponent); | ||
(0, _inherits3.default)(MjHead, _HeadComponent); | ||
function MjHead() { | ||
_classCallCheck(this, MjHead); | ||
return _possibleConstructorReturn(this, (MjHead.__proto__ || Object.getPrototypeOf(MjHead)).apply(this, arguments)); | ||
(0, _classCallCheck3.default)(this, MjHead); | ||
return (0, _possibleConstructorReturn3.default)(this, (MjHead.__proto__ || (0, _getPrototypeOf2.default)(MjHead)).apply(this, arguments)); | ||
} | ||
_createClass(MjHead, [{ | ||
(0, _createClass3.default)(MjHead, [{ | ||
key: 'handler', | ||
@@ -34,3 +47,2 @@ value: function handler() { | ||
}]); | ||
return MjHead; | ||
@@ -37,0 +49,0 @@ }(_mjmlCore.HeadComponent); |
{ | ||
"name": "mjml-head", | ||
"description": "mjml-head", | ||
"version": "4.0.0-alpha.3", | ||
"version": "4.0.0-alpha.4", | ||
"main": "lib/index.js", | ||
@@ -21,4 +21,4 @@ "repository": { | ||
"lodash": "^4.17.2", | ||
"mjml-core": "^4.0.0-alpha.3" | ||
"mjml-core": "^4.0.0-alpha.4" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
32
2287
3
1
Updatedmjml-core@^4.0.0-alpha.4