Socket
Socket
Sign inDemoInstall

mjml-core

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-core - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0-beta.1

2

lib/configs/defaultContainer.js

@@ -14,3 +14,3 @@ 'use strict';

exports.default = function () {
return '<!doctype html>\n<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">\n<head>\n <title></title>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n<style type="text/css">' + _defaultStyle2.default + '</style>\n<!--[if !mso]><!-->\n<style type="text/css">\n @media only screen and (max-width:480px) {\n @-ms-viewport { width:320px; }\n @viewport { width:320px; }\n }\n</style>\n<!--<![endif]-->\n<!--[if mso]>\n<xml>\n <o:OfficeDocumentSettings>\n <o:AllowPNG/>\n <o:PixelsPerInch>96</o:PixelsPerInch>\n </o:OfficeDocumentSettings>\n</xml>\n<![endif]-->\n<!--[if lte mso 11]>\n<style type="text/css">\n .outlook-group-fix {\n width:100% !important;\n }\n</style>\n<![endif]-->\n</head>\n<body>\n __content__\n</body>\n</html>';
return '<!doctype html>\n<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">\n<head>\n <title></title>\n <!--[if !mso]><!-- -->\n <meta http-equiv="X-UA-Compatible" content="IE=edge" />\n <!--<![endif]-->\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>\n<style type="text/css">' + _defaultStyle2.default + '</style>\n<!--[if !mso]><!-->\n<style type="text/css">\n @media only screen and (max-width:480px) {\n @-ms-viewport { width:320px; }\n @viewport { width:320px; }\n }\n</style>\n<!--<![endif]-->\n<!--[if mso]>\n<xml>\n <o:OfficeDocumentSettings>\n <o:AllowPNG/>\n <o:PixelsPerInch>96</o:PixelsPerInch>\n </o:OfficeDocumentSettings>\n</xml>\n<![endif]-->\n<!--[if lte mso 11]>\n<style type="text/css">\n .outlook-group-fix {\n width:100% !important;\n }\n</style>\n<![endif]-->\n</head>\n<body>\n __content__\n</body>\n</html>';
};

@@ -7,2 +7,4 @@ 'use strict';

var startConditionalTag = exports.startConditionalTag = '<!--[if mso | IE]>';
var endConditionalTag = exports.endConditionalTag = '<![endif]-->';
var endConditionalTag = exports.endConditionalTag = '<![endif]-->';
var startNegationConditionalTag = exports.startNegationConditionalTag = '<!--[if !mso | IE]><!-->';
var endNegationConditionalTag = exports.endNegationConditionalTag = '<!--<![endif]-->';

@@ -1,2 +0,2 @@

'use strict';
"use strict";

@@ -6,2 +6,5 @@ Object.defineProperty(exports, "__esModule", {

});
exports.default = typeof window != 'undefined' && undefined === window;
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
exports.default = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;

@@ -49,3 +49,3 @@ 'use strict';

var version = exports.version = function version() {
return '3.0.1';
return '3.1.0-beta.1';
};

@@ -52,0 +52,0 @@ var MJMLValidator = exports.MJMLValidator = _mjmlValidator2.default;

{
"name": "mjml-core",
"description": "mjml-core",
"version": "3.0.2",
"version": "3.1.0-beta.1",
"main": "lib/index.js",

@@ -35,3 +35,3 @@ "scripts": {

"lodash": "^4.16.4",
"mjml-validator": "~3.0.2",
"mjml-validator": "~3.1.0-beta.1",
"react-dom": "^15.3.2",

@@ -38,0 +38,0 @@ "react": "^15.3.2",

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