@nuintun/qrcode
Advanced tools
Comparing version 0.5.0 to 0.5.1
@@ -59,3 +59,3 @@ "use strict"; | ||
// Sad implementation of Object.assign since we target es5 not es6 | ||
options[key] = options[key] || defaultOptions[key]; | ||
options[key] = key in options ? options[key] : defaultOptions[key]; | ||
}); | ||
@@ -62,0 +62,0 @@ this.options = options; |
@@ -57,3 +57,3 @@ /** | ||
// Sad implementation of Object.assign since we target es5 not es6 | ||
options[key] = options[key] || defaultOptions[key]; | ||
options[key] = key in options ? options[key] : defaultOptions[key]; | ||
}); | ||
@@ -60,0 +60,0 @@ this.options = options; |
{ | ||
"name": "@nuintun/qrcode", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "QRCode encode and decode library.", | ||
@@ -5,0 +5,0 @@ "main": "es5/index.js", |
436182