@learncard/vpqr-plugin 1.1.30 → 1.1.32

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,cAAc,SAAS,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,aAAa,cACX,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,0BAA0B,CAAC,KAC3D,UA4BF,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE,MAAM,SAAS,CAAC;AACjE,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAE5C,cAAc,SAAS,CAAC;AAExB;;GAEG;AACH,eAAO,MAAM,aAAa,GACtB,WAAW,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,0BAA0B,CAAC,KAC3D,UA4BF,CAAC"}
@@ -2040,9 +2040,8 @@ function inspect(data, options) {
2040
2040
  __name(inspect, "inspect");
2041
2041
 
2042
2042
  // ../../../node_modules/js-base64/base64.mjs
2043
- var version = "3.8.0";
2043
+ var version = "3.9.3";
2044
2044
  var VERSION = version;
2045
- var _hasBuffer = typeof Buffer === "function";
2046
2045
  var _TD = typeof TextDecoder === "function" ? new TextDecoder("utf-8", { ignoreBOM: true }) : void 0;
2047
2046
  var _TE = typeof TextEncoder === "function" ? new TextEncoder() : void 0;
2048
2047
  var b64ch = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
@@ -2068,8 +2067,8 @@ var btoaPolyfill = /* @__PURE__ */ __name((bin) => {
2068
2067
  }
2069
2068
  return pad ? asc.slice(0, pad - 3) + "===".substring(pad) : asc;
2070
2069
  }, "btoaPolyfill");
2071
- var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) : _hasBuffer ? (bin) => Buffer.from(bin, "binary").toString("base64") : btoaPolyfill;
2072
- var _fromUint8Array = _hasBuffer ? (u8a) => Buffer.from(u8a).toString("base64") : (u8a) => {
2070
+ var _btoa = typeof btoa === "function" ? (bin) => btoa(bin) : btoaPolyfill;
2071
+ var _fromUint8Array = typeof Uint8Array.prototype.toBase64 === "function" ? (u8a) => u8a.toBase64() : (u8a) => {
2073
2072
  const maxargs = 4096;
2074
2073
  let strs = [];
2075
2074
  for (let i = 0, l = u8a.length; i < l; i += maxargs) {
@@ -2087,9 +2086,9 @@ var cb_utob = /* @__PURE__ */ __name((c) => {
2087
2086
  return _fromCC(240 | cc >>> 18 & 7) + _fromCC(128 | cc >>> 12 & 63) + _fromCC(128 | cc >>> 6 & 63) + _fromCC(128 | cc & 63);
2088
2087
  }
2089
2088
  }, "cb_utob");
2090
- var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g;
2089
+ var re_utob = /[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\x00-\x7F]/g;
2091
2090
  var utob = /* @__PURE__ */ __name((u) => u.replace(re_utob, cb_utob), "utob");
2092
- var _encode = _hasBuffer ? (s) => Buffer.from(s, "utf8").toString("base64") : _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
2091
+ var _encode = _TE ? (s) => _fromUint8Array(_TE.encode(s)) : (s) => _btoa(utob(s));
2093
2092
  var encode2 = /* @__PURE__ */ __name((src, urlsafe = false) => urlsafe ? _mkUriSafe(_encode(src)) : _encode(src), "encode");
2094
2093
  var encodeURI = /* @__PURE__ */ __name((src) => encode2(src, true), "encodeURI");
2095
2094
  var re_btou = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g;
@@ -2124,10 +2123,10 @@ var atobPolyfill = /* @__PURE__ */ __name((asc) => {
2124
2123
  }
2125
2124
  return binArray.join("");
2126
2125
  }, "atobPolyfill");
2127
- var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) : _hasBuffer ? (asc) => Buffer.from(asc, "base64").toString("binary") : atobPolyfill;
2128
- var _toUint8Array = _hasBuffer ? (a) => _U8Afrom(Buffer.from(a, "base64")) : (a) => _U8Afrom(_atob(a).split("").map((c) => c.charCodeAt(0)));
2126
+ var _atob = typeof atob === "function" ? (asc) => atob(_tidyB64(asc)) : atobPolyfill;
2127
+ var _toUint8Array = typeof Uint8Array.fromBase64 === "function" ? (a) => Uint8Array.fromBase64(a) : (a) => _U8Afrom(_atob(a).split("").map((c) => c.charCodeAt(0)));
2129
2128
  var toUint8Array = /* @__PURE__ */ __name((a) => _toUint8Array(_unURI(a)), "toUint8Array");
2130
- var _decode = _hasBuffer ? (a) => Buffer.from(a, "base64").toString("utf8") : _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));
2129
+ var _decode = _TD ? (a) => _TD.decode(_toUint8Array(a)) : (a) => btou(_atob(a));
2131
2130
  var _unURI = /* @__PURE__ */ __name((a) => _tidyB64(a.replace(/[-_]/g, (m0) => m0 == "-" ? "+" : "/")), "_unURI");
2132
2131
  var decode2 = /* @__PURE__ */ __name((src) => _decode(_unURI(src)), "decode");
2133
2132
  var isValid = /* @__PURE__ */ __name((src) => {