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

mjml-head

Package Overview
Dependencies
Maintainers
4
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-head - npm Package Compare versions

Comparing version 4.0.0-alpha.3 to 4.0.0-alpha.4

34

lib/index.js

@@ -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

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