Socket
Socket
Sign inDemoInstall

qrcode

Package Overview
Dependencies
3
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.6 to 0.2.7

5

lib/qrcode-draw.js

@@ -18,2 +18,3 @@ /*

var bops = require('bops')
var QRCodeLib = require('./qrcode.js');

@@ -154,3 +155,3 @@ var QRVersionCapacityTable = require('./qrcapacitytable.js').QRCapacityTable;

if(!level) {
if(!level) {
//if we are unable to find an appropriate qr level error out

@@ -193,3 +194,3 @@ cb(error,[],0);

QRVersion:function(text,errorCorrectLevel,version,cb){
var c = text.length,
var c = bops.from(text).length,// BINARY LENGTH!
error,

@@ -196,0 +197,0 @@ errorCorrectLevel = this.QRErrorCorrectLevel[errorCorrectLevel]||this.defaultErrorCorrectLevel,

1

lib/qrcode.js

@@ -431,2 +431,3 @@ var bops = require('bops');

var byteArray = [];
this.parsedData = bops.from(data);

@@ -433,0 +434,0 @@ }

{
"name": "qrcode",
"description": "QRCode / 2d Barcode api with both server side and client side support using canvas",
"version": "0.2.6",
"version": "0.2.7",
"author": "Ryan Day <soldair@gmail.com>",

@@ -6,0 +6,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc