TL;DR If you want to get rid of the minified code blob, use @lemaik/qrcode-svg
Especially in a server application, running a blob of mangled JavaScript might scare some people (especially since recent npm package malware incidents), eg. this resolves #26
Pretty-print the code so that the following diffs make sense (either trust me or run prettier yourself to get the same result)
Replace the now pretty-printed blob with the latest version from jeromeetienne/jquery-qrcode, and pretty-printed it again.
Notably, this version contains https://github.com/kazuhikoarase/qrcode-generator/pull/41 and thus can determine the type automatically
TL;DR If you want to get rid of the minified code blob, use
@lemaik/qrcode-svg
Especially in a server application, running a blob of mangled JavaScript might scare some people (especially since recent npm package malware incidents), eg. this resolves #26
Following my observations in https://github.com/papnkukn/qrcode-svg/issues/26#issuecomment-1159805781, I restored the proper code by performing these steps:
Notably, this version contains https://github.com/kazuhikoarase/qrcode-generator/pull/41 and thus can determine the type automatically
Remove the type detection that got added in step 2, because that's implemented already here