@learncard/vpqr-plugin 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ __export(src_exports, {
|
|
85
85
|
});
|
86
86
|
module.exports = __toCommonJS(src_exports);
|
87
87
|
|
88
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
88
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/is.js
|
89
89
|
var typeofs = [
|
90
90
|
"string",
|
91
91
|
"number",
|
@@ -171,7 +171,7 @@ function getObjectType(value) {
|
|
171
171
|
}
|
172
172
|
__name(getObjectType, "getObjectType");
|
173
173
|
|
174
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
174
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/token.js
|
175
175
|
var Type = class {
|
176
176
|
constructor(major, name, terminal) {
|
177
177
|
this.major = major;
|
@@ -214,7 +214,7 @@ var Token = class {
|
|
214
214
|
};
|
215
215
|
__name(Token, "Token");
|
216
216
|
|
217
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
217
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/byte-utils.js
|
218
218
|
var useBuffer = globalThis.process && !globalThis.process.browser && globalThis.Buffer && typeof globalThis.Buffer.isBuffer === "function";
|
219
219
|
var textDecoder = new TextDecoder();
|
220
220
|
var textEncoder = new TextEncoder();
|
@@ -385,7 +385,7 @@ function decodeCodePointsArray(codePoints) {
|
|
385
385
|
}
|
386
386
|
__name(decodeCodePointsArray, "decodeCodePointsArray");
|
387
387
|
|
388
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
388
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/bl.js
|
389
389
|
var defaultChunkSize = 256;
|
390
390
|
var Bl = class {
|
391
391
|
constructor(chunkSize = defaultChunkSize) {
|
@@ -457,7 +457,7 @@ var Bl = class {
|
|
457
457
|
};
|
458
458
|
__name(Bl, "Bl");
|
459
459
|
|
460
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
460
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/common.js
|
461
461
|
var decodeErrPrefix = "CBOR decode error:";
|
462
462
|
var encodeErrPrefix = "CBOR encode error:";
|
463
463
|
var uintMinorPrefixBytes = [];
|
@@ -473,7 +473,7 @@ function assertEnoughData(data, pos, need) {
|
|
473
473
|
}
|
474
474
|
__name(assertEnoughData, "assertEnoughData");
|
475
475
|
|
476
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
476
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/0uint.js
|
477
477
|
var uintBoundaries = [24, 256, 65536, 4294967296, BigInt("18446744073709551616")];
|
478
478
|
function readUint8(data, offset, options) {
|
479
479
|
assertEnoughData(data, offset, 1);
|
@@ -601,7 +601,7 @@ encodeUint.compareTokens = /* @__PURE__ */ __name(function compareTokens(tok1, t
|
|
601
601
|
return tok1.value < tok2.value ? -1 : tok1.value > tok2.value ? 1 : 0;
|
602
602
|
}, "compareTokens");
|
603
603
|
|
604
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
604
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/1negint.js
|
605
605
|
function decodeNegint8(data, pos, _minor, options) {
|
606
606
|
return new Token(Type.negint, -1 - readUint8(data, pos + 1, options), 2);
|
607
607
|
}
|
@@ -657,7 +657,7 @@ encodeNegint.compareTokens = /* @__PURE__ */ __name(function compareTokens2(tok1
|
|
657
657
|
return tok1.value < tok2.value ? 1 : tok1.value > tok2.value ? -1 : 0;
|
658
658
|
}, "compareTokens");
|
659
659
|
|
660
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
660
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/2bytes.js
|
661
661
|
function toToken(data, pos, prefix, length) {
|
662
662
|
assertEnoughData(data, pos, prefix + length);
|
663
663
|
const buf2 = slice(data, pos + prefix, pos + prefix + length);
|
@@ -713,7 +713,7 @@ function compareBytes(b1, b2) {
|
|
713
713
|
}
|
714
714
|
__name(compareBytes, "compareBytes");
|
715
715
|
|
716
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
716
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/3string.js
|
717
717
|
function toToken2(data, pos, prefix, length, options) {
|
718
718
|
const totLength = prefix + length;
|
719
719
|
assertEnoughData(data, pos, totLength);
|
@@ -750,7 +750,7 @@ function decodeString64(data, pos, _minor, options) {
|
|
750
750
|
__name(decodeString64, "decodeString64");
|
751
751
|
var encodeString = encodeBytes;
|
752
752
|
|
753
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
753
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/4array.js
|
754
754
|
function toToken3(_data, _pos, prefix, length) {
|
755
755
|
return new Token(Type.array, length, prefix);
|
756
756
|
}
|
@@ -795,7 +795,7 @@ encodeArray.encodedSize = /* @__PURE__ */ __name(function encodedSize5(token) {
|
|
795
795
|
return encodeUintValue.encodedSize(token.value);
|
796
796
|
}, "encodedSize");
|
797
797
|
|
798
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
798
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/5map.js
|
799
799
|
function toToken4(_data, _pos, prefix, length) {
|
800
800
|
return new Token(Type.map, length, prefix);
|
801
801
|
}
|
@@ -840,7 +840,7 @@ encodeMap.encodedSize = /* @__PURE__ */ __name(function encodedSize6(token) {
|
|
840
840
|
return encodeUintValue.encodedSize(token.value);
|
841
841
|
}, "encodedSize");
|
842
842
|
|
843
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
843
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/6tag.js
|
844
844
|
function decodeTagCompact(_data, _pos, minor, _options) {
|
845
845
|
return new Token(Type.tag, minor, 1);
|
846
846
|
}
|
@@ -870,7 +870,7 @@ encodeTag.encodedSize = /* @__PURE__ */ __name(function encodedSize7(token) {
|
|
870
870
|
return encodeUintValue.encodedSize(token.value);
|
871
871
|
}, "encodedSize");
|
872
872
|
|
873
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
873
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/7float.js
|
874
874
|
var MINOR_FALSE = 20;
|
875
875
|
var MINOR_TRUE = 21;
|
876
876
|
var MINOR_NULL = 22;
|
@@ -1058,7 +1058,7 @@ function readFloat64(ui8a2, pos) {
|
|
1058
1058
|
__name(readFloat64, "readFloat64");
|
1059
1059
|
encodeFloat.compareTokens = encodeUint.compareTokens;
|
1060
1060
|
|
1061
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
1061
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/jump.js
|
1062
1062
|
function invalidMinor(data, pos, minor) {
|
1063
1063
|
throw new Error(`${decodeErrPrefix} encountered invalid minor (${minor}) for major ${data[pos] >>> 5}`);
|
1064
1064
|
}
|
@@ -1217,7 +1217,7 @@ function quickEncodeToken(token) {
|
|
1217
1217
|
}
|
1218
1218
|
__name(quickEncodeToken, "quickEncodeToken");
|
1219
1219
|
|
1220
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
1220
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/encode.js
|
1221
1221
|
var defaultEncodeOptions = {
|
1222
1222
|
float64: false,
|
1223
1223
|
mapSorter,
|
@@ -1430,7 +1430,7 @@ function encode(data, options) {
|
|
1430
1430
|
}
|
1431
1431
|
__name(encode, "encode");
|
1432
1432
|
|
1433
|
-
// ../../../node_modules/.pnpm/cborg@4.2.
|
1433
|
+
// ../../../node_modules/.pnpm/cborg@4.2.6/node_modules/cborg/lib/decode.js
|
1434
1434
|
var defaultDecodeOptions = {
|
1435
1435
|
strict: false,
|
1436
1436
|
allowIndefinite: true,
|