Socket
Socket
Sign inDemoInstall

mjml-cli

Package Overview
Dependencies
Maintainers
6
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-cli - npm Package Compare versions

Comparing version 4.7.0-beta.1 to 4.7.0-beta.2

20

lib/client.js

@@ -48,2 +48,4 @@ "use strict";

var _package = require("mjml-core/package.json");
var _readFile = _interopRequireWildcard(require("./commands/readFile"));

@@ -59,4 +61,2 @@

var _package = require("mjml-core/package.json");
var _package2 = require("../package.json");

@@ -66,5 +66,5 @@

// eslint-disable-line import/first
var _default = /*#__PURE__*/(0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee() {
var EXIT_CODE, KEEP_OPEN, error, pickArgs, argv, juiceOptions, minifyOptions, juicePreserveTags, fonts, filePath, config, inputArgs, outputArgs, inputOpt, outputOpt, inputFiles, inputs, convertedStream, failedStream, isInvalid, fullOutputPath;
var EXIT_CODE, KEEP_OPEN, error, pickArgs, _yargs$version$option, argv, juiceOptions, minifyOptions, juicePreserveTags, fonts, filePath, config, inputArgs, outputArgs, inputOpt, outputOpt, inputFiles, inputs, convertedStream, failedStream, isInvalid, fullOutputPath;
return _regenerator["default"].wrap(function _callee$(_context) {

@@ -91,3 +91,3 @@ while (1) {

argv = _yargs["default"].version(false) // cf. https://github.com/yargs/yargs/issues/961
_yargs$version$option = _yargs["default"].version(false) // cf. https://github.com/yargs/yargs/issues/961
.options({

@@ -135,3 +135,3 @@ r: {

}
}).help().version("mjml-core: ".concat(_package.version, "\nmjml-cli: ").concat(_package2.version)).argv;
}).help().version("mjml-core: ".concat(_package.version, "\nmjml-cli: ").concat(_package2.version)), argv = _yargs$version$option.argv;

@@ -232,3 +232,2 @@ try {

case 'm':
// eslint-disable-line no-case-declarations
compiled = {

@@ -242,5 +241,7 @@ html: (0, _mjmlMigrate["default"])(i.mjml, {

case 'v':
// eslint-disable-line no-case-declarations
// eslint-disable-next-line no-case-declarations
var mjmlJson = (0, _mjmlParserXml["default"])(i.mjml, {
components: _mjmlCore.components
components: _mjmlCore.components,
filePath: filePath || i.file,
actualPath: i.file
});

@@ -281,3 +282,2 @@ compiled = {

file = _ref2.file;
// eslint-disable-line array-callback-return
console.error("".concat(file ? "File: ".concat(file, "\n") : null).concat(error)); // eslint-disable-line no-console

@@ -284,0 +284,0 @@

@@ -60,2 +60,3 @@ "use strict";

if (err) {
// eslint-disable-next-line prefer-promise-reject-errors
return reject({

@@ -62,0 +63,0 @@ outputName: outputName,

{
"name": "mjml-cli",
"description": "MJML: the only framework that makes responsive-email easy",
"version": "4.7.0-beta.1",
"version": "4.7.0-beta.2",
"main": "bin/mjml",

@@ -9,5 +9,10 @@ "bin": {

},
"files": [
"bin",
"lib"
],
"repository": {
"type": "git",
"url": "git+https://github.com/mjmlio/mjml.git"
"url": "git+https://github.com/mjmlio/mjml.git",
"directory": "packages/mjml-cli"
},

@@ -28,7 +33,7 @@ "license": "MIT",

"lodash": "^4.17.15",
"mjml-core": "4.7.0-beta.1",
"mjml-migrate": "4.7.0-beta.1",
"mjml-parser-xml": "4.7.0-beta.1",
"mjml-validator": "4.7.0-beta.1",
"yargs": "^13.3.0"
"mjml-core": "4.7.0-beta.2",
"mjml-migrate": "4.7.0-beta.2",
"mjml-parser-xml": "4.7.0-beta.2",
"mjml-validator": "4.7.0-beta.2",
"yargs": "^15.3.1"
},

@@ -41,3 +46,3 @@ "devDependencies": {

},
"gitHead": "da689e73a2e37799226ce4dfcbca631a263bc8cc"
"gitHead": "d560b14ad17c1ddcad1587623648cc1a6676352a"
}
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