Comments (2)
I'm concerned about this too, as I couldn't figure out where this code comes from.
- The library this is based on also has the same obfuscated code
- The original library mentioned in the comment above that blob has non-obfuscated but slightly different content (even if it is similar in structure): https://github.com/kazuhikoarase/qrcode-generator/blob/master/js/qrcode.js
- This version from jquery-qrcode looks identical to the obfuscated code in this library but instead of
QRCodeModel
it usesQRCode
.
Both libraries (2, 3) are missing the QRCodeLimitLength
variable though.
Edit: I pretty-printed the obfuscated code with Prettier and compared the three versions. This version is nearly identical to the non-obfuscated version from [3] but with support for utf8 characters from [1]. Unlike this version, however, [3] can determine the type number automatically depending on the data length (ie. kazuhikoarase/qrcode-generator#41 from [2]).
I'll create a repo with the diffs for transparency and submit a PR. Done: https://github.com/leMaik/qrcode-svg
from qrcode-svg.
Thank you @leMaik!
from qrcode-svg.
Related Issues (20)
- Use of template for the QR eyes + insert an image in center
- Webpack Module not found: Error: Can't resolve 'fs' in 'node_modules/qrcode-svg/lib' HOT 4
- Support Micro QR Code
- Support Numeric and Alphanumeric encoding modes HOT 2
- Please add an option for `shape-rendering` property.
- Add ES6 module
- libs for reading SVG qrs
- numeric encoding
- support generating svg path only
- How to custom image into middle of generated QR code? HOT 3
- length overflow for emojis?
- save QR as jpeg or pdf HOT 1
- How to make the s SVG full width?
- Scanner/website not working
- Can't resolve 'fs' HOT 9
- Feature request: add viewBox property HOT 2
- The output svg code can be more concise HOT 2
- transparent background or opacity as an option? HOT 2
- Incompatible with secure CSP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qrcode-svg.