Comparing version 1.20.1 to 1.20.2
@@ -236,3 +236,6 @@ "use strict"; | ||
image.src = imageWrapper.getBase64Url(); | ||
image.setAttribute('alt', imageWrapper.getAltText()); | ||
const altText = imageWrapper.getAltText(); | ||
if (altText) { | ||
image.setAttribute('alt', altText); | ||
} | ||
let component; | ||
@@ -239,0 +242,0 @@ try { |
@@ -9,3 +9,3 @@ "use strict"; | ||
exports.default = { | ||
number: '1.20.1', | ||
number: '1.20.2', | ||
}; |
{ | ||
"name": "js-draw", | ||
"version": "1.20.1", | ||
"version": "1.20.2", | ||
"description": "Draw pictures using a pen, touchscreen, or mouse! JS-draw is a drawing library for JavaScript and TypeScript. ", | ||
@@ -89,3 +89,3 @@ "types": "./dist/mjs/lib.d.ts", | ||
], | ||
"gitHead": "a981ae8ef5f2ac8ef27c8ce2872a2dbf0c25050d" | ||
"gitHead": "ee6b7aaf1c93f3e6a6b28ae694f7e46bd3026be1" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
4300814
59823