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

mjml-validator

Package Overview
Dependencies
Maintainers
5
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-validator - npm Package Compare versions

Comparing version 4.1.2 to 4.2.0-beta.1

4

package.json
{
"name": "mjml-validator",
"description": "mjml-validator",
"version": "4.1.2",
"version": "4.2.0-beta.1",
"main": "lib/index.js",

@@ -20,7 +20,7 @@ "repository": {

"dependencies": {
"babel-runtime": "^6.26.0",
"cross-env": "^5.1.4",
"lodash": "^4.17.2",
"mjml-core": "^4.1.2",
"warning": "^3.0.0"
}
}

@@ -13,14 +13,14 @@ # Validating MJML

When using the `mjml` command line, you can add the option `-l` or `--level` with the validation level you want.
When using the `mjml` command line, you can add the option `-c.validationLevel` or `--config.validationLevel` with the validation level you want.
> Validates the file without rendering it
> Set the validation level to `skip` (so that the file is not validated) and render the file
```bash
mjml --validate template.mjml
mjml --config.validationLevel=skip template.mjml
```
> Sets the validation level to `skip` (so that the file is not validated) and renders the file
Alternatively, you can just validate file without rendering it by add ing the `--validate` option
```bash
mjml -l skip -r template.mjml
mjml --validate template.mjml
```

@@ -27,0 +27,0 @@

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