Comparing version 4.7.0-beta.1 to 4.7.0-beta.2
@@ -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" | ||
} |
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
32092
12
+ Addedcliui@6.0.0(transitive)
+ Addedfind-up@4.1.0(transitive)
+ Addedlocate-path@5.0.0(transitive)
+ Addedmjml-core@4.7.0-beta.2(transitive)
+ Addedmjml-migrate@4.7.0-beta.2(transitive)
+ Addedmjml-parser-xml@4.7.0-beta.2(transitive)
+ Addedmjml-validator@4.7.0-beta.2(transitive)
+ Addedp-locate@4.1.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedwrap-ansi@6.2.0(transitive)
+ Addedyargs@15.4.1(transitive)
+ Addedyargs-parser@18.1.3(transitive)
- Removedansi-regex@4.1.1(transitive)
- Removedcliui@5.0.0(transitive)
- Removedemoji-regex@7.0.3(transitive)
- Removedfind-up@3.0.0(transitive)
- Removedis-fullwidth-code-point@2.0.0(transitive)
- Removedlocate-path@3.0.0(transitive)
- Removedmjml-core@4.7.0-beta.1(transitive)
- Removedmjml-migrate@4.7.0-beta.1(transitive)
- Removedmjml-parser-xml@4.7.0-beta.1(transitive)
- Removedmjml-validator@4.7.0-beta.1(transitive)
- Removedp-locate@3.0.0(transitive)
- Removedpath-exists@3.0.0(transitive)
- Removedstring-width@3.1.0(transitive)
- Removedstrip-ansi@5.2.0(transitive)
- Removedwrap-ansi@5.1.0(transitive)
- Removedyargs@13.3.2(transitive)
- Removedyargs-parser@13.1.2(transitive)
Updatedmjml-core@4.7.0-beta.2
Updatedmjml-migrate@4.7.0-beta.2
Updatedmjml-parser-xml@4.7.0-beta.2
Updatedmjml-validator@4.7.0-beta.2
Updatedyargs@^15.3.1