@plattar/plattar-qrcode
Advanced tools
Comparing version 1.112.2 to 1.114.1
@@ -32,4 +32,4 @@ const QRCodeStyling = require("qr-code-styling"); | ||
const width = this.hasAttribute("width") ? this.getAttribute("width") : 512; | ||
const height = this.hasAttribute("height") ? this.getAttribute("height") : 512; | ||
const width = this.hasAttribute("width") ? parseInt(this.getAttribute("width")) : 512; | ||
const height = this.hasAttribute("height") ? parseInt(this.getAttribute("height")) : 512; | ||
const margin = this.hasAttribute("margin") ? this.getAttribute("margin") : 0; | ||
@@ -111,4 +111,4 @@ const image = this.hasAttribute("image") ? this.getAttribute("image") : undefined; | ||
this._options.width = width; | ||
this._options.height = height; | ||
this._options.width = width || 512; | ||
this._options.height = height || 512; | ||
this._options.data = url; | ||
@@ -115,0 +115,0 @@ this._options.margin = margin; |
{ | ||
"name": "@plattar/plattar-qrcode", | ||
"version": "1.112.2", | ||
"version": "1.114.1", | ||
"description": "Allows embedding Plattar-Style QR Codes for existing websites.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,1 +0,1 @@ | ||
module.exports = "1.112.2"; | ||
module.exports = "1.114.1"; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
397383