@hot-updater/js 0.20.0-rc.0 → 0.20.0
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.
- package/dist/index.cjs +96 -100
- package/dist/index.js +96 -100
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
const __hot_updater_core = __toESM(require("@hot-updater/core"));
|
|
28
28
|
|
|
29
29
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
|
|
30
|
-
var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js"(exports, module) {
|
|
30
|
+
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js": ((exports, module) => {
|
|
31
31
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
32
32
|
const MAX_LENGTH$2 = 256;
|
|
33
33
|
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -52,18 +52,18 @@ var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
52
52
|
FLAG_INCLUDE_PRERELEASE: 1,
|
|
53
53
|
FLAG_LOOSE: 2
|
|
54
54
|
};
|
|
55
|
-
} });
|
|
55
|
+
}) });
|
|
56
56
|
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js
|
|
59
|
-
var require_debug = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js"(exports, module) {
|
|
59
|
+
var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js": ((exports, module) => {
|
|
60
60
|
const debug$4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
61
61
|
module.exports = debug$4;
|
|
62
|
-
} });
|
|
62
|
+
}) });
|
|
63
63
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js
|
|
66
|
-
var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js"(exports, module) {
|
|
66
|
+
var require_re = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js": ((exports, module) => {
|
|
67
67
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH: MAX_LENGTH$1 } = require_constants();
|
|
68
68
|
const debug$3 = require_debug();
|
|
69
69
|
exports = module.exports = {};
|
|
@@ -139,11 +139,11 @@ var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
139
139
|
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
140
140
|
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
141
141
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
142
|
-
} });
|
|
142
|
+
}) });
|
|
143
143
|
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js
|
|
146
|
-
var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
146
|
+
var require_parse_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js": ((exports, module) => {
|
|
147
147
|
const looseOption = Object.freeze({ loose: true });
|
|
148
148
|
const emptyOpts = Object.freeze({});
|
|
149
149
|
const parseOptions$3 = (options) => {
|
|
@@ -152,11 +152,11 @@ var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
152
152
|
return options;
|
|
153
153
|
};
|
|
154
154
|
module.exports = parseOptions$3;
|
|
155
|
-
} });
|
|
155
|
+
}) });
|
|
156
156
|
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js
|
|
159
|
-
var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
159
|
+
var require_identifiers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js": ((exports, module) => {
|
|
160
160
|
const numeric = /^[0-9]+$/;
|
|
161
161
|
const compareIdentifiers$1 = (a, b) => {
|
|
162
162
|
const anum = numeric.test(a);
|
|
@@ -172,11 +172,11 @@ var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
172
172
|
compareIdentifiers: compareIdentifiers$1,
|
|
173
173
|
rcompareIdentifiers
|
|
174
174
|
};
|
|
175
|
-
} });
|
|
175
|
+
}) });
|
|
176
176
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js
|
|
179
|
-
var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js"(exports, module) {
|
|
179
|
+
var require_semver$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js": ((exports, module) => {
|
|
180
180
|
const debug$2 = require_debug();
|
|
181
181
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
182
182
|
const { safeRe: re$3, t: t$3 } = require_re();
|
|
@@ -346,11 +346,11 @@ var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
module.exports = SemVer$15;
|
|
349
|
-
} });
|
|
349
|
+
}) });
|
|
350
350
|
|
|
351
351
|
//#endregion
|
|
352
352
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js
|
|
353
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js"(exports, module) {
|
|
353
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js": ((exports, module) => {
|
|
354
354
|
const SemVer$14 = require_semver$1();
|
|
355
355
|
const parse$6 = (version, options, throwErrors = false) => {
|
|
356
356
|
if (version instanceof SemVer$14) return version;
|
|
@@ -362,33 +362,33 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
module.exports = parse$6;
|
|
365
|
-
} });
|
|
365
|
+
}) });
|
|
366
366
|
|
|
367
367
|
//#endregion
|
|
368
368
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js
|
|
369
|
-
var require_valid$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js"(exports, module) {
|
|
369
|
+
var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js": ((exports, module) => {
|
|
370
370
|
const parse$5 = require_parse();
|
|
371
371
|
const valid$1 = (version, options) => {
|
|
372
372
|
const v = parse$5(version, options);
|
|
373
373
|
return v ? v.version : null;
|
|
374
374
|
};
|
|
375
375
|
module.exports = valid$1;
|
|
376
|
-
} });
|
|
376
|
+
}) });
|
|
377
377
|
|
|
378
378
|
//#endregion
|
|
379
379
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js
|
|
380
|
-
var require_clean = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js"(exports, module) {
|
|
380
|
+
var require_clean = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js": ((exports, module) => {
|
|
381
381
|
const parse$4 = require_parse();
|
|
382
382
|
const clean$1 = (version, options) => {
|
|
383
383
|
const s = parse$4(version.trim().replace(/^[=v]+/, ""), options);
|
|
384
384
|
return s ? s.version : null;
|
|
385
385
|
};
|
|
386
386
|
module.exports = clean$1;
|
|
387
|
-
} });
|
|
387
|
+
}) });
|
|
388
388
|
|
|
389
389
|
//#endregion
|
|
390
390
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js
|
|
391
|
-
var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js"(exports, module) {
|
|
391
|
+
var require_inc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js": ((exports, module) => {
|
|
392
392
|
const SemVer$13 = require_semver$1();
|
|
393
393
|
const inc$1 = (version, release, options, identifier, identifierBase) => {
|
|
394
394
|
if (typeof options === "string") {
|
|
@@ -403,11 +403,11 @@ var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
module.exports = inc$1;
|
|
406
|
-
} });
|
|
406
|
+
}) });
|
|
407
407
|
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js
|
|
410
|
-
var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js"(exports, module) {
|
|
410
|
+
var require_diff = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js": ((exports, module) => {
|
|
411
411
|
const parse$3 = require_parse();
|
|
412
412
|
const diff$1 = (version1, version2) => {
|
|
413
413
|
const v1 = parse$3(version1, null, true);
|
|
@@ -433,70 +433,70 @@ var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
433
433
|
return "prerelease";
|
|
434
434
|
};
|
|
435
435
|
module.exports = diff$1;
|
|
436
|
-
} });
|
|
436
|
+
}) });
|
|
437
437
|
|
|
438
438
|
//#endregion
|
|
439
439
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js
|
|
440
|
-
var require_major = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js"(exports, module) {
|
|
440
|
+
var require_major = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js": ((exports, module) => {
|
|
441
441
|
const SemVer$12 = require_semver$1();
|
|
442
442
|
const major$1 = (a, loose) => new SemVer$12(a, loose).major;
|
|
443
443
|
module.exports = major$1;
|
|
444
|
-
} });
|
|
444
|
+
}) });
|
|
445
445
|
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js
|
|
448
|
-
var require_minor = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js"(exports, module) {
|
|
448
|
+
var require_minor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js": ((exports, module) => {
|
|
449
449
|
const SemVer$11 = require_semver$1();
|
|
450
450
|
const minor$1 = (a, loose) => new SemVer$11(a, loose).minor;
|
|
451
451
|
module.exports = minor$1;
|
|
452
|
-
} });
|
|
452
|
+
}) });
|
|
453
453
|
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js
|
|
456
|
-
var require_patch = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js"(exports, module) {
|
|
456
|
+
var require_patch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js": ((exports, module) => {
|
|
457
457
|
const SemVer$10 = require_semver$1();
|
|
458
458
|
const patch$1 = (a, loose) => new SemVer$10(a, loose).patch;
|
|
459
459
|
module.exports = patch$1;
|
|
460
|
-
} });
|
|
460
|
+
}) });
|
|
461
461
|
|
|
462
462
|
//#endregion
|
|
463
463
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js
|
|
464
|
-
var require_prerelease = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
464
|
+
var require_prerelease = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js": ((exports, module) => {
|
|
465
465
|
const parse$2 = require_parse();
|
|
466
466
|
const prerelease$1 = (version, options) => {
|
|
467
467
|
const parsed = parse$2(version, options);
|
|
468
468
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
469
469
|
};
|
|
470
470
|
module.exports = prerelease$1;
|
|
471
|
-
} });
|
|
471
|
+
}) });
|
|
472
472
|
|
|
473
473
|
//#endregion
|
|
474
474
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js
|
|
475
|
-
var require_compare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js"(exports, module) {
|
|
475
|
+
var require_compare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js": ((exports, module) => {
|
|
476
476
|
const SemVer$9 = require_semver$1();
|
|
477
477
|
const compare$11 = (a, b, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b, loose));
|
|
478
478
|
module.exports = compare$11;
|
|
479
|
-
} });
|
|
479
|
+
}) });
|
|
480
480
|
|
|
481
481
|
//#endregion
|
|
482
482
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js
|
|
483
|
-
var require_rcompare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
483
|
+
var require_rcompare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js": ((exports, module) => {
|
|
484
484
|
const compare$10 = require_compare();
|
|
485
485
|
const rcompare$1 = (a, b, loose) => compare$10(b, a, loose);
|
|
486
486
|
module.exports = rcompare$1;
|
|
487
|
-
} });
|
|
487
|
+
}) });
|
|
488
488
|
|
|
489
489
|
//#endregion
|
|
490
490
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js
|
|
491
|
-
var require_compare_loose = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
491
|
+
var require_compare_loose = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js": ((exports, module) => {
|
|
492
492
|
const compare$9 = require_compare();
|
|
493
493
|
const compareLoose$1 = (a, b) => compare$9(a, b, true);
|
|
494
494
|
module.exports = compareLoose$1;
|
|
495
|
-
} });
|
|
495
|
+
}) });
|
|
496
496
|
|
|
497
497
|
//#endregion
|
|
498
498
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js
|
|
499
|
-
var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
499
|
+
var require_compare_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js": ((exports, module) => {
|
|
500
500
|
const SemVer$8 = require_semver$1();
|
|
501
501
|
const compareBuild$3 = (a, b, loose) => {
|
|
502
502
|
const versionA = new SemVer$8(a, loose);
|
|
@@ -504,75 +504,75 @@ var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
504
504
|
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
505
505
|
};
|
|
506
506
|
module.exports = compareBuild$3;
|
|
507
|
-
} });
|
|
507
|
+
}) });
|
|
508
508
|
|
|
509
509
|
//#endregion
|
|
510
510
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js
|
|
511
|
-
var require_sort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js"(exports, module) {
|
|
511
|
+
var require_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js": ((exports, module) => {
|
|
512
512
|
const compareBuild$2 = require_compare_build();
|
|
513
513
|
const sort$1 = (list, loose) => list.sort((a, b) => compareBuild$2(a, b, loose));
|
|
514
514
|
module.exports = sort$1;
|
|
515
|
-
} });
|
|
515
|
+
}) });
|
|
516
516
|
|
|
517
517
|
//#endregion
|
|
518
518
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js
|
|
519
|
-
var require_rsort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
519
|
+
var require_rsort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js": ((exports, module) => {
|
|
520
520
|
const compareBuild$1 = require_compare_build();
|
|
521
521
|
const rsort$1 = (list, loose) => list.sort((a, b) => compareBuild$1(b, a, loose));
|
|
522
522
|
module.exports = rsort$1;
|
|
523
|
-
} });
|
|
523
|
+
}) });
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js
|
|
527
|
-
var require_gt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js"(exports, module) {
|
|
527
|
+
var require_gt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js": ((exports, module) => {
|
|
528
528
|
const compare$8 = require_compare();
|
|
529
529
|
const gt$4 = (a, b, loose) => compare$8(a, b, loose) > 0;
|
|
530
530
|
module.exports = gt$4;
|
|
531
|
-
} });
|
|
531
|
+
}) });
|
|
532
532
|
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js
|
|
535
|
-
var require_lt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js"(exports, module) {
|
|
535
|
+
var require_lt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js": ((exports, module) => {
|
|
536
536
|
const compare$7 = require_compare();
|
|
537
537
|
const lt$3 = (a, b, loose) => compare$7(a, b, loose) < 0;
|
|
538
538
|
module.exports = lt$3;
|
|
539
|
-
} });
|
|
539
|
+
}) });
|
|
540
540
|
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js
|
|
543
|
-
var require_eq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js"(exports, module) {
|
|
543
|
+
var require_eq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js": ((exports, module) => {
|
|
544
544
|
const compare$6 = require_compare();
|
|
545
545
|
const eq$2 = (a, b, loose) => compare$6(a, b, loose) === 0;
|
|
546
546
|
module.exports = eq$2;
|
|
547
|
-
} });
|
|
547
|
+
}) });
|
|
548
548
|
|
|
549
549
|
//#endregion
|
|
550
550
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js
|
|
551
|
-
var require_neq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js"(exports, module) {
|
|
551
|
+
var require_neq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js": ((exports, module) => {
|
|
552
552
|
const compare$5 = require_compare();
|
|
553
553
|
const neq$2 = (a, b, loose) => compare$5(a, b, loose) !== 0;
|
|
554
554
|
module.exports = neq$2;
|
|
555
|
-
} });
|
|
555
|
+
}) });
|
|
556
556
|
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js
|
|
559
|
-
var require_gte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js"(exports, module) {
|
|
559
|
+
var require_gte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js": ((exports, module) => {
|
|
560
560
|
const compare$4 = require_compare();
|
|
561
561
|
const gte$3 = (a, b, loose) => compare$4(a, b, loose) >= 0;
|
|
562
562
|
module.exports = gte$3;
|
|
563
|
-
} });
|
|
563
|
+
}) });
|
|
564
564
|
|
|
565
565
|
//#endregion
|
|
566
566
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js
|
|
567
|
-
var require_lte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js"(exports, module) {
|
|
567
|
+
var require_lte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js": ((exports, module) => {
|
|
568
568
|
const compare$3 = require_compare();
|
|
569
569
|
const lte$3 = (a, b, loose) => compare$3(a, b, loose) <= 0;
|
|
570
570
|
module.exports = lte$3;
|
|
571
|
-
} });
|
|
571
|
+
}) });
|
|
572
572
|
|
|
573
573
|
//#endregion
|
|
574
574
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js
|
|
575
|
-
var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
575
|
+
var require_cmp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js": ((exports, module) => {
|
|
576
576
|
const eq$1 = require_eq();
|
|
577
577
|
const neq$1 = require_neq();
|
|
578
578
|
const gt$3 = require_gt();
|
|
@@ -601,11 +601,11 @@ var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
603
|
module.exports = cmp$2;
|
|
604
|
-
} });
|
|
604
|
+
}) });
|
|
605
605
|
|
|
606
606
|
//#endregion
|
|
607
607
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js
|
|
608
|
-
var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
608
|
+
var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js": ((exports, module) => {
|
|
609
609
|
const SemVer$7 = require_semver$1();
|
|
610
610
|
const parse$1 = require_parse();
|
|
611
611
|
const { safeRe: re$2, t: t$2 } = require_re();
|
|
@@ -634,11 +634,11 @@ var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
634
634
|
return parse$1(`${major$2}.${minor$2}.${patch$2}${prerelease$2}${build}`, options);
|
|
635
635
|
};
|
|
636
636
|
module.exports = coerce$1;
|
|
637
|
-
} });
|
|
637
|
+
}) });
|
|
638
638
|
|
|
639
639
|
//#endregion
|
|
640
640
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js
|
|
641
|
-
var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
641
|
+
var require_lrucache = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js": ((exports, module) => {
|
|
642
642
|
var LRUCache = class {
|
|
643
643
|
constructor() {
|
|
644
644
|
this.max = 1e3;
|
|
@@ -669,11 +669,11 @@ var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
module.exports = LRUCache;
|
|
672
|
-
} });
|
|
672
|
+
}) });
|
|
673
673
|
|
|
674
674
|
//#endregion
|
|
675
675
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js
|
|
676
|
-
var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js"(exports, module) {
|
|
676
|
+
var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js": ((exports, module) => {
|
|
677
677
|
const SPACE_CHARACTERS = /\s+/g;
|
|
678
678
|
var Range$11 = class Range$11 {
|
|
679
679
|
constructor(range, options) {
|
|
@@ -944,11 +944,11 @@ var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
944
944
|
}
|
|
945
945
|
return true;
|
|
946
946
|
};
|
|
947
|
-
} });
|
|
947
|
+
}) });
|
|
948
948
|
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js
|
|
951
|
-
var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
951
|
+
var require_comparator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js": ((exports, module) => {
|
|
952
952
|
const ANY$2 = Symbol("SemVer ANY");
|
|
953
953
|
var Comparator$3 = class Comparator$3 {
|
|
954
954
|
static get ANY() {
|
|
@@ -1016,11 +1016,11 @@ var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
1016
1016
|
const debug = require_debug();
|
|
1017
1017
|
const SemVer$5 = require_semver$1();
|
|
1018
1018
|
const Range$10 = require_range();
|
|
1019
|
-
} });
|
|
1019
|
+
}) });
|
|
1020
1020
|
|
|
1021
1021
|
//#endregion
|
|
1022
1022
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js
|
|
1023
|
-
var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1023
|
+
var require_satisfies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js": ((exports, module) => {
|
|
1024
1024
|
const Range$9 = require_range();
|
|
1025
1025
|
const satisfies$4 = (version, range, options) => {
|
|
1026
1026
|
try {
|
|
@@ -1031,19 +1031,19 @@ var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
1031
1031
|
return range.test(version);
|
|
1032
1032
|
};
|
|
1033
1033
|
module.exports = satisfies$4;
|
|
1034
|
-
} });
|
|
1034
|
+
}) });
|
|
1035
1035
|
|
|
1036
1036
|
//#endregion
|
|
1037
1037
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js
|
|
1038
|
-
var require_to_comparators = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1038
|
+
var require_to_comparators = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js": ((exports, module) => {
|
|
1039
1039
|
const Range$8 = require_range();
|
|
1040
1040
|
const toComparators$1 = (range, options) => new Range$8(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1041
1041
|
module.exports = toComparators$1;
|
|
1042
|
-
} });
|
|
1042
|
+
}) });
|
|
1043
1043
|
|
|
1044
1044
|
//#endregion
|
|
1045
1045
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js
|
|
1046
|
-
var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1046
|
+
var require_max_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js": ((exports, module) => {
|
|
1047
1047
|
const SemVer$4 = require_semver$1();
|
|
1048
1048
|
const Range$7 = require_range();
|
|
1049
1049
|
const maxSatisfying$1 = (versions, range, options) => {
|
|
@@ -1066,11 +1066,11 @@ var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
1066
1066
|
return max;
|
|
1067
1067
|
};
|
|
1068
1068
|
module.exports = maxSatisfying$1;
|
|
1069
|
-
} });
|
|
1069
|
+
}) });
|
|
1070
1070
|
|
|
1071
1071
|
//#endregion
|
|
1072
1072
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js
|
|
1073
|
-
var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1073
|
+
var require_min_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js": ((exports, module) => {
|
|
1074
1074
|
const SemVer$3 = require_semver$1();
|
|
1075
1075
|
const Range$6 = require_range();
|
|
1076
1076
|
const minSatisfying$1 = (versions, range, options) => {
|
|
@@ -1093,11 +1093,11 @@ var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
1093
1093
|
return min;
|
|
1094
1094
|
};
|
|
1095
1095
|
module.exports = minSatisfying$1;
|
|
1096
|
-
} });
|
|
1096
|
+
}) });
|
|
1097
1097
|
|
|
1098
1098
|
//#endregion
|
|
1099
1099
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js
|
|
1100
|
-
var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1100
|
+
var require_min_version = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js": ((exports, module) => {
|
|
1101
1101
|
const SemVer$2 = require_semver$1();
|
|
1102
1102
|
const Range$5 = require_range();
|
|
1103
1103
|
const gt$2 = require_gt();
|
|
@@ -1133,11 +1133,11 @@ var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
1133
1133
|
return null;
|
|
1134
1134
|
};
|
|
1135
1135
|
module.exports = minVersion$1;
|
|
1136
|
-
} });
|
|
1136
|
+
}) });
|
|
1137
1137
|
|
|
1138
1138
|
//#endregion
|
|
1139
1139
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js
|
|
1140
|
-
var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
1140
|
+
var require_valid = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js": ((exports, module) => {
|
|
1141
1141
|
const Range$4 = require_range();
|
|
1142
1142
|
const validRange$1 = (range, options) => {
|
|
1143
1143
|
try {
|
|
@@ -1147,11 +1147,11 @@ var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
module.exports = validRange$1;
|
|
1150
|
-
} });
|
|
1150
|
+
}) });
|
|
1151
1151
|
|
|
1152
1152
|
//#endregion
|
|
1153
1153
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js
|
|
1154
|
-
var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1154
|
+
var require_outside = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js": ((exports, module) => {
|
|
1155
1155
|
const SemVer$1 = require_semver$1();
|
|
1156
1156
|
const Comparator$2 = require_comparator();
|
|
1157
1157
|
const { ANY: ANY$1 } = Comparator$2;
|
|
@@ -1201,27 +1201,27 @@ var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_m
|
|
|
1201
1201
|
return true;
|
|
1202
1202
|
};
|
|
1203
1203
|
module.exports = outside$3;
|
|
1204
|
-
} });
|
|
1204
|
+
}) });
|
|
1205
1205
|
|
|
1206
1206
|
//#endregion
|
|
1207
1207
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js
|
|
1208
|
-
var require_gtr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1208
|
+
var require_gtr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js": ((exports, module) => {
|
|
1209
1209
|
const outside$2 = require_outside();
|
|
1210
1210
|
const gtr$1 = (version, range, options) => outside$2(version, range, ">", options);
|
|
1211
1211
|
module.exports = gtr$1;
|
|
1212
|
-
} });
|
|
1212
|
+
}) });
|
|
1213
1213
|
|
|
1214
1214
|
//#endregion
|
|
1215
1215
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js
|
|
1216
|
-
var require_ltr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1216
|
+
var require_ltr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js": ((exports, module) => {
|
|
1217
1217
|
const outside$1 = require_outside();
|
|
1218
1218
|
const ltr$1 = (version, range, options) => outside$1(version, range, "<", options);
|
|
1219
1219
|
module.exports = ltr$1;
|
|
1220
|
-
} });
|
|
1220
|
+
}) });
|
|
1221
1221
|
|
|
1222
1222
|
//#endregion
|
|
1223
1223
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js
|
|
1224
|
-
var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1224
|
+
var require_intersects = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js": ((exports, module) => {
|
|
1225
1225
|
const Range$2 = require_range();
|
|
1226
1226
|
const intersects$1 = (r1, r2, options) => {
|
|
1227
1227
|
r1 = new Range$2(r1, options);
|
|
@@ -1229,11 +1229,11 @@ var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
1229
1229
|
return r1.intersects(r2, options);
|
|
1230
1230
|
};
|
|
1231
1231
|
module.exports = intersects$1;
|
|
1232
|
-
} });
|
|
1232
|
+
}) });
|
|
1233
1233
|
|
|
1234
1234
|
//#endregion
|
|
1235
1235
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js
|
|
1236
|
-
var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1236
|
+
var require_simplify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js": ((exports, module) => {
|
|
1237
1237
|
const satisfies$2 = require_satisfies();
|
|
1238
1238
|
const compare$2 = require_compare();
|
|
1239
1239
|
module.exports = (versions, range, options) => {
|
|
@@ -1263,11 +1263,11 @@ var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
1263
1263
|
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
1264
1264
|
return simplified.length < original.length ? simplified : range;
|
|
1265
1265
|
};
|
|
1266
|
-
} });
|
|
1266
|
+
}) });
|
|
1267
1267
|
|
|
1268
1268
|
//#endregion
|
|
1269
1269
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js
|
|
1270
|
-
var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1270
|
+
var require_subset = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js": ((exports, module) => {
|
|
1271
1271
|
const Range$1 = require_range();
|
|
1272
1272
|
const Comparator$1 = require_comparator();
|
|
1273
1273
|
const { ANY } = Comparator$1;
|
|
@@ -1359,11 +1359,11 @@ var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
1359
1359
|
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
1360
1360
|
};
|
|
1361
1361
|
module.exports = subset$1;
|
|
1362
|
-
} });
|
|
1362
|
+
}) });
|
|
1363
1363
|
|
|
1364
1364
|
//#endregion
|
|
1365
1365
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js
|
|
1366
|
-
var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js"(exports, module) {
|
|
1366
|
+
var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js": ((exports, module) => {
|
|
1367
1367
|
const internalRe = require_re();
|
|
1368
1368
|
const constants = require_constants();
|
|
1369
1369
|
const SemVer = require_semver$1();
|
|
@@ -1452,11 +1452,11 @@ var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
1452
1452
|
compareIdentifiers: identifiers.compareIdentifiers,
|
|
1453
1453
|
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
1454
1454
|
};
|
|
1455
|
-
} });
|
|
1455
|
+
}) });
|
|
1456
1456
|
|
|
1457
1457
|
//#endregion
|
|
1458
1458
|
//#region src/semverSatisfies.ts
|
|
1459
|
-
var import_semver = __toESM(require_semver());
|
|
1459
|
+
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
1460
1460
|
const semverSatisfies = (targetAppVersion, currentVersion) => {
|
|
1461
1461
|
const currentCoerce = import_semver.default.coerce(currentVersion);
|
|
1462
1462
|
if (!currentCoerce) return false;
|
|
@@ -1714,7 +1714,7 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
|
|
|
1714
1714
|
//#endregion
|
|
1715
1715
|
//#region ../../node_modules/.pnpm/jose@6.0.10/node_modules/jose/dist/webapi/lib/crypto_key.js
|
|
1716
1716
|
function unusable(name, prop = "algorithm.name") {
|
|
1717
|
-
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
1717
|
+
return /* @__PURE__ */ new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
1718
1718
|
}
|
|
1719
1719
|
function isAlgorithm(algorithm, name) {
|
|
1720
1720
|
return algorithm.name === name;
|
|
@@ -1763,10 +1763,9 @@ function checkSigCryptoKey(key, alg, usage) {
|
|
|
1763
1763
|
break;
|
|
1764
1764
|
}
|
|
1765
1765
|
case "Ed25519":
|
|
1766
|
-
case "EdDSA":
|
|
1766
|
+
case "EdDSA":
|
|
1767
1767
|
if (!isAlgorithm(key.algorithm, "Ed25519")) throw unusable("Ed25519");
|
|
1768
1768
|
break;
|
|
1769
|
-
}
|
|
1770
1769
|
case "ES256":
|
|
1771
1770
|
case "ES384":
|
|
1772
1771
|
case "ES512": {
|
|
@@ -1864,7 +1863,7 @@ function subtleMapping(jwk) {
|
|
|
1864
1863
|
let algorithm;
|
|
1865
1864
|
let keyUsages;
|
|
1866
1865
|
switch (jwk.kty) {
|
|
1867
|
-
case "RSA":
|
|
1866
|
+
case "RSA":
|
|
1868
1867
|
switch (jwk.alg) {
|
|
1869
1868
|
case "PS256":
|
|
1870
1869
|
case "PS384":
|
|
@@ -1897,8 +1896,7 @@ function subtleMapping(jwk) {
|
|
|
1897
1896
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1898
1897
|
}
|
|
1899
1898
|
break;
|
|
1900
|
-
|
|
1901
|
-
case "EC": {
|
|
1899
|
+
case "EC":
|
|
1902
1900
|
switch (jwk.alg) {
|
|
1903
1901
|
case "ES256":
|
|
1904
1902
|
algorithm = {
|
|
@@ -1934,8 +1932,7 @@ function subtleMapping(jwk) {
|
|
|
1934
1932
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1935
1933
|
}
|
|
1936
1934
|
break;
|
|
1937
|
-
|
|
1938
|
-
case "OKP": {
|
|
1935
|
+
case "OKP":
|
|
1939
1936
|
switch (jwk.alg) {
|
|
1940
1937
|
case "Ed25519":
|
|
1941
1938
|
case "EdDSA":
|
|
@@ -1952,7 +1949,6 @@ function subtleMapping(jwk) {
|
|
|
1952
1949
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1953
1950
|
}
|
|
1954
1951
|
break;
|
|
1955
|
-
}
|
|
1956
1952
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"kty\" (Key Type) Parameter value");
|
|
1957
1953
|
}
|
|
1958
1954
|
return {
|
package/dist/index.js
CHANGED
|
@@ -27,7 +27,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
27
27
|
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js
|
|
30
|
-
var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js"(exports, module) {
|
|
30
|
+
var require_constants = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/constants.js": ((exports, module) => {
|
|
31
31
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
32
32
|
const MAX_LENGTH$2 = 256;
|
|
33
33
|
const MAX_SAFE_INTEGER$1 = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -52,18 +52,18 @@ var require_constants = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
52
52
|
FLAG_INCLUDE_PRERELEASE: 1,
|
|
53
53
|
FLAG_LOOSE: 2
|
|
54
54
|
};
|
|
55
|
-
} });
|
|
55
|
+
}) });
|
|
56
56
|
|
|
57
57
|
//#endregion
|
|
58
58
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js
|
|
59
|
-
var require_debug = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js"(exports, module) {
|
|
59
|
+
var require_debug = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/debug.js": ((exports, module) => {
|
|
60
60
|
const debug$4 = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
61
61
|
module.exports = debug$4;
|
|
62
|
-
} });
|
|
62
|
+
}) });
|
|
63
63
|
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js
|
|
66
|
-
var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js"(exports, module) {
|
|
66
|
+
var require_re = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/re.js": ((exports, module) => {
|
|
67
67
|
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH: MAX_LENGTH$1 } = require_constants();
|
|
68
68
|
const debug$3 = require_debug();
|
|
69
69
|
exports = module.exports = {};
|
|
@@ -139,11 +139,11 @@ var require_re = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_module
|
|
|
139
139
|
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
140
140
|
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
141
141
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
142
|
-
} });
|
|
142
|
+
}) });
|
|
143
143
|
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js
|
|
146
|
-
var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
146
|
+
var require_parse_options = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/parse-options.js": ((exports, module) => {
|
|
147
147
|
const looseOption = Object.freeze({ loose: true });
|
|
148
148
|
const emptyOpts = Object.freeze({});
|
|
149
149
|
const parseOptions$3 = (options) => {
|
|
@@ -152,11 +152,11 @@ var require_parse_options = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
152
152
|
return options;
|
|
153
153
|
};
|
|
154
154
|
module.exports = parseOptions$3;
|
|
155
|
-
} });
|
|
155
|
+
}) });
|
|
156
156
|
|
|
157
157
|
//#endregion
|
|
158
158
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js
|
|
159
|
-
var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
159
|
+
var require_identifiers = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/identifiers.js": ((exports, module) => {
|
|
160
160
|
const numeric = /^[0-9]+$/;
|
|
161
161
|
const compareIdentifiers$1 = (a, b) => {
|
|
162
162
|
const anum = numeric.test(a);
|
|
@@ -172,11 +172,11 @@ var require_identifiers = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
172
172
|
compareIdentifiers: compareIdentifiers$1,
|
|
173
173
|
rcompareIdentifiers
|
|
174
174
|
};
|
|
175
|
-
} });
|
|
175
|
+
}) });
|
|
176
176
|
|
|
177
177
|
//#endregion
|
|
178
178
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js
|
|
179
|
-
var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js"(exports, module) {
|
|
179
|
+
var require_semver$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/semver.js": ((exports, module) => {
|
|
180
180
|
const debug$2 = require_debug();
|
|
181
181
|
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
182
182
|
const { safeRe: re$3, t: t$3 } = require_re();
|
|
@@ -346,11 +346,11 @@ var require_semver$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
346
346
|
}
|
|
347
347
|
};
|
|
348
348
|
module.exports = SemVer$15;
|
|
349
|
-
} });
|
|
349
|
+
}) });
|
|
350
350
|
|
|
351
351
|
//#endregion
|
|
352
352
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js
|
|
353
|
-
var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js"(exports, module) {
|
|
353
|
+
var require_parse = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/parse.js": ((exports, module) => {
|
|
354
354
|
const SemVer$14 = require_semver$1();
|
|
355
355
|
const parse$6 = (version, options, throwErrors = false) => {
|
|
356
356
|
if (version instanceof SemVer$14) return version;
|
|
@@ -362,33 +362,33 @@ var require_parse = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
364
|
module.exports = parse$6;
|
|
365
|
-
} });
|
|
365
|
+
}) });
|
|
366
366
|
|
|
367
367
|
//#endregion
|
|
368
368
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js
|
|
369
|
-
var require_valid$1 = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js"(exports, module) {
|
|
369
|
+
var require_valid$1 = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/valid.js": ((exports, module) => {
|
|
370
370
|
const parse$5 = require_parse();
|
|
371
371
|
const valid$1 = (version, options) => {
|
|
372
372
|
const v = parse$5(version, options);
|
|
373
373
|
return v ? v.version : null;
|
|
374
374
|
};
|
|
375
375
|
module.exports = valid$1;
|
|
376
|
-
} });
|
|
376
|
+
}) });
|
|
377
377
|
|
|
378
378
|
//#endregion
|
|
379
379
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js
|
|
380
|
-
var require_clean = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js"(exports, module) {
|
|
380
|
+
var require_clean = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/clean.js": ((exports, module) => {
|
|
381
381
|
const parse$4 = require_parse();
|
|
382
382
|
const clean$1 = (version, options) => {
|
|
383
383
|
const s = parse$4(version.trim().replace(/^[=v]+/, ""), options);
|
|
384
384
|
return s ? s.version : null;
|
|
385
385
|
};
|
|
386
386
|
module.exports = clean$1;
|
|
387
|
-
} });
|
|
387
|
+
}) });
|
|
388
388
|
|
|
389
389
|
//#endregion
|
|
390
390
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js
|
|
391
|
-
var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js"(exports, module) {
|
|
391
|
+
var require_inc = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/inc.js": ((exports, module) => {
|
|
392
392
|
const SemVer$13 = require_semver$1();
|
|
393
393
|
const inc$1 = (version, release, options, identifier, identifierBase) => {
|
|
394
394
|
if (typeof options === "string") {
|
|
@@ -403,11 +403,11 @@ var require_inc = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
module.exports = inc$1;
|
|
406
|
-
} });
|
|
406
|
+
}) });
|
|
407
407
|
|
|
408
408
|
//#endregion
|
|
409
409
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js
|
|
410
|
-
var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js"(exports, module) {
|
|
410
|
+
var require_diff = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js": ((exports, module) => {
|
|
411
411
|
const parse$3 = require_parse();
|
|
412
412
|
const diff$1 = (version1, version2) => {
|
|
413
413
|
const v1 = parse$3(version1, null, true);
|
|
@@ -433,70 +433,70 @@ var require_diff = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modu
|
|
|
433
433
|
return "prerelease";
|
|
434
434
|
};
|
|
435
435
|
module.exports = diff$1;
|
|
436
|
-
} });
|
|
436
|
+
}) });
|
|
437
437
|
|
|
438
438
|
//#endregion
|
|
439
439
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js
|
|
440
|
-
var require_major = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js"(exports, module) {
|
|
440
|
+
var require_major = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/major.js": ((exports, module) => {
|
|
441
441
|
const SemVer$12 = require_semver$1();
|
|
442
442
|
const major$1 = (a, loose) => new SemVer$12(a, loose).major;
|
|
443
443
|
module.exports = major$1;
|
|
444
|
-
} });
|
|
444
|
+
}) });
|
|
445
445
|
|
|
446
446
|
//#endregion
|
|
447
447
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js
|
|
448
|
-
var require_minor = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js"(exports, module) {
|
|
448
|
+
var require_minor = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/minor.js": ((exports, module) => {
|
|
449
449
|
const SemVer$11 = require_semver$1();
|
|
450
450
|
const minor$1 = (a, loose) => new SemVer$11(a, loose).minor;
|
|
451
451
|
module.exports = minor$1;
|
|
452
|
-
} });
|
|
452
|
+
}) });
|
|
453
453
|
|
|
454
454
|
//#endregion
|
|
455
455
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js
|
|
456
|
-
var require_patch = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js"(exports, module) {
|
|
456
|
+
var require_patch = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/patch.js": ((exports, module) => {
|
|
457
457
|
const SemVer$10 = require_semver$1();
|
|
458
458
|
const patch$1 = (a, loose) => new SemVer$10(a, loose).patch;
|
|
459
459
|
module.exports = patch$1;
|
|
460
|
-
} });
|
|
460
|
+
}) });
|
|
461
461
|
|
|
462
462
|
//#endregion
|
|
463
463
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js
|
|
464
|
-
var require_prerelease = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
464
|
+
var require_prerelease = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/prerelease.js": ((exports, module) => {
|
|
465
465
|
const parse$2 = require_parse();
|
|
466
466
|
const prerelease$1 = (version, options) => {
|
|
467
467
|
const parsed = parse$2(version, options);
|
|
468
468
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
469
469
|
};
|
|
470
470
|
module.exports = prerelease$1;
|
|
471
|
-
} });
|
|
471
|
+
}) });
|
|
472
472
|
|
|
473
473
|
//#endregion
|
|
474
474
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js
|
|
475
|
-
var require_compare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js"(exports, module) {
|
|
475
|
+
var require_compare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare.js": ((exports, module) => {
|
|
476
476
|
const SemVer$9 = require_semver$1();
|
|
477
477
|
const compare$11 = (a, b, loose) => new SemVer$9(a, loose).compare(new SemVer$9(b, loose));
|
|
478
478
|
module.exports = compare$11;
|
|
479
|
-
} });
|
|
479
|
+
}) });
|
|
480
480
|
|
|
481
481
|
//#endregion
|
|
482
482
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js
|
|
483
|
-
var require_rcompare = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
483
|
+
var require_rcompare = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rcompare.js": ((exports, module) => {
|
|
484
484
|
const compare$10 = require_compare();
|
|
485
485
|
const rcompare$1 = (a, b, loose) => compare$10(b, a, loose);
|
|
486
486
|
module.exports = rcompare$1;
|
|
487
|
-
} });
|
|
487
|
+
}) });
|
|
488
488
|
|
|
489
489
|
//#endregion
|
|
490
490
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js
|
|
491
|
-
var require_compare_loose = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
491
|
+
var require_compare_loose = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-loose.js": ((exports, module) => {
|
|
492
492
|
const compare$9 = require_compare();
|
|
493
493
|
const compareLoose$1 = (a, b) => compare$9(a, b, true);
|
|
494
494
|
module.exports = compareLoose$1;
|
|
495
|
-
} });
|
|
495
|
+
}) });
|
|
496
496
|
|
|
497
497
|
//#endregion
|
|
498
498
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js
|
|
499
|
-
var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
499
|
+
var require_compare_build = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/compare-build.js": ((exports, module) => {
|
|
500
500
|
const SemVer$8 = require_semver$1();
|
|
501
501
|
const compareBuild$3 = (a, b, loose) => {
|
|
502
502
|
const versionA = new SemVer$8(a, loose);
|
|
@@ -504,75 +504,75 @@ var require_compare_build = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/
|
|
|
504
504
|
return versionA.compare(versionB) || versionA.compareBuild(versionB);
|
|
505
505
|
};
|
|
506
506
|
module.exports = compareBuild$3;
|
|
507
|
-
} });
|
|
507
|
+
}) });
|
|
508
508
|
|
|
509
509
|
//#endregion
|
|
510
510
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js
|
|
511
|
-
var require_sort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js"(exports, module) {
|
|
511
|
+
var require_sort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/sort.js": ((exports, module) => {
|
|
512
512
|
const compareBuild$2 = require_compare_build();
|
|
513
513
|
const sort$1 = (list, loose) => list.sort((a, b) => compareBuild$2(a, b, loose));
|
|
514
514
|
module.exports = sort$1;
|
|
515
|
-
} });
|
|
515
|
+
}) });
|
|
516
516
|
|
|
517
517
|
//#endregion
|
|
518
518
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js
|
|
519
|
-
var require_rsort = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
519
|
+
var require_rsort = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/rsort.js": ((exports, module) => {
|
|
520
520
|
const compareBuild$1 = require_compare_build();
|
|
521
521
|
const rsort$1 = (list, loose) => list.sort((a, b) => compareBuild$1(b, a, loose));
|
|
522
522
|
module.exports = rsort$1;
|
|
523
|
-
} });
|
|
523
|
+
}) });
|
|
524
524
|
|
|
525
525
|
//#endregion
|
|
526
526
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js
|
|
527
|
-
var require_gt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js"(exports, module) {
|
|
527
|
+
var require_gt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gt.js": ((exports, module) => {
|
|
528
528
|
const compare$8 = require_compare();
|
|
529
529
|
const gt$4 = (a, b, loose) => compare$8(a, b, loose) > 0;
|
|
530
530
|
module.exports = gt$4;
|
|
531
|
-
} });
|
|
531
|
+
}) });
|
|
532
532
|
|
|
533
533
|
//#endregion
|
|
534
534
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js
|
|
535
|
-
var require_lt = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js"(exports, module) {
|
|
535
|
+
var require_lt = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lt.js": ((exports, module) => {
|
|
536
536
|
const compare$7 = require_compare();
|
|
537
537
|
const lt$3 = (a, b, loose) => compare$7(a, b, loose) < 0;
|
|
538
538
|
module.exports = lt$3;
|
|
539
|
-
} });
|
|
539
|
+
}) });
|
|
540
540
|
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js
|
|
543
|
-
var require_eq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js"(exports, module) {
|
|
543
|
+
var require_eq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/eq.js": ((exports, module) => {
|
|
544
544
|
const compare$6 = require_compare();
|
|
545
545
|
const eq$2 = (a, b, loose) => compare$6(a, b, loose) === 0;
|
|
546
546
|
module.exports = eq$2;
|
|
547
|
-
} });
|
|
547
|
+
}) });
|
|
548
548
|
|
|
549
549
|
//#endregion
|
|
550
550
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js
|
|
551
|
-
var require_neq = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js"(exports, module) {
|
|
551
|
+
var require_neq = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/neq.js": ((exports, module) => {
|
|
552
552
|
const compare$5 = require_compare();
|
|
553
553
|
const neq$2 = (a, b, loose) => compare$5(a, b, loose) !== 0;
|
|
554
554
|
module.exports = neq$2;
|
|
555
|
-
} });
|
|
555
|
+
}) });
|
|
556
556
|
|
|
557
557
|
//#endregion
|
|
558
558
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js
|
|
559
|
-
var require_gte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js"(exports, module) {
|
|
559
|
+
var require_gte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/gte.js": ((exports, module) => {
|
|
560
560
|
const compare$4 = require_compare();
|
|
561
561
|
const gte$3 = (a, b, loose) => compare$4(a, b, loose) >= 0;
|
|
562
562
|
module.exports = gte$3;
|
|
563
|
-
} });
|
|
563
|
+
}) });
|
|
564
564
|
|
|
565
565
|
//#endregion
|
|
566
566
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js
|
|
567
|
-
var require_lte = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js"(exports, module) {
|
|
567
|
+
var require_lte = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/lte.js": ((exports, module) => {
|
|
568
568
|
const compare$3 = require_compare();
|
|
569
569
|
const lte$3 = (a, b, loose) => compare$3(a, b, loose) <= 0;
|
|
570
570
|
module.exports = lte$3;
|
|
571
|
-
} });
|
|
571
|
+
}) });
|
|
572
572
|
|
|
573
573
|
//#endregion
|
|
574
574
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js
|
|
575
|
-
var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
575
|
+
var require_cmp = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/cmp.js": ((exports, module) => {
|
|
576
576
|
const eq$1 = require_eq();
|
|
577
577
|
const neq$1 = require_neq();
|
|
578
578
|
const gt$3 = require_gt();
|
|
@@ -601,11 +601,11 @@ var require_cmp = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modul
|
|
|
601
601
|
}
|
|
602
602
|
};
|
|
603
603
|
module.exports = cmp$2;
|
|
604
|
-
} });
|
|
604
|
+
}) });
|
|
605
605
|
|
|
606
606
|
//#endregion
|
|
607
607
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js
|
|
608
|
-
var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
608
|
+
var require_coerce = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/coerce.js": ((exports, module) => {
|
|
609
609
|
const SemVer$7 = require_semver$1();
|
|
610
610
|
const parse$1 = require_parse();
|
|
611
611
|
const { safeRe: re$2, t: t$2 } = require_re();
|
|
@@ -634,11 +634,11 @@ var require_coerce = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
634
634
|
return parse$1(`${major$2}.${minor$2}.${patch$2}${prerelease$2}${build}`, options);
|
|
635
635
|
};
|
|
636
636
|
module.exports = coerce$1;
|
|
637
|
-
} });
|
|
637
|
+
}) });
|
|
638
638
|
|
|
639
639
|
//#endregion
|
|
640
640
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js
|
|
641
|
-
var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
641
|
+
var require_lrucache = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/internal/lrucache.js": ((exports, module) => {
|
|
642
642
|
var LRUCache = class {
|
|
643
643
|
constructor() {
|
|
644
644
|
this.max = 1e3;
|
|
@@ -669,11 +669,11 @@ var require_lrucache = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
669
669
|
}
|
|
670
670
|
};
|
|
671
671
|
module.exports = LRUCache;
|
|
672
|
-
} });
|
|
672
|
+
}) });
|
|
673
673
|
|
|
674
674
|
//#endregion
|
|
675
675
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js
|
|
676
|
-
var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js"(exports, module) {
|
|
676
|
+
var require_range = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/range.js": ((exports, module) => {
|
|
677
677
|
const SPACE_CHARACTERS = /\s+/g;
|
|
678
678
|
var Range$11 = class Range$11 {
|
|
679
679
|
constructor(range, options) {
|
|
@@ -944,11 +944,11 @@ var require_range = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
944
944
|
}
|
|
945
945
|
return true;
|
|
946
946
|
};
|
|
947
|
-
} });
|
|
947
|
+
}) });
|
|
948
948
|
|
|
949
949
|
//#endregion
|
|
950
950
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js
|
|
951
|
-
var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
951
|
+
var require_comparator = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/classes/comparator.js": ((exports, module) => {
|
|
952
952
|
const ANY$2 = Symbol("SemVer ANY");
|
|
953
953
|
var Comparator$3 = class Comparator$3 {
|
|
954
954
|
static get ANY() {
|
|
@@ -1016,11 +1016,11 @@ var require_comparator = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
1016
1016
|
const debug = require_debug();
|
|
1017
1017
|
const SemVer$5 = require_semver$1();
|
|
1018
1018
|
const Range$10 = require_range();
|
|
1019
|
-
} });
|
|
1019
|
+
}) });
|
|
1020
1020
|
|
|
1021
1021
|
//#endregion
|
|
1022
1022
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js
|
|
1023
|
-
var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
1023
|
+
var require_satisfies = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/satisfies.js": ((exports, module) => {
|
|
1024
1024
|
const Range$9 = require_range();
|
|
1025
1025
|
const satisfies$4 = (version, range, options) => {
|
|
1026
1026
|
try {
|
|
@@ -1031,19 +1031,19 @@ var require_satisfies = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node
|
|
|
1031
1031
|
return range.test(version);
|
|
1032
1032
|
};
|
|
1033
1033
|
module.exports = satisfies$4;
|
|
1034
|
-
} });
|
|
1034
|
+
}) });
|
|
1035
1035
|
|
|
1036
1036
|
//#endregion
|
|
1037
1037
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js
|
|
1038
|
-
var require_to_comparators = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
1038
|
+
var require_to_comparators = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/to-comparators.js": ((exports, module) => {
|
|
1039
1039
|
const Range$8 = require_range();
|
|
1040
1040
|
const toComparators$1 = (range, options) => new Range$8(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
1041
1041
|
module.exports = toComparators$1;
|
|
1042
|
-
} });
|
|
1042
|
+
}) });
|
|
1043
1043
|
|
|
1044
1044
|
//#endregion
|
|
1045
1045
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js
|
|
1046
|
-
var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
1046
|
+
var require_max_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/max-satisfying.js": ((exports, module) => {
|
|
1047
1047
|
const SemVer$4 = require_semver$1();
|
|
1048
1048
|
const Range$7 = require_range();
|
|
1049
1049
|
const maxSatisfying$1 = (versions, range, options) => {
|
|
@@ -1066,11 +1066,11 @@ var require_max_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
1066
1066
|
return max;
|
|
1067
1067
|
};
|
|
1068
1068
|
module.exports = maxSatisfying$1;
|
|
1069
|
-
} });
|
|
1069
|
+
}) });
|
|
1070
1070
|
|
|
1071
1071
|
//#endregion
|
|
1072
1072
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js
|
|
1073
|
-
var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
1073
|
+
var require_min_satisfying = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-satisfying.js": ((exports, module) => {
|
|
1074
1074
|
const SemVer$3 = require_semver$1();
|
|
1075
1075
|
const Range$6 = require_range();
|
|
1076
1076
|
const minSatisfying$1 = (versions, range, options) => {
|
|
@@ -1093,11 +1093,11 @@ var require_min_satisfying = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2
|
|
|
1093
1093
|
return min;
|
|
1094
1094
|
};
|
|
1095
1095
|
module.exports = minSatisfying$1;
|
|
1096
|
-
} });
|
|
1096
|
+
}) });
|
|
1097
1097
|
|
|
1098
1098
|
//#endregion
|
|
1099
1099
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js
|
|
1100
|
-
var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
1100
|
+
var require_min_version = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/min-version.js": ((exports, module) => {
|
|
1101
1101
|
const SemVer$2 = require_semver$1();
|
|
1102
1102
|
const Range$5 = require_range();
|
|
1103
1103
|
const gt$2 = require_gt();
|
|
@@ -1133,11 +1133,11 @@ var require_min_version = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/no
|
|
|
1133
1133
|
return null;
|
|
1134
1134
|
};
|
|
1135
1135
|
module.exports = minVersion$1;
|
|
1136
|
-
} });
|
|
1136
|
+
}) });
|
|
1137
1137
|
|
|
1138
1138
|
//#endregion
|
|
1139
1139
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js
|
|
1140
|
-
var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
1140
|
+
var require_valid = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/valid.js": ((exports, module) => {
|
|
1141
1141
|
const Range$4 = require_range();
|
|
1142
1142
|
const validRange$1 = (range, options) => {
|
|
1143
1143
|
try {
|
|
@@ -1147,11 +1147,11 @@ var require_valid = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mod
|
|
|
1147
1147
|
}
|
|
1148
1148
|
};
|
|
1149
1149
|
module.exports = validRange$1;
|
|
1150
|
-
} });
|
|
1150
|
+
}) });
|
|
1151
1151
|
|
|
1152
1152
|
//#endregion
|
|
1153
1153
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js
|
|
1154
|
-
var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
1154
|
+
var require_outside = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/outside.js": ((exports, module) => {
|
|
1155
1155
|
const SemVer$1 = require_semver$1();
|
|
1156
1156
|
const Comparator$2 = require_comparator();
|
|
1157
1157
|
const { ANY: ANY$1 } = Comparator$2;
|
|
@@ -1201,27 +1201,27 @@ var require_outside = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_m
|
|
|
1201
1201
|
return true;
|
|
1202
1202
|
};
|
|
1203
1203
|
module.exports = outside$3;
|
|
1204
|
-
} });
|
|
1204
|
+
}) });
|
|
1205
1205
|
|
|
1206
1206
|
//#endregion
|
|
1207
1207
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js
|
|
1208
|
-
var require_gtr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
1208
|
+
var require_gtr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/gtr.js": ((exports, module) => {
|
|
1209
1209
|
const outside$2 = require_outside();
|
|
1210
1210
|
const gtr$1 = (version, range, options) => outside$2(version, range, ">", options);
|
|
1211
1211
|
module.exports = gtr$1;
|
|
1212
|
-
} });
|
|
1212
|
+
}) });
|
|
1213
1213
|
|
|
1214
1214
|
//#endregion
|
|
1215
1215
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js
|
|
1216
|
-
var require_ltr = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
1216
|
+
var require_ltr = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/ltr.js": ((exports, module) => {
|
|
1217
1217
|
const outside$1 = require_outside();
|
|
1218
1218
|
const ltr$1 = (version, range, options) => outside$1(version, range, "<", options);
|
|
1219
1219
|
module.exports = ltr$1;
|
|
1220
|
-
} });
|
|
1220
|
+
}) });
|
|
1221
1221
|
|
|
1222
1222
|
//#endregion
|
|
1223
1223
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js
|
|
1224
|
-
var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
1224
|
+
var require_intersects = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/intersects.js": ((exports, module) => {
|
|
1225
1225
|
const Range$2 = require_range();
|
|
1226
1226
|
const intersects$1 = (r1, r2, options) => {
|
|
1227
1227
|
r1 = new Range$2(r1, options);
|
|
@@ -1229,11 +1229,11 @@ var require_intersects = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/nod
|
|
|
1229
1229
|
return r1.intersects(r2, options);
|
|
1230
1230
|
};
|
|
1231
1231
|
module.exports = intersects$1;
|
|
1232
|
-
} });
|
|
1232
|
+
}) });
|
|
1233
1233
|
|
|
1234
1234
|
//#endregion
|
|
1235
1235
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js
|
|
1236
|
-
var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
1236
|
+
var require_simplify = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/simplify.js": ((exports, module) => {
|
|
1237
1237
|
const satisfies$2 = require_satisfies();
|
|
1238
1238
|
const compare$2 = require_compare();
|
|
1239
1239
|
module.exports = (versions, range, options) => {
|
|
@@ -1263,11 +1263,11 @@ var require_simplify = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_
|
|
|
1263
1263
|
const original = typeof range.raw === "string" ? range.raw : String(range);
|
|
1264
1264
|
return simplified.length < original.length ? simplified : range;
|
|
1265
1265
|
};
|
|
1266
|
-
} });
|
|
1266
|
+
}) });
|
|
1267
1267
|
|
|
1268
1268
|
//#endregion
|
|
1269
1269
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js
|
|
1270
|
-
var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
1270
|
+
var require_subset = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/ranges/subset.js": ((exports, module) => {
|
|
1271
1271
|
const Range$1 = require_range();
|
|
1272
1272
|
const Comparator$1 = require_comparator();
|
|
1273
1273
|
const { ANY } = Comparator$1;
|
|
@@ -1359,11 +1359,11 @@ var require_subset = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
1359
1359
|
return comp < 0 ? a : comp > 0 ? b : b.operator === "<" && a.operator === "<=" ? b : a;
|
|
1360
1360
|
};
|
|
1361
1361
|
module.exports = subset$1;
|
|
1362
|
-
} });
|
|
1362
|
+
}) });
|
|
1363
1363
|
|
|
1364
1364
|
//#endregion
|
|
1365
1365
|
//#region ../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js
|
|
1366
|
-
var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js"(exports, module) {
|
|
1366
|
+
var require_semver = /* @__PURE__ */ __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_modules/semver/index.js": ((exports, module) => {
|
|
1367
1367
|
const internalRe = require_re();
|
|
1368
1368
|
const constants = require_constants();
|
|
1369
1369
|
const SemVer = require_semver$1();
|
|
@@ -1452,11 +1452,11 @@ var require_semver = __commonJS({ "../../node_modules/.pnpm/semver@7.7.2/node_mo
|
|
|
1452
1452
|
compareIdentifiers: identifiers.compareIdentifiers,
|
|
1453
1453
|
rcompareIdentifiers: identifiers.rcompareIdentifiers
|
|
1454
1454
|
};
|
|
1455
|
-
} });
|
|
1455
|
+
}) });
|
|
1456
1456
|
|
|
1457
1457
|
//#endregion
|
|
1458
1458
|
//#region src/semverSatisfies.ts
|
|
1459
|
-
var import_semver = __toESM(require_semver());
|
|
1459
|
+
var import_semver = /* @__PURE__ */ __toESM(require_semver(), 1);
|
|
1460
1460
|
const semverSatisfies = (targetAppVersion, currentVersion) => {
|
|
1461
1461
|
const currentCoerce = import_semver.default.coerce(currentVersion);
|
|
1462
1462
|
if (!currentCoerce) return false;
|
|
@@ -1714,7 +1714,7 @@ var JWSSignatureVerificationFailed = class extends JOSEError {
|
|
|
1714
1714
|
//#endregion
|
|
1715
1715
|
//#region ../../node_modules/.pnpm/jose@6.0.10/node_modules/jose/dist/webapi/lib/crypto_key.js
|
|
1716
1716
|
function unusable(name, prop = "algorithm.name") {
|
|
1717
|
-
return new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
1717
|
+
return /* @__PURE__ */ new TypeError(`CryptoKey does not support this operation, its ${prop} must be ${name}`);
|
|
1718
1718
|
}
|
|
1719
1719
|
function isAlgorithm(algorithm, name) {
|
|
1720
1720
|
return algorithm.name === name;
|
|
@@ -1763,10 +1763,9 @@ function checkSigCryptoKey(key, alg, usage) {
|
|
|
1763
1763
|
break;
|
|
1764
1764
|
}
|
|
1765
1765
|
case "Ed25519":
|
|
1766
|
-
case "EdDSA":
|
|
1766
|
+
case "EdDSA":
|
|
1767
1767
|
if (!isAlgorithm(key.algorithm, "Ed25519")) throw unusable("Ed25519");
|
|
1768
1768
|
break;
|
|
1769
|
-
}
|
|
1770
1769
|
case "ES256":
|
|
1771
1770
|
case "ES384":
|
|
1772
1771
|
case "ES512": {
|
|
@@ -1864,7 +1863,7 @@ function subtleMapping(jwk) {
|
|
|
1864
1863
|
let algorithm;
|
|
1865
1864
|
let keyUsages;
|
|
1866
1865
|
switch (jwk.kty) {
|
|
1867
|
-
case "RSA":
|
|
1866
|
+
case "RSA":
|
|
1868
1867
|
switch (jwk.alg) {
|
|
1869
1868
|
case "PS256":
|
|
1870
1869
|
case "PS384":
|
|
@@ -1897,8 +1896,7 @@ function subtleMapping(jwk) {
|
|
|
1897
1896
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1898
1897
|
}
|
|
1899
1898
|
break;
|
|
1900
|
-
|
|
1901
|
-
case "EC": {
|
|
1899
|
+
case "EC":
|
|
1902
1900
|
switch (jwk.alg) {
|
|
1903
1901
|
case "ES256":
|
|
1904
1902
|
algorithm = {
|
|
@@ -1934,8 +1932,7 @@ function subtleMapping(jwk) {
|
|
|
1934
1932
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1935
1933
|
}
|
|
1936
1934
|
break;
|
|
1937
|
-
|
|
1938
|
-
case "OKP": {
|
|
1935
|
+
case "OKP":
|
|
1939
1936
|
switch (jwk.alg) {
|
|
1940
1937
|
case "Ed25519":
|
|
1941
1938
|
case "EdDSA":
|
|
@@ -1952,7 +1949,6 @@ function subtleMapping(jwk) {
|
|
|
1952
1949
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"alg\" (Algorithm) Parameter value");
|
|
1953
1950
|
}
|
|
1954
1951
|
break;
|
|
1955
|
-
}
|
|
1956
1952
|
default: throw new JOSENotSupported("Invalid or unsupported JWK \"kty\" (Key Type) Parameter value");
|
|
1957
1953
|
}
|
|
1958
1954
|
return {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/js",
|
|
3
|
-
"version": "0.20.0
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@hot-updater/core": "0.20.0
|
|
41
|
+
"@hot-updater/core": "0.20.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^20.9.4",
|