New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nuintun/qrcode

Package Overview
Dependencies
Maintainers
1
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuintun/qrcode - npm Package Compare versions

Comparing version 0.9.0 to 0.10.0

22

es5/qrcode/decoder/decoder/decode/index.js

@@ -184,7 +184,8 @@ "use strict";

result.text += numericResult.text;
(_a = result.bytes).push.apply(_a, numericResult.bytes);
result.chunks.push({
type: Mode_1.default.Numeric,
text: numericResult.text
text: numericResult.text,
bytes: numericResult.bytes
});
(_a = result.bytes).push.apply(_a, numericResult.bytes);
}

@@ -194,7 +195,8 @@ else if (mode === Mode_1.default.Alphanumeric) {

result.text += alphanumericResult.text;
(_b = result.bytes).push.apply(_b, alphanumericResult.bytes);
result.chunks.push({
type: Mode_1.default.Alphanumeric,
text: alphanumericResult.text
text: alphanumericResult.text,
bytes: alphanumericResult.bytes
});
(_b = result.bytes).push.apply(_b, alphanumericResult.bytes);
}

@@ -214,8 +216,8 @@ else if (mode === Mode_1.default.StructuredAppend) {

result.text += byteResult.text;
(_c = result.bytes).push.apply(_c, byteResult.bytes);
result.chunks.push({
type: Mode_1.default.Byte,
bytes: byteResult.bytes,
text: byteResult.text
text: byteResult.text,
bytes: byteResult.bytes
});
(_c = result.bytes).push.apply(_c, byteResult.bytes);
}

@@ -225,8 +227,8 @@ else if (mode === Mode_1.default.Kanji) {

result.text += kanjiResult.text;
(_d = result.bytes).push.apply(_d, kanjiResult.bytes);
result.chunks.push({
type: Mode_1.default.Kanji,
bytes: kanjiResult.bytes,
text: kanjiResult.text
text: kanjiResult.text,
bytes: kanjiResult.bytes
});
(_d = result.bytes).push.apply(_d, kanjiResult.bytes);
}

@@ -233,0 +235,0 @@ }

@@ -182,7 +182,8 @@ /**

result.text += numericResult.text;
(_a = result.bytes).push.apply(_a, numericResult.bytes);
result.chunks.push({
type: Mode.Numeric,
text: numericResult.text
text: numericResult.text,
bytes: numericResult.bytes
});
(_a = result.bytes).push.apply(_a, numericResult.bytes);
}

@@ -192,7 +193,8 @@ else if (mode === Mode.Alphanumeric) {

result.text += alphanumericResult.text;
(_b = result.bytes).push.apply(_b, alphanumericResult.bytes);
result.chunks.push({
type: Mode.Alphanumeric,
text: alphanumericResult.text
text: alphanumericResult.text,
bytes: alphanumericResult.bytes
});
(_b = result.bytes).push.apply(_b, alphanumericResult.bytes);
}

@@ -212,8 +214,8 @@ else if (mode === Mode.StructuredAppend) {

result.text += byteResult.text;
(_c = result.bytes).push.apply(_c, byteResult.bytes);
result.chunks.push({
type: Mode.Byte,
bytes: byteResult.bytes,
text: byteResult.text
text: byteResult.text,
bytes: byteResult.bytes
});
(_c = result.bytes).push.apply(_c, byteResult.bytes);
}

@@ -223,8 +225,8 @@ else if (mode === Mode.Kanji) {

result.text += kanjiResult.text;
(_d = result.bytes).push.apply(_d, kanjiResult.bytes);
result.chunks.push({
type: Mode.Kanji,
bytes: kanjiResult.bytes,
text: kanjiResult.text
text: kanjiResult.text,
bytes: kanjiResult.bytes
});
(_d = result.bytes).push.apply(_d, kanjiResult.bytes);
}

@@ -231,0 +233,0 @@ }

{
"name": "@nuintun/qrcode",
"version": "0.9.0",
"version": "0.10.0",
"description": "QRCode encode and decode library.",

@@ -5,0 +5,0 @@ "main": "es5/index.js",

@@ -8,8 +8,5 @@ /**

import ErrorCorrectionLevel from '../../../common/ErrorCorrectionLevel';
interface Chunk {
type: Mode;
interface ByteChunk {
type: Mode.Numeric | Mode.Alphanumeric | Mode.Byte | Mode.Kanji;
text: string;
}
interface ByteChunk {
type: Mode.Byte | Mode.Kanji;
bytes: number[];

@@ -33,3 +30,3 @@ }

}
declare type Chunks = Array<Chunk | ByteChunk | ECIChunk | StructuredAppendChunk>;
declare type Chunks = Array<ByteChunk | ECIChunk | StructuredAppendChunk>;
export interface DecodeResult extends DecodeData {

@@ -36,0 +33,0 @@ chunks: Chunks;

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc