You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

mjml-qr-code

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mjml-qr-code - npm Package Compare versions

Comparing version
2.0.0
to
2.0.1
+2
-2
components/MjQrCode.js

@@ -20,3 +20,3 @@ import { registerDependencies } from 'mjml-validator'

'background-color': 'color',
'qr-margin': 'unit(blocks)',
'qr-margin': 'integer',
'error-correction-level': 'string',

@@ -83,3 +83,3 @@ width: 'unit(px)',

'host',
)}/qr?text=${content}&size=${width}&dark=${foregroundColor}&light=${backgroundColor}&ecLevel=${ecLevel}&margin=${margin}`
)}/qr?text=${content}&size=${width}&dark=${foregroundColor}&light=${backgroundColor}&ecLevel=${ecLevel}&margin=${margin}&ref=mjml`
}

@@ -86,0 +86,0 @@

@@ -70,3 +70,3 @@ "use strict";

var margin = this.getAttribute('qr-margin');
return "".concat(this.getAttribute('protocol'), "://").concat(this.getAttribute('host'), "/qr?text=").concat(content, "&size=").concat(width, "&dark=").concat(foregroundColor, "&light=").concat(backgroundColor, "&ecLevel=").concat(ecLevel, "&margin=").concat(margin);
return "".concat(this.getAttribute('protocol'), "://").concat(this.getAttribute('host'), "/qr?text=").concat(content, "&size=").concat(width, "&dark=").concat(foregroundColor, "&light=").concat(backgroundColor, "&ecLevel=").concat(ecLevel, "&margin=").concat(margin, "&ref=mjml");
}

@@ -104,3 +104,3 @@ }, {

'background-color': 'color',
'qr-margin': 'unit(blocks)',
'qr-margin': 'integer',
'error-correction-level': 'string',

@@ -107,0 +107,0 @@ width: 'unit(px)',

{
"name": "mjml-qr-code",
"version": "2.0.0",
"version": "2.0.1",
"description": "Embed QR codes in your emails",

@@ -38,6 +38,6 @@ "license": "MIT",

"dependencies": {
"mjml": "^4.12.0",
"mjml-core": "^4.12.0",
"mjml-validator": "^4.12.0"
"mjml": "^4.13.0",
"mjml-core": "^4.13.0",
"mjml-validator": "^4.13.0"
}
}
# mjml-qr-code
[![npm](https://img.shields.io/npm/v/mjml-qr-code)](https://www.npmjs.com/package/mjml-qr-code)
[![Build Status](https://travis-ci.com/typpo/mjml-qr-code.svg?branch=master)](https://travis-ci.com/typpo/mjml-qr-code)

@@ -41,3 +42,3 @@

"packages": [
"mjml-qr-code/lib/index.js"
"mjml-qr-code/lib/MjQrCode.js"
]

@@ -44,0 +45,0 @@ }