All versions since 0.1.4
0.1.4
Patch Changes
655b343Thanks @uunw! - Sanitize numeric SVG attributes (width,height,viewBox,transform) at the renderer boundary.renderQrSvg()now coercesoptions.size,options.quietZone, andmatrix.sizethrough a finite-non-negative-integer guard before interpolation. Closes 7 CodeQLjs/html-constructed-from-inputalerts; also hardens the JS-callable surface against NaN/Infinity/non-numeric input.
1.0.0
Patch Changes
1.1.0 Latest
Minor Changes
-
948c126Thanks @uunw! - Acronym rename across the public surface. Every PascalCase identifier whose leading or trailing token was a 2–4 letter acronym (Qr,Crc,Tlv,Svg,Vat,Tqrc,Bot) now renders the acronym in all-caps to match the BoT / EMVCo / ISO spec convention and the JS native style for acronym types (URL,JSON,XMLHttpRequest).Before After ThaiQrPaymentBuilderThaiQRPaymentBuilderParsedCrcParsedCRCTlvFieldTLVFieldQrMatrixQRMatrixQrSvgOptionsQRSvgOptionsVatTqrcInputVATTQRCInputParsedVatTqrcParsedVATTQRCBotBarcodeInputBOTBarcodeInputParsedBotBarcodeParsedBOTBarcodeThaiQrPayment(React)ThaiQRPaymentThaiQrPaymentMatrix(React)ThaiQRPaymentMatrixrenderThaiQrPaymentrenderThaiQRPaymentrenderThaiQrPaymentMatrixrenderThaiQRPaymentMatrixrenderQrSvgrenderQRSvgbuildBotBarcodebuildBOTBarcodeparseBotBarcodeparseBOTBarcodeMethods on the builder (
.vatTqrc(),.bankAccount(),.ota(), …) keep camelCase per TypeScript’s standard library convention. Constants (TAG_VAT_TQRC,GUID_PROMPTPAY, …) were already SCREAMING_SNAKE. To migrate, run a single regex pass on your codebase using the table above. No behaviour or wire-format changes.