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.15.2 to 4.15.3

3

lib/commands/watchFiles.js

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

var _glob = require("glob");
var _minimatch = require("minimatch");
var _path = _interopRequireDefault(require("path"));

@@ -95,3 +96,3 @@ var _mjmlCore = _interopRequireDefault(require("mjml-core"));

console.log(`Now watching file: ${filePath}`);
const matchInputOption = input.reduce((found, file) => found || (0, _glob.glob)(_path.default.resolve(file)).minimatch.match(filePath), false);
const matchInputOption = input.reduce((found, file) => found || (0, _minimatch.match)((0, _glob.sync)(_path.default.resolve(file)), filePath), false);
if (matchInputOption) {

@@ -98,0 +99,0 @@ dependencies[filePath] = getRelatedFiles(filePath);

{
"name": "mjml-cli",
"description": "MJML: the only framework that makes responsive-email easy",
"version": "4.15.2",
"version": "4.15.3",
"main": "bin/mjml",

@@ -34,6 +34,7 @@ "bin": {

"lodash": "^4.17.21",
"mjml-core": "4.15.2",
"mjml-migrate": "4.15.2",
"mjml-parser-xml": "4.15.2",
"mjml-validator": "4.15.2",
"minimatch": "^9.0.3",
"mjml-core": "4.15.3",
"mjml-migrate": "4.15.3",
"mjml-parser-xml": "4.15.3",
"mjml-validator": "4.15.3",
"yargs": "^17.7.2"

@@ -45,3 +46,3 @@ },

},
"gitHead": "ced61790b6717da1b7926083ad19108f3f1976d2"
"gitHead": "1c2f45978bebd8a7e707538f045b3863b0e66384"
}
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