pnpm 11.5.3 → 11.7.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/node_modules/node-gyp/.release-please-manifest.json +1 -1
- package/dist/node_modules/node-gyp/gyp/.release-please-manifest.json +1 -1
- package/dist/node_modules/node-gyp/gyp/pyproject.toml +4 -4
- package/dist/node_modules/node-gyp/lib/download.js +3 -3
- package/dist/node_modules/node-gyp/package.json +1 -1
- package/dist/node_modules/semver/classes/range.js +11 -2
- package/dist/node_modules/semver/classes/semver.js +19 -2
- package/dist/node_modules/semver/package.json +2 -2
- package/dist/node_modules/tar/dist/commonjs/header.js +51 -16
- package/dist/node_modules/tar/dist/commonjs/index.min.js +3 -3
- package/dist/node_modules/tar/dist/commonjs/pack.js +4 -5
- package/dist/node_modules/tar/dist/commonjs/types.js +21 -1
- package/dist/node_modules/tar/dist/esm/header.js +51 -16
- package/dist/node_modules/tar/dist/esm/index.min.js +3 -3
- package/dist/node_modules/tar/dist/esm/pack.js +4 -5
- package/dist/node_modules/tar/dist/esm/types.js +20 -0
- package/dist/node_modules/tar/package.json +11 -10
- package/dist/pnpm.mjs +20910 -19771
- package/dist/worker.js +408 -925
- package/package.json +2 -1
package/dist/worker.js
CHANGED
|
@@ -12,7 +12,11 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
|
|
|
12
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
13
13
|
});
|
|
14
14
|
var __commonJS = (cb, mod) => function __require2() {
|
|
15
|
-
|
|
15
|
+
try {
|
|
16
|
+
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
17
|
+
} catch (e) {
|
|
18
|
+
throw mod = 0, e;
|
|
19
|
+
}
|
|
16
20
|
};
|
|
17
21
|
var __copyProps = (to, from, except, desc) => {
|
|
18
22
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
@@ -2807,6 +2811,105 @@ var require_is_windows = __commonJS({
|
|
|
2807
2811
|
}
|
|
2808
2812
|
});
|
|
2809
2813
|
|
|
2814
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/validate-npm-package-name/7.0.2/814dcb947be9900c7df1d25263921c519f02120f3fc85aa99a69894e271e5507/node_modules/validate-npm-package-name/lib/builtin-modules.json
|
|
2815
|
+
var require_builtin_modules = __commonJS({
|
|
2816
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/validate-npm-package-name/7.0.2/814dcb947be9900c7df1d25263921c519f02120f3fc85aa99a69894e271e5507/node_modules/validate-npm-package-name/lib/builtin-modules.json"(exports, module) {
|
|
2817
|
+
module.exports = ["_http_agent", "_http_client", "_http_common", "_http_incoming", "_http_outgoing", "_http_server", "_stream_duplex", "_stream_passthrough", "_stream_readable", "_stream_transform", "_stream_wrap", "_stream_writable", "_tls_common", "_tls_wrap", "assert", "assert/strict", "async_hooks", "buffer", "child_process", "cluster", "console", "constants", "crypto", "dgram", "diagnostics_channel", "dns", "dns/promises", "domain", "events", "fs", "fs/promises", "http", "http2", "https", "inspector", "inspector/promises", "module", "net", "os", "path", "path/posix", "path/win32", "perf_hooks", "process", "punycode", "querystring", "readline", "readline/promises", "repl", "stream", "stream/consumers", "stream/promises", "stream/web", "string_decoder", "sys", "timers", "timers/promises", "tls", "trace_events", "tty", "url", "util", "util/types", "v8", "vm", "wasi", "worker_threads", "zlib", "node:sea", "node:sqlite", "node:test", "node:test/reporters"];
|
|
2818
|
+
}
|
|
2819
|
+
});
|
|
2820
|
+
|
|
2821
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/validate-npm-package-name/7.0.2/814dcb947be9900c7df1d25263921c519f02120f3fc85aa99a69894e271e5507/node_modules/validate-npm-package-name/lib/index.js
|
|
2822
|
+
var require_lib2 = __commonJS({
|
|
2823
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/validate-npm-package-name/7.0.2/814dcb947be9900c7df1d25263921c519f02120f3fc85aa99a69894e271e5507/node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
|
|
2824
|
+
"use strict";
|
|
2825
|
+
var builtins = require_builtin_modules();
|
|
2826
|
+
var scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$");
|
|
2827
|
+
var exclusionList = [
|
|
2828
|
+
"node_modules",
|
|
2829
|
+
"favicon.ico"
|
|
2830
|
+
];
|
|
2831
|
+
function validate(name) {
|
|
2832
|
+
var warnings = [];
|
|
2833
|
+
var errors2 = [];
|
|
2834
|
+
if (name === null) {
|
|
2835
|
+
errors2.push("name cannot be null");
|
|
2836
|
+
return done(warnings, errors2);
|
|
2837
|
+
}
|
|
2838
|
+
if (name === void 0) {
|
|
2839
|
+
errors2.push("name cannot be undefined");
|
|
2840
|
+
return done(warnings, errors2);
|
|
2841
|
+
}
|
|
2842
|
+
if (typeof name !== "string") {
|
|
2843
|
+
errors2.push("name must be a string");
|
|
2844
|
+
return done(warnings, errors2);
|
|
2845
|
+
}
|
|
2846
|
+
if (!name.length) {
|
|
2847
|
+
errors2.push("name length must be greater than zero");
|
|
2848
|
+
}
|
|
2849
|
+
if (name.startsWith(".")) {
|
|
2850
|
+
errors2.push("name cannot start with a period");
|
|
2851
|
+
}
|
|
2852
|
+
if (name.startsWith("-")) {
|
|
2853
|
+
errors2.push("name cannot start with a hyphen");
|
|
2854
|
+
}
|
|
2855
|
+
if (name.match(/^_/)) {
|
|
2856
|
+
errors2.push("name cannot start with an underscore");
|
|
2857
|
+
}
|
|
2858
|
+
if (name.trim() !== name) {
|
|
2859
|
+
errors2.push("name cannot contain leading or trailing spaces");
|
|
2860
|
+
}
|
|
2861
|
+
exclusionList.forEach(function(excludedName) {
|
|
2862
|
+
if (name.toLowerCase() === excludedName) {
|
|
2863
|
+
errors2.push(excludedName + " is not a valid package name");
|
|
2864
|
+
}
|
|
2865
|
+
});
|
|
2866
|
+
if (builtins.includes(name.toLowerCase())) {
|
|
2867
|
+
warnings.push(name + " is a core module name");
|
|
2868
|
+
}
|
|
2869
|
+
if (name.length > 214) {
|
|
2870
|
+
warnings.push("name can no longer contain more than 214 characters");
|
|
2871
|
+
}
|
|
2872
|
+
if (name.toLowerCase() !== name) {
|
|
2873
|
+
warnings.push("name can no longer contain capital letters");
|
|
2874
|
+
}
|
|
2875
|
+
if (/[~'!()*]/.test(name.split("/").slice(-1)[0])) {
|
|
2876
|
+
warnings.push(`name can no longer contain special characters ("~'!()*")`);
|
|
2877
|
+
}
|
|
2878
|
+
if (encodeURIComponent(name) !== name) {
|
|
2879
|
+
var nameMatch = name.match(scopedPackagePattern);
|
|
2880
|
+
if (nameMatch) {
|
|
2881
|
+
var user = nameMatch[1];
|
|
2882
|
+
var pkg = nameMatch[2];
|
|
2883
|
+
if (pkg.startsWith(".")) {
|
|
2884
|
+
errors2.push("name cannot start with a period");
|
|
2885
|
+
}
|
|
2886
|
+
if (encodeURIComponent(user) === user && encodeURIComponent(pkg) === pkg) {
|
|
2887
|
+
return done(warnings, errors2);
|
|
2888
|
+
}
|
|
2889
|
+
}
|
|
2890
|
+
errors2.push("name can only contain URL-friendly characters");
|
|
2891
|
+
}
|
|
2892
|
+
return done(warnings, errors2);
|
|
2893
|
+
}
|
|
2894
|
+
var done = function(warnings, errors2) {
|
|
2895
|
+
var result = {
|
|
2896
|
+
validForNewPackages: errors2.length === 0 && warnings.length === 0,
|
|
2897
|
+
validForOldPackages: errors2.length === 0,
|
|
2898
|
+
warnings,
|
|
2899
|
+
errors: errors2
|
|
2900
|
+
};
|
|
2901
|
+
if (!result.warnings.length) {
|
|
2902
|
+
delete result.warnings;
|
|
2903
|
+
}
|
|
2904
|
+
if (!result.errors.length) {
|
|
2905
|
+
delete result.errors;
|
|
2906
|
+
}
|
|
2907
|
+
return result;
|
|
2908
|
+
};
|
|
2909
|
+
module.exports = validate;
|
|
2910
|
+
}
|
|
2911
|
+
});
|
|
2912
|
+
|
|
2810
2913
|
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-gzip/2.0.0/82a8e17050fa38e95e62aa7580ddf517da43682e2ea1a94728382ef43c644d04/node_modules/is-gzip/index.js
|
|
2811
2914
|
var require_is_gzip = __commonJS({
|
|
2812
2915
|
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/is-gzip/2.0.0/82a8e17050fa38e95e62aa7580ddf517da43682e2ea1a94728382ef43c644d04/node_modules/is-gzip/index.js"(exports, module) {
|
|
@@ -2820,9 +2923,9 @@ var require_is_gzip = __commonJS({
|
|
|
2820
2923
|
}
|
|
2821
2924
|
});
|
|
2822
2925
|
|
|
2823
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2926
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/constants.js
|
|
2824
2927
|
var require_constants = __commonJS({
|
|
2825
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2928
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/constants.js"(exports, module) {
|
|
2826
2929
|
"use strict";
|
|
2827
2930
|
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
2828
2931
|
var MAX_LENGTH = 256;
|
|
@@ -2852,9 +2955,9 @@ var require_constants = __commonJS({
|
|
|
2852
2955
|
}
|
|
2853
2956
|
});
|
|
2854
2957
|
|
|
2855
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2958
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/debug.js
|
|
2856
2959
|
var require_debug = __commonJS({
|
|
2857
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2960
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/debug.js"(exports, module) {
|
|
2858
2961
|
"use strict";
|
|
2859
2962
|
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {
|
|
2860
2963
|
};
|
|
@@ -2862,9 +2965,9 @@ var require_debug = __commonJS({
|
|
|
2862
2965
|
}
|
|
2863
2966
|
});
|
|
2864
2967
|
|
|
2865
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2968
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/re.js
|
|
2866
2969
|
var require_re = __commonJS({
|
|
2867
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
2970
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/re.js"(exports, module) {
|
|
2868
2971
|
"use strict";
|
|
2869
2972
|
var {
|
|
2870
2973
|
MAX_SAFE_COMPONENT_LENGTH,
|
|
@@ -2950,9 +3053,9 @@ var require_re = __commonJS({
|
|
|
2950
3053
|
}
|
|
2951
3054
|
});
|
|
2952
3055
|
|
|
2953
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3056
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/parse-options.js
|
|
2954
3057
|
var require_parse_options = __commonJS({
|
|
2955
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3058
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/parse-options.js"(exports, module) {
|
|
2956
3059
|
"use strict";
|
|
2957
3060
|
var looseOption = Object.freeze({ loose: true });
|
|
2958
3061
|
var emptyOpts = Object.freeze({});
|
|
@@ -2969,9 +3072,9 @@ var require_parse_options = __commonJS({
|
|
|
2969
3072
|
}
|
|
2970
3073
|
});
|
|
2971
3074
|
|
|
2972
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3075
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/identifiers.js
|
|
2973
3076
|
var require_identifiers = __commonJS({
|
|
2974
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3077
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/identifiers.js"(exports, module) {
|
|
2975
3078
|
"use strict";
|
|
2976
3079
|
var numeric = /^[0-9]+$/;
|
|
2977
3080
|
var compareIdentifiers = (a, b) => {
|
|
@@ -2994,15 +3097,27 @@ var require_identifiers = __commonJS({
|
|
|
2994
3097
|
}
|
|
2995
3098
|
});
|
|
2996
3099
|
|
|
2997
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3100
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/semver.js
|
|
2998
3101
|
var require_semver = __commonJS({
|
|
2999
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3102
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/semver.js"(exports, module) {
|
|
3000
3103
|
"use strict";
|
|
3001
3104
|
var debug = require_debug();
|
|
3002
3105
|
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
3003
3106
|
var { safeRe: re, t } = require_re();
|
|
3004
3107
|
var parseOptions = require_parse_options();
|
|
3005
3108
|
var { compareIdentifiers } = require_identifiers();
|
|
3109
|
+
var isPrereleaseIdentifier = (prerelease, identifier) => {
|
|
3110
|
+
const identifiers = identifier.split(".");
|
|
3111
|
+
if (identifiers.length > prerelease.length) {
|
|
3112
|
+
return false;
|
|
3113
|
+
}
|
|
3114
|
+
for (let i = 0; i < identifiers.length; i++) {
|
|
3115
|
+
if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) {
|
|
3116
|
+
return false;
|
|
3117
|
+
}
|
|
3118
|
+
}
|
|
3119
|
+
return true;
|
|
3120
|
+
};
|
|
3006
3121
|
var SemVer = class _SemVer {
|
|
3007
3122
|
constructor(version, options) {
|
|
3008
3123
|
options = parseOptions(options);
|
|
@@ -3249,8 +3364,9 @@ var require_semver = __commonJS({
|
|
|
3249
3364
|
if (identifierBase === false) {
|
|
3250
3365
|
prerelease = [identifier];
|
|
3251
3366
|
}
|
|
3252
|
-
if (
|
|
3253
|
-
|
|
3367
|
+
if (isPrereleaseIdentifier(this.prerelease, identifier)) {
|
|
3368
|
+
const prereleaseBase = this.prerelease[identifier.split(".").length];
|
|
3369
|
+
if (isNaN(prereleaseBase)) {
|
|
3254
3370
|
this.prerelease = prerelease;
|
|
3255
3371
|
}
|
|
3256
3372
|
} else {
|
|
@@ -3273,9 +3389,9 @@ var require_semver = __commonJS({
|
|
|
3273
3389
|
}
|
|
3274
3390
|
});
|
|
3275
3391
|
|
|
3276
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3392
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/parse.js
|
|
3277
3393
|
var require_parse = __commonJS({
|
|
3278
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3394
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/parse.js"(exports, module) {
|
|
3279
3395
|
"use strict";
|
|
3280
3396
|
var SemVer = require_semver();
|
|
3281
3397
|
var parse2 = (version, options, throwErrors = false) => {
|
|
@@ -3295,9 +3411,9 @@ var require_parse = __commonJS({
|
|
|
3295
3411
|
}
|
|
3296
3412
|
});
|
|
3297
3413
|
|
|
3298
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3414
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/valid.js
|
|
3299
3415
|
var require_valid = __commonJS({
|
|
3300
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3416
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/valid.js"(exports, module) {
|
|
3301
3417
|
"use strict";
|
|
3302
3418
|
var parse2 = require_parse();
|
|
3303
3419
|
var valid = (version, options) => {
|
|
@@ -3308,9 +3424,9 @@ var require_valid = __commonJS({
|
|
|
3308
3424
|
}
|
|
3309
3425
|
});
|
|
3310
3426
|
|
|
3311
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3427
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/clean.js
|
|
3312
3428
|
var require_clean = __commonJS({
|
|
3313
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3429
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/clean.js"(exports, module) {
|
|
3314
3430
|
"use strict";
|
|
3315
3431
|
var parse2 = require_parse();
|
|
3316
3432
|
var clean = (version, options) => {
|
|
@@ -3321,9 +3437,9 @@ var require_clean = __commonJS({
|
|
|
3321
3437
|
}
|
|
3322
3438
|
});
|
|
3323
3439
|
|
|
3324
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3440
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/inc.js
|
|
3325
3441
|
var require_inc = __commonJS({
|
|
3326
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3442
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/inc.js"(exports, module) {
|
|
3327
3443
|
"use strict";
|
|
3328
3444
|
var SemVer = require_semver();
|
|
3329
3445
|
var inc = (version, release, options, identifier, identifierBase) => {
|
|
@@ -3345,9 +3461,9 @@ var require_inc = __commonJS({
|
|
|
3345
3461
|
}
|
|
3346
3462
|
});
|
|
3347
3463
|
|
|
3348
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3464
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/diff.js
|
|
3349
3465
|
var require_diff = __commonJS({
|
|
3350
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3466
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/diff.js"(exports, module) {
|
|
3351
3467
|
"use strict";
|
|
3352
3468
|
var parse2 = require_parse();
|
|
3353
3469
|
var diff = (version1, version2) => {
|
|
@@ -3389,9 +3505,9 @@ var require_diff = __commonJS({
|
|
|
3389
3505
|
}
|
|
3390
3506
|
});
|
|
3391
3507
|
|
|
3392
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3508
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/major.js
|
|
3393
3509
|
var require_major = __commonJS({
|
|
3394
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3510
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/major.js"(exports, module) {
|
|
3395
3511
|
"use strict";
|
|
3396
3512
|
var SemVer = require_semver();
|
|
3397
3513
|
var major = (a, loose) => new SemVer(a, loose).major;
|
|
@@ -3399,9 +3515,9 @@ var require_major = __commonJS({
|
|
|
3399
3515
|
}
|
|
3400
3516
|
});
|
|
3401
3517
|
|
|
3402
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3518
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/minor.js
|
|
3403
3519
|
var require_minor = __commonJS({
|
|
3404
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3520
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/minor.js"(exports, module) {
|
|
3405
3521
|
"use strict";
|
|
3406
3522
|
var SemVer = require_semver();
|
|
3407
3523
|
var minor = (a, loose) => new SemVer(a, loose).minor;
|
|
@@ -3409,9 +3525,9 @@ var require_minor = __commonJS({
|
|
|
3409
3525
|
}
|
|
3410
3526
|
});
|
|
3411
3527
|
|
|
3412
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3528
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/patch.js
|
|
3413
3529
|
var require_patch = __commonJS({
|
|
3414
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3530
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/patch.js"(exports, module) {
|
|
3415
3531
|
"use strict";
|
|
3416
3532
|
var SemVer = require_semver();
|
|
3417
3533
|
var patch = (a, loose) => new SemVer(a, loose).patch;
|
|
@@ -3419,9 +3535,9 @@ var require_patch = __commonJS({
|
|
|
3419
3535
|
}
|
|
3420
3536
|
});
|
|
3421
3537
|
|
|
3422
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3538
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/prerelease.js
|
|
3423
3539
|
var require_prerelease = __commonJS({
|
|
3424
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3540
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/prerelease.js"(exports, module) {
|
|
3425
3541
|
"use strict";
|
|
3426
3542
|
var parse2 = require_parse();
|
|
3427
3543
|
var prerelease = (version, options) => {
|
|
@@ -3432,9 +3548,9 @@ var require_prerelease = __commonJS({
|
|
|
3432
3548
|
}
|
|
3433
3549
|
});
|
|
3434
3550
|
|
|
3435
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3551
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare.js
|
|
3436
3552
|
var require_compare = __commonJS({
|
|
3437
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3553
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare.js"(exports, module) {
|
|
3438
3554
|
"use strict";
|
|
3439
3555
|
var SemVer = require_semver();
|
|
3440
3556
|
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
@@ -3442,9 +3558,9 @@ var require_compare = __commonJS({
|
|
|
3442
3558
|
}
|
|
3443
3559
|
});
|
|
3444
3560
|
|
|
3445
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3561
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/rcompare.js
|
|
3446
3562
|
var require_rcompare = __commonJS({
|
|
3447
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3563
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/rcompare.js"(exports, module) {
|
|
3448
3564
|
"use strict";
|
|
3449
3565
|
var compare = require_compare();
|
|
3450
3566
|
var rcompare = (a, b, loose) => compare(b, a, loose);
|
|
@@ -3452,9 +3568,9 @@ var require_rcompare = __commonJS({
|
|
|
3452
3568
|
}
|
|
3453
3569
|
});
|
|
3454
3570
|
|
|
3455
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3571
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare-loose.js
|
|
3456
3572
|
var require_compare_loose = __commonJS({
|
|
3457
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3573
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare-loose.js"(exports, module) {
|
|
3458
3574
|
"use strict";
|
|
3459
3575
|
var compare = require_compare();
|
|
3460
3576
|
var compareLoose = (a, b) => compare(a, b, true);
|
|
@@ -3462,9 +3578,9 @@ var require_compare_loose = __commonJS({
|
|
|
3462
3578
|
}
|
|
3463
3579
|
});
|
|
3464
3580
|
|
|
3465
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3581
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare-build.js
|
|
3466
3582
|
var require_compare_build = __commonJS({
|
|
3467
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3583
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/compare-build.js"(exports, module) {
|
|
3468
3584
|
"use strict";
|
|
3469
3585
|
var SemVer = require_semver();
|
|
3470
3586
|
var compareBuild = (a, b, loose) => {
|
|
@@ -3476,9 +3592,9 @@ var require_compare_build = __commonJS({
|
|
|
3476
3592
|
}
|
|
3477
3593
|
});
|
|
3478
3594
|
|
|
3479
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3595
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/sort.js
|
|
3480
3596
|
var require_sort = __commonJS({
|
|
3481
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3597
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/sort.js"(exports, module) {
|
|
3482
3598
|
"use strict";
|
|
3483
3599
|
var compareBuild = require_compare_build();
|
|
3484
3600
|
var sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose));
|
|
@@ -3486,9 +3602,9 @@ var require_sort = __commonJS({
|
|
|
3486
3602
|
}
|
|
3487
3603
|
});
|
|
3488
3604
|
|
|
3489
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3605
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/rsort.js
|
|
3490
3606
|
var require_rsort = __commonJS({
|
|
3491
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3607
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/rsort.js"(exports, module) {
|
|
3492
3608
|
"use strict";
|
|
3493
3609
|
var compareBuild = require_compare_build();
|
|
3494
3610
|
var rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose));
|
|
@@ -3496,9 +3612,9 @@ var require_rsort = __commonJS({
|
|
|
3496
3612
|
}
|
|
3497
3613
|
});
|
|
3498
3614
|
|
|
3499
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3615
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/gt.js
|
|
3500
3616
|
var require_gt = __commonJS({
|
|
3501
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3617
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/gt.js"(exports, module) {
|
|
3502
3618
|
"use strict";
|
|
3503
3619
|
var compare = require_compare();
|
|
3504
3620
|
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
@@ -3506,9 +3622,9 @@ var require_gt = __commonJS({
|
|
|
3506
3622
|
}
|
|
3507
3623
|
});
|
|
3508
3624
|
|
|
3509
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3625
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/lt.js
|
|
3510
3626
|
var require_lt = __commonJS({
|
|
3511
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3627
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/lt.js"(exports, module) {
|
|
3512
3628
|
"use strict";
|
|
3513
3629
|
var compare = require_compare();
|
|
3514
3630
|
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
@@ -3516,9 +3632,9 @@ var require_lt = __commonJS({
|
|
|
3516
3632
|
}
|
|
3517
3633
|
});
|
|
3518
3634
|
|
|
3519
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3635
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/eq.js
|
|
3520
3636
|
var require_eq = __commonJS({
|
|
3521
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3637
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/eq.js"(exports, module) {
|
|
3522
3638
|
"use strict";
|
|
3523
3639
|
var compare = require_compare();
|
|
3524
3640
|
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
@@ -3526,9 +3642,9 @@ var require_eq = __commonJS({
|
|
|
3526
3642
|
}
|
|
3527
3643
|
});
|
|
3528
3644
|
|
|
3529
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3645
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/neq.js
|
|
3530
3646
|
var require_neq = __commonJS({
|
|
3531
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3647
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/neq.js"(exports, module) {
|
|
3532
3648
|
"use strict";
|
|
3533
3649
|
var compare = require_compare();
|
|
3534
3650
|
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
@@ -3536,9 +3652,9 @@ var require_neq = __commonJS({
|
|
|
3536
3652
|
}
|
|
3537
3653
|
});
|
|
3538
3654
|
|
|
3539
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3655
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/gte.js
|
|
3540
3656
|
var require_gte = __commonJS({
|
|
3541
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3657
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/gte.js"(exports, module) {
|
|
3542
3658
|
"use strict";
|
|
3543
3659
|
var compare = require_compare();
|
|
3544
3660
|
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
@@ -3546,9 +3662,9 @@ var require_gte = __commonJS({
|
|
|
3546
3662
|
}
|
|
3547
3663
|
});
|
|
3548
3664
|
|
|
3549
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3665
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/lte.js
|
|
3550
3666
|
var require_lte = __commonJS({
|
|
3551
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3667
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/lte.js"(exports, module) {
|
|
3552
3668
|
"use strict";
|
|
3553
3669
|
var compare = require_compare();
|
|
3554
3670
|
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
@@ -3556,9 +3672,9 @@ var require_lte = __commonJS({
|
|
|
3556
3672
|
}
|
|
3557
3673
|
});
|
|
3558
3674
|
|
|
3559
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3675
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/cmp.js
|
|
3560
3676
|
var require_cmp = __commonJS({
|
|
3561
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3677
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/cmp.js"(exports, module) {
|
|
3562
3678
|
"use strict";
|
|
3563
3679
|
var eq = require_eq();
|
|
3564
3680
|
var neq = require_neq();
|
|
@@ -3606,9 +3722,9 @@ var require_cmp = __commonJS({
|
|
|
3606
3722
|
}
|
|
3607
3723
|
});
|
|
3608
3724
|
|
|
3609
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3725
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/coerce.js
|
|
3610
3726
|
var require_coerce = __commonJS({
|
|
3611
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3727
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/coerce.js"(exports, module) {
|
|
3612
3728
|
"use strict";
|
|
3613
3729
|
var SemVer = require_semver();
|
|
3614
3730
|
var parse2 = require_parse();
|
|
@@ -3652,9 +3768,9 @@ var require_coerce = __commonJS({
|
|
|
3652
3768
|
}
|
|
3653
3769
|
});
|
|
3654
3770
|
|
|
3655
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3771
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/truncate.js
|
|
3656
3772
|
var require_truncate = __commonJS({
|
|
3657
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3773
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/truncate.js"(exports, module) {
|
|
3658
3774
|
"use strict";
|
|
3659
3775
|
var parse2 = require_parse();
|
|
3660
3776
|
var constants2 = require_constants();
|
|
@@ -3693,9 +3809,9 @@ var require_truncate = __commonJS({
|
|
|
3693
3809
|
}
|
|
3694
3810
|
});
|
|
3695
3811
|
|
|
3696
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3812
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/lrucache.js
|
|
3697
3813
|
var require_lrucache = __commonJS({
|
|
3698
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3814
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/internal/lrucache.js"(exports, module) {
|
|
3699
3815
|
"use strict";
|
|
3700
3816
|
var LRUCache = class {
|
|
3701
3817
|
constructor() {
|
|
@@ -3731,9 +3847,9 @@ var require_lrucache = __commonJS({
|
|
|
3731
3847
|
}
|
|
3732
3848
|
});
|
|
3733
3849
|
|
|
3734
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3850
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/range.js
|
|
3735
3851
|
var require_range = __commonJS({
|
|
3736
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
3852
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/range.js"(exports, module) {
|
|
3737
3853
|
"use strict";
|
|
3738
3854
|
var SPACE_CHARACTERS = /\s+/g;
|
|
3739
3855
|
var Range = class _Range {
|
|
@@ -3920,6 +4036,7 @@ var require_range = __commonJS({
|
|
|
3920
4036
|
return comp;
|
|
3921
4037
|
};
|
|
3922
4038
|
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
4039
|
+
var invalidXRangeOrder = (M, m, p) => isX(M) && !isX(m) || isX(m) && p && !isX(p);
|
|
3923
4040
|
var replaceTildes = (comp, options) => {
|
|
3924
4041
|
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
3925
4042
|
};
|
|
@@ -3979,9 +4096,9 @@ var require_range = __commonJS({
|
|
|
3979
4096
|
debug("no pr");
|
|
3980
4097
|
if (M === "0") {
|
|
3981
4098
|
if (m === "0") {
|
|
3982
|
-
ret = `>=${M}.${m}.${p}
|
|
4099
|
+
ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
|
|
3983
4100
|
} else {
|
|
3984
|
-
ret = `>=${M}.${m}.${p}
|
|
4101
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
3985
4102
|
}
|
|
3986
4103
|
} else {
|
|
3987
4104
|
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
@@ -4000,6 +4117,9 @@ var require_range = __commonJS({
|
|
|
4000
4117
|
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
4001
4118
|
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
4002
4119
|
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
4120
|
+
if (invalidXRangeOrder(M, m, p)) {
|
|
4121
|
+
return comp;
|
|
4122
|
+
}
|
|
4003
4123
|
const xM = isX(M);
|
|
4004
4124
|
const xm = xM || isX(m);
|
|
4005
4125
|
const xp = xm || isX(p);
|
|
@@ -4111,9 +4231,9 @@ var require_range = __commonJS({
|
|
|
4111
4231
|
}
|
|
4112
4232
|
});
|
|
4113
4233
|
|
|
4114
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4234
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/comparator.js
|
|
4115
4235
|
var require_comparator = __commonJS({
|
|
4116
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4236
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/classes/comparator.js"(exports, module) {
|
|
4117
4237
|
"use strict";
|
|
4118
4238
|
var ANY = /* @__PURE__ */ Symbol("SemVer ANY");
|
|
4119
4239
|
var Comparator = class _Comparator {
|
|
@@ -4224,9 +4344,9 @@ var require_comparator = __commonJS({
|
|
|
4224
4344
|
}
|
|
4225
4345
|
});
|
|
4226
4346
|
|
|
4227
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4347
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/satisfies.js
|
|
4228
4348
|
var require_satisfies = __commonJS({
|
|
4229
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4349
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/functions/satisfies.js"(exports, module) {
|
|
4230
4350
|
"use strict";
|
|
4231
4351
|
var Range = require_range();
|
|
4232
4352
|
var satisfies = (version, range, options) => {
|
|
@@ -4241,9 +4361,9 @@ var require_satisfies = __commonJS({
|
|
|
4241
4361
|
}
|
|
4242
4362
|
});
|
|
4243
4363
|
|
|
4244
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4364
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/to-comparators.js
|
|
4245
4365
|
var require_to_comparators = __commonJS({
|
|
4246
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4366
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/to-comparators.js"(exports, module) {
|
|
4247
4367
|
"use strict";
|
|
4248
4368
|
var Range = require_range();
|
|
4249
4369
|
var toComparators = (range, options) => new Range(range, options).set.map((comp) => comp.map((c) => c.value).join(" ").trim().split(" "));
|
|
@@ -4251,9 +4371,9 @@ var require_to_comparators = __commonJS({
|
|
|
4251
4371
|
}
|
|
4252
4372
|
});
|
|
4253
4373
|
|
|
4254
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4374
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/max-satisfying.js
|
|
4255
4375
|
var require_max_satisfying = __commonJS({
|
|
4256
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4376
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/max-satisfying.js"(exports, module) {
|
|
4257
4377
|
"use strict";
|
|
4258
4378
|
var SemVer = require_semver();
|
|
4259
4379
|
var Range = require_range();
|
|
@@ -4280,9 +4400,9 @@ var require_max_satisfying = __commonJS({
|
|
|
4280
4400
|
}
|
|
4281
4401
|
});
|
|
4282
4402
|
|
|
4283
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4403
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/min-satisfying.js
|
|
4284
4404
|
var require_min_satisfying = __commonJS({
|
|
4285
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4405
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/min-satisfying.js"(exports, module) {
|
|
4286
4406
|
"use strict";
|
|
4287
4407
|
var SemVer = require_semver();
|
|
4288
4408
|
var Range = require_range();
|
|
@@ -4309,9 +4429,9 @@ var require_min_satisfying = __commonJS({
|
|
|
4309
4429
|
}
|
|
4310
4430
|
});
|
|
4311
4431
|
|
|
4312
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4432
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/min-version.js
|
|
4313
4433
|
var require_min_version = __commonJS({
|
|
4314
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4434
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/min-version.js"(exports, module) {
|
|
4315
4435
|
"use strict";
|
|
4316
4436
|
var SemVer = require_semver();
|
|
4317
4437
|
var Range = require_range();
|
|
@@ -4368,9 +4488,9 @@ var require_min_version = __commonJS({
|
|
|
4368
4488
|
}
|
|
4369
4489
|
});
|
|
4370
4490
|
|
|
4371
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4491
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/valid.js
|
|
4372
4492
|
var require_valid2 = __commonJS({
|
|
4373
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4493
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/valid.js"(exports, module) {
|
|
4374
4494
|
"use strict";
|
|
4375
4495
|
var Range = require_range();
|
|
4376
4496
|
var validRange = (range, options) => {
|
|
@@ -4384,9 +4504,9 @@ var require_valid2 = __commonJS({
|
|
|
4384
4504
|
}
|
|
4385
4505
|
});
|
|
4386
4506
|
|
|
4387
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4507
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/outside.js
|
|
4388
4508
|
var require_outside = __commonJS({
|
|
4389
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4509
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/outside.js"(exports, module) {
|
|
4390
4510
|
"use strict";
|
|
4391
4511
|
var SemVer = require_semver();
|
|
4392
4512
|
var Comparator = require_comparator();
|
|
@@ -4453,9 +4573,9 @@ var require_outside = __commonJS({
|
|
|
4453
4573
|
}
|
|
4454
4574
|
});
|
|
4455
4575
|
|
|
4456
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4576
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/gtr.js
|
|
4457
4577
|
var require_gtr = __commonJS({
|
|
4458
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4578
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/gtr.js"(exports, module) {
|
|
4459
4579
|
"use strict";
|
|
4460
4580
|
var outside = require_outside();
|
|
4461
4581
|
var gtr = (version, range, options) => outside(version, range, ">", options);
|
|
@@ -4463,9 +4583,9 @@ var require_gtr = __commonJS({
|
|
|
4463
4583
|
}
|
|
4464
4584
|
});
|
|
4465
4585
|
|
|
4466
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4586
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/ltr.js
|
|
4467
4587
|
var require_ltr = __commonJS({
|
|
4468
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4588
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/ltr.js"(exports, module) {
|
|
4469
4589
|
"use strict";
|
|
4470
4590
|
var outside = require_outside();
|
|
4471
4591
|
var ltr = (version, range, options) => outside(version, range, "<", options);
|
|
@@ -4473,9 +4593,9 @@ var require_ltr = __commonJS({
|
|
|
4473
4593
|
}
|
|
4474
4594
|
});
|
|
4475
4595
|
|
|
4476
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4596
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/intersects.js
|
|
4477
4597
|
var require_intersects = __commonJS({
|
|
4478
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4598
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/intersects.js"(exports, module) {
|
|
4479
4599
|
"use strict";
|
|
4480
4600
|
var Range = require_range();
|
|
4481
4601
|
var intersects = (r1, r2, options) => {
|
|
@@ -4487,9 +4607,9 @@ var require_intersects = __commonJS({
|
|
|
4487
4607
|
}
|
|
4488
4608
|
});
|
|
4489
4609
|
|
|
4490
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4610
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/simplify.js
|
|
4491
4611
|
var require_simplify = __commonJS({
|
|
4492
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4612
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/simplify.js"(exports, module) {
|
|
4493
4613
|
"use strict";
|
|
4494
4614
|
var satisfies = require_satisfies();
|
|
4495
4615
|
var compare = require_compare();
|
|
@@ -4537,9 +4657,9 @@ var require_simplify = __commonJS({
|
|
|
4537
4657
|
}
|
|
4538
4658
|
});
|
|
4539
4659
|
|
|
4540
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4660
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/subset.js
|
|
4541
4661
|
var require_subset = __commonJS({
|
|
4542
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4662
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/ranges/subset.js"(exports, module) {
|
|
4543
4663
|
"use strict";
|
|
4544
4664
|
var Range = require_range();
|
|
4545
4665
|
var Comparator = require_comparator();
|
|
@@ -4699,9 +4819,9 @@ var require_subset = __commonJS({
|
|
|
4699
4819
|
}
|
|
4700
4820
|
});
|
|
4701
4821
|
|
|
4702
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4822
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/index.js
|
|
4703
4823
|
var require_semver2 = __commonJS({
|
|
4704
|
-
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.
|
|
4824
|
+
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.4/48cc509f370d08764bdd488acefc1593686b163bb115f092a88a62ad0188ca28/node_modules/semver/index.js"(exports, module) {
|
|
4705
4825
|
"use strict";
|
|
4706
4826
|
var internalRe = require_re();
|
|
4707
4827
|
var constants2 = require_constants();
|
|
@@ -6075,7 +6195,7 @@ var require_move4 = __commonJS({
|
|
|
6075
6195
|
});
|
|
6076
6196
|
|
|
6077
6197
|
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fs-extra/11.3.5/7db7b8254b482200b4fe34058554947e1242ee5fa7e05ff4418e9403104cd8c3/node_modules/fs-extra/lib/index.js
|
|
6078
|
-
var
|
|
6198
|
+
var require_lib3 = __commonJS({
|
|
6079
6199
|
"../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/fs-extra/11.3.5/7db7b8254b482200b4fe34058554947e1242ee5fa7e05ff4418e9403104cd8c3/node_modules/fs-extra/lib/index.js"(exports, module) {
|
|
6080
6200
|
"use strict";
|
|
6081
6201
|
module.exports = {
|
|
@@ -7467,18 +7587,26 @@ function forceSymlinkSync(target2, path17, opts2) {
|
|
|
7467
7587
|
}
|
|
7468
7588
|
|
|
7469
7589
|
// ../fs/symlink-dependency/lib/safeJoinModulesDir.js
|
|
7590
|
+
var import_validate_npm_package_name = __toESM(require_lib2(), 1);
|
|
7470
7591
|
import path5 from "node:path";
|
|
7471
7592
|
function safeJoinModulesDir(modulesDir, alias) {
|
|
7593
|
+
if (!(0, import_validate_npm_package_name.default)(alias).validForOldPackages) {
|
|
7594
|
+
throw invalidDependencyNameError(modulesDir, alias);
|
|
7595
|
+
}
|
|
7472
7596
|
const link = path5.join(modulesDir, alias);
|
|
7473
7597
|
const resolvedDir = path5.resolve(modulesDir);
|
|
7474
7598
|
const resolvedLink = path5.resolve(link);
|
|
7475
7599
|
if (resolvedLink === resolvedDir || !resolvedLink.startsWith(resolvedDir + path5.sep)) {
|
|
7476
|
-
|
|
7477
|
-
error.code = "ERR_PNPM_INVALID_DEPENDENCY_NAME";
|
|
7478
|
-
throw error;
|
|
7600
|
+
throw invalidDependencyNameError(modulesDir, alias, resolvedLink);
|
|
7479
7601
|
}
|
|
7480
7602
|
return link;
|
|
7481
7603
|
}
|
|
7604
|
+
function invalidDependencyNameError(modulesDir, alias, resolvedLink) {
|
|
7605
|
+
const detail = resolvedLink ? ` (it resolves to ${resolvedLink})` : "";
|
|
7606
|
+
const error = new Error(`Refusing to place a dependency under ${modulesDir} with the invalid alias ${JSON.stringify(alias)}${detail}`);
|
|
7607
|
+
error.code = "ERR_PNPM_INVALID_DEPENDENCY_NAME";
|
|
7608
|
+
return error;
|
|
7609
|
+
}
|
|
7482
7610
|
|
|
7483
7611
|
// ../fs/symlink-dependency/lib/index.js
|
|
7484
7612
|
function symlinkDependencySync(dependencyRealLocation, destModulesDir, importAs) {
|
|
@@ -8212,7 +8340,7 @@ import util7 from "node:util";
|
|
|
8212
8340
|
import fs9 from "node:fs";
|
|
8213
8341
|
import path13 from "node:path";
|
|
8214
8342
|
import util6 from "node:util";
|
|
8215
|
-
var import_fs_extra2 = __toESM(
|
|
8343
|
+
var import_fs_extra2 = __toESM(require_lib3(), 1);
|
|
8216
8344
|
|
|
8217
8345
|
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/make-empty-dir/4.0.0/3607722a2f7d328bdf182e4db3290941113e732fd2d785b1a5837ab89bb24489/node_modules/make-empty-dir/index.js
|
|
8218
8346
|
import fs8 from "node:fs";
|
|
@@ -8721,7 +8849,7 @@ function mimicFunction(to, from, { ignoreNonConfigurable = false } = {}) {
|
|
|
8721
8849
|
return to;
|
|
8722
8850
|
}
|
|
8723
8851
|
|
|
8724
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/memoize/
|
|
8852
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/memoize/11.0.0/1da59602ab45e19a3ba2c86ed324b17bdd4d6b8ab4664663e3c8557861e28a28/node_modules/memoize/distribution/index.js
|
|
8725
8853
|
var maxTimeoutValue = 2147483647;
|
|
8726
8854
|
var cacheStore = /* @__PURE__ */ new WeakMap();
|
|
8727
8855
|
var cacheTimerStore = /* @__PURE__ */ new WeakMap();
|
|
@@ -8737,16 +8865,28 @@ function getValidCacheItem(cache, key) {
|
|
|
8737
8865
|
}
|
|
8738
8866
|
return item;
|
|
8739
8867
|
}
|
|
8740
|
-
function
|
|
8741
|
-
if (
|
|
8742
|
-
return
|
|
8868
|
+
function validateMaxAge(value, source) {
|
|
8869
|
+
if (value === Number.POSITIVE_INFINITY) {
|
|
8870
|
+
return;
|
|
8743
8871
|
}
|
|
8744
|
-
if (
|
|
8745
|
-
if (maxAge
|
|
8872
|
+
if (!Number.isFinite(value)) {
|
|
8873
|
+
if (source === "`maxAge` option") {
|
|
8874
|
+
throw new TypeError("The `maxAge` option must be a finite number, `0`, or `Infinity`.");
|
|
8875
|
+
}
|
|
8876
|
+
throw new TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");
|
|
8877
|
+
}
|
|
8878
|
+
if (value > maxTimeoutValue) {
|
|
8879
|
+
if (source === "`maxAge` option") {
|
|
8746
8880
|
throw new TypeError(`The \`maxAge\` option cannot exceed ${maxTimeoutValue}.`);
|
|
8747
8881
|
}
|
|
8748
|
-
|
|
8749
|
-
|
|
8882
|
+
throw new TypeError(`The \`maxAge\` function result cannot exceed ${maxTimeoutValue}.`);
|
|
8883
|
+
}
|
|
8884
|
+
}
|
|
8885
|
+
function memoize(function_, { cacheKey, cache = /* @__PURE__ */ new Map(), maxAge } = {}) {
|
|
8886
|
+
if (typeof maxAge === "number") {
|
|
8887
|
+
validateMaxAge(maxAge, "`maxAge` option");
|
|
8888
|
+
if (maxAge <= 0) {
|
|
8889
|
+
return function_;
|
|
8750
8890
|
}
|
|
8751
8891
|
}
|
|
8752
8892
|
const memoized = function(...arguments_) {
|
|
@@ -8758,15 +8898,10 @@ function memoize(function_, { cacheKey, cache = /* @__PURE__ */ new Map(), maxAg
|
|
|
8758
8898
|
const result = function_.apply(this, arguments_);
|
|
8759
8899
|
const computedMaxAge = typeof maxAge === "function" ? maxAge(...arguments_) : maxAge;
|
|
8760
8900
|
if (computedMaxAge !== void 0 && computedMaxAge !== Number.POSITIVE_INFINITY) {
|
|
8761
|
-
|
|
8762
|
-
throw new TypeError("The `maxAge` function must return a finite number, `0`, or `Infinity`.");
|
|
8763
|
-
}
|
|
8901
|
+
validateMaxAge(computedMaxAge, "`maxAge` function result");
|
|
8764
8902
|
if (computedMaxAge <= 0) {
|
|
8765
8903
|
return result;
|
|
8766
8904
|
}
|
|
8767
|
-
if (computedMaxAge > maxTimeoutValue) {
|
|
8768
|
-
throw new TypeError(`The \`maxAge\` function result cannot exceed ${maxTimeoutValue}.`);
|
|
8769
|
-
}
|
|
8770
8905
|
}
|
|
8771
8906
|
cache.set(key, {
|
|
8772
8907
|
data: result,
|
|
@@ -8863,8 +8998,9 @@ function createCafsStore(storeDir, opts2) {
|
|
|
8863
8998
|
// ../store/index/lib/index.js
|
|
8864
8999
|
import fs11 from "node:fs";
|
|
8865
9000
|
import { createRequire as createRequire2 } from "node:module";
|
|
9001
|
+
import { pathToFileURL } from "node:url";
|
|
8866
9002
|
|
|
8867
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/
|
|
9003
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/unpack.js
|
|
8868
9004
|
var decoder;
|
|
8869
9005
|
try {
|
|
8870
9006
|
decoder = new TextDecoder();
|
|
@@ -8895,14 +9031,6 @@ var C1 = new C1Type();
|
|
|
8895
9031
|
C1.name = "MessagePack 0xC1";
|
|
8896
9032
|
var sequentialMode = false;
|
|
8897
9033
|
var inlineObjectReadThreshold = 2;
|
|
8898
|
-
var readStruct;
|
|
8899
|
-
var onLoadedStructures;
|
|
8900
|
-
var onSaveState;
|
|
8901
|
-
try {
|
|
8902
|
-
new Function("");
|
|
8903
|
-
} catch (error) {
|
|
8904
|
-
inlineObjectReadThreshold = Infinity;
|
|
8905
|
-
}
|
|
8906
9034
|
var Unpackr = class _Unpackr {
|
|
8907
9035
|
constructor(options) {
|
|
8908
9036
|
if (options) {
|
|
@@ -9005,8 +9133,8 @@ var Unpackr = class _Unpackr {
|
|
|
9005
9133
|
}
|
|
9006
9134
|
}
|
|
9007
9135
|
_mergeStructures(loadedStructures, existingStructures) {
|
|
9008
|
-
if (
|
|
9009
|
-
loadedStructures =
|
|
9136
|
+
if (this._onLoadedStructures)
|
|
9137
|
+
loadedStructures = this._onLoadedStructures(loadedStructures);
|
|
9010
9138
|
loadedStructures = loadedStructures || [];
|
|
9011
9139
|
if (Object.isFrozen(loadedStructures))
|
|
9012
9140
|
loadedStructures = loadedStructures.map((structure) => structure.slice(0));
|
|
@@ -9044,8 +9172,8 @@ function checkedRead(options) {
|
|
|
9044
9172
|
currentStructures.length = sharedLength;
|
|
9045
9173
|
}
|
|
9046
9174
|
let result;
|
|
9047
|
-
if (currentUnpackr.
|
|
9048
|
-
result =
|
|
9175
|
+
if (currentUnpackr._readStruct && src[position] < 64 && src[position] >= 32) {
|
|
9176
|
+
result = currentUnpackr._readStruct(src, position, srcEnd);
|
|
9049
9177
|
src = null;
|
|
9050
9178
|
if (!(options && options.lazy) && result)
|
|
9051
9179
|
result = result.toJSON();
|
|
@@ -9334,10 +9462,17 @@ var validName = /^[a-zA-Z_$][a-zA-Z\d_$]*$/;
|
|
|
9334
9462
|
function createStructureReader(structure, firstId) {
|
|
9335
9463
|
function readObject() {
|
|
9336
9464
|
if (readObject.count++ > inlineObjectReadThreshold) {
|
|
9337
|
-
let
|
|
9465
|
+
let optimizedReadObject;
|
|
9466
|
+
try {
|
|
9467
|
+
optimizedReadObject = structure.read = new Function("r", "return function(){return " + (currentUnpackr.freezeData ? "Object.freeze" : "") + "({" + structure.map((key) => key === "__proto__" ? "__proto_:r()" : validName.test(key) ? key + ":r()" : "[" + JSON.stringify(key) + "]:r()").join(",") + "})}")(read);
|
|
9468
|
+
} catch (error) {
|
|
9469
|
+
inlineObjectReadThreshold = Infinity;
|
|
9470
|
+
return readObject();
|
|
9471
|
+
}
|
|
9472
|
+
structure.read0 = optimizedReadObject;
|
|
9338
9473
|
if (structure.highByte === 0)
|
|
9339
9474
|
structure.read = createSecondByteReader(firstId, structure.read);
|
|
9340
|
-
return
|
|
9475
|
+
return optimizedReadObject();
|
|
9341
9476
|
}
|
|
9342
9477
|
let object = {};
|
|
9343
9478
|
for (let i = 0, l = structure.length; i < l; i++) {
|
|
@@ -9351,6 +9486,7 @@ function createStructureReader(structure, firstId) {
|
|
|
9351
9486
|
return object;
|
|
9352
9487
|
}
|
|
9353
9488
|
readObject.count = 0;
|
|
9489
|
+
structure.read0 = readObject;
|
|
9354
9490
|
if (structure.highByte === 0) {
|
|
9355
9491
|
return createSecondByteReader(firstId, readObject);
|
|
9356
9492
|
}
|
|
@@ -9385,12 +9521,12 @@ var readString32 = readStringJS;
|
|
|
9385
9521
|
var isNativeAccelerationEnabled = false;
|
|
9386
9522
|
function setExtractor(extractStrings) {
|
|
9387
9523
|
isNativeAccelerationEnabled = true;
|
|
9388
|
-
readFixedString =
|
|
9389
|
-
readString8 =
|
|
9390
|
-
readString16 =
|
|
9391
|
-
readString32 =
|
|
9392
|
-
function
|
|
9393
|
-
return function
|
|
9524
|
+
readFixedString = readString(1);
|
|
9525
|
+
readString8 = readString(2);
|
|
9526
|
+
readString16 = readString(3);
|
|
9527
|
+
readString32 = readString(5);
|
|
9528
|
+
function readString(headerLength) {
|
|
9529
|
+
return function readString2(length) {
|
|
9394
9530
|
let string = strings[stringPosition++];
|
|
9395
9531
|
if (string == null) {
|
|
9396
9532
|
if (bundledStrings)
|
|
@@ -9439,24 +9575,38 @@ function readStringJS(length) {
|
|
|
9439
9575
|
units.push(byte1);
|
|
9440
9576
|
} else if ((byte1 & 224) === 192) {
|
|
9441
9577
|
const byte2 = src[position++] & 63;
|
|
9442
|
-
|
|
9578
|
+
const codePoint = (byte1 & 31) << 6 | byte2;
|
|
9579
|
+
if (codePoint < 128) {
|
|
9580
|
+
units.push(65533);
|
|
9581
|
+
} else {
|
|
9582
|
+
units.push(codePoint);
|
|
9583
|
+
}
|
|
9443
9584
|
} else if ((byte1 & 240) === 224) {
|
|
9444
9585
|
const byte2 = src[position++] & 63;
|
|
9445
9586
|
const byte3 = src[position++] & 63;
|
|
9446
|
-
|
|
9587
|
+
const codePoint = (byte1 & 31) << 12 | byte2 << 6 | byte3;
|
|
9588
|
+
if (codePoint < 2048 || codePoint >= 55296 && codePoint <= 57343) {
|
|
9589
|
+
units.push(65533);
|
|
9590
|
+
} else {
|
|
9591
|
+
units.push(codePoint);
|
|
9592
|
+
}
|
|
9447
9593
|
} else if ((byte1 & 248) === 240) {
|
|
9448
9594
|
const byte2 = src[position++] & 63;
|
|
9449
9595
|
const byte3 = src[position++] & 63;
|
|
9450
9596
|
const byte4 = src[position++] & 63;
|
|
9451
9597
|
let unit = (byte1 & 7) << 18 | byte2 << 12 | byte3 << 6 | byte4;
|
|
9452
|
-
if (unit >
|
|
9598
|
+
if (unit < 65536 || unit > 1114111) {
|
|
9599
|
+
units.push(65533);
|
|
9600
|
+
} else if (unit > 65535) {
|
|
9453
9601
|
unit -= 65536;
|
|
9454
9602
|
units.push(unit >>> 10 & 1023 | 55296);
|
|
9455
9603
|
unit = 56320 | unit & 1023;
|
|
9604
|
+
units.push(unit);
|
|
9605
|
+
} else {
|
|
9606
|
+
units.push(unit);
|
|
9456
9607
|
}
|
|
9457
|
-
units.push(unit);
|
|
9458
9608
|
} else {
|
|
9459
|
-
units.push(
|
|
9609
|
+
units.push(65533);
|
|
9460
9610
|
}
|
|
9461
9611
|
if (units.length >= 4096) {
|
|
9462
9612
|
result += fromCharCode.apply(String, units);
|
|
@@ -9468,16 +9618,6 @@ function readStringJS(length) {
|
|
|
9468
9618
|
}
|
|
9469
9619
|
return result;
|
|
9470
9620
|
}
|
|
9471
|
-
function readString(source, start, length) {
|
|
9472
|
-
let existingSrc = src;
|
|
9473
|
-
src = source;
|
|
9474
|
-
position = start;
|
|
9475
|
-
try {
|
|
9476
|
-
return readStringJS(length);
|
|
9477
|
-
} finally {
|
|
9478
|
-
src = existingSrc;
|
|
9479
|
-
}
|
|
9480
|
-
}
|
|
9481
9621
|
function readArray(length) {
|
|
9482
9622
|
let array = new Array(length);
|
|
9483
9623
|
for (let i = 0; i < length; i++) {
|
|
@@ -9786,7 +9926,7 @@ var recordDefinition = (id, highByte) => {
|
|
|
9786
9926
|
}
|
|
9787
9927
|
currentStructures[id] = structure;
|
|
9788
9928
|
structure.read = createStructureReader(structure, firstByte);
|
|
9789
|
-
return structure.read();
|
|
9929
|
+
return (structure.read0 || structure.read)();
|
|
9790
9930
|
};
|
|
9791
9931
|
currentExtensions[0] = () => {
|
|
9792
9932
|
};
|
|
@@ -9805,7 +9945,7 @@ currentExtensions[66] = (data) => {
|
|
|
9805
9945
|
if (length <= 40) {
|
|
9806
9946
|
let out = view.getBigUint64(start);
|
|
9807
9947
|
for (let i = start + 8; i < end; i += 8) {
|
|
9808
|
-
out <<= BigInt(
|
|
9948
|
+
out <<= BigInt(64);
|
|
9809
9949
|
out |= view.getBigUint64(i);
|
|
9810
9950
|
}
|
|
9811
9951
|
return out;
|
|
@@ -9920,8 +10060,8 @@ currentExtensions[255] = (data) => {
|
|
|
9920
10060
|
return /* @__PURE__ */ new Date("invalid");
|
|
9921
10061
|
};
|
|
9922
10062
|
function saveState(callback) {
|
|
9923
|
-
if (
|
|
9924
|
-
|
|
10063
|
+
if (currentUnpackr && currentUnpackr._onSaveState)
|
|
10064
|
+
currentUnpackr._onSaveState();
|
|
9925
10065
|
let savedSrcEnd = srcEnd;
|
|
9926
10066
|
let savedPosition = position;
|
|
9927
10067
|
let savedStringPosition = stringPosition;
|
|
@@ -9975,13 +10115,9 @@ var FLOAT32_OPTIONS = {
|
|
|
9975
10115
|
};
|
|
9976
10116
|
var f32Array = new Float32Array(1);
|
|
9977
10117
|
var u8Array = new Uint8Array(f32Array.buffer, 0, 4);
|
|
9978
|
-
|
|
9979
|
-
readStruct = updatedReadStruct;
|
|
9980
|
-
onLoadedStructures = loadedStructs;
|
|
9981
|
-
onSaveState = saveState3;
|
|
9982
|
-
}
|
|
10118
|
+
Unpackr.SUPPORTS_STRUCT_HOOKS = true;
|
|
9983
10119
|
|
|
9984
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/
|
|
10120
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/pack.js
|
|
9985
10121
|
var textEncoder;
|
|
9986
10122
|
try {
|
|
9987
10123
|
textEncoder = new TextEncoder();
|
|
@@ -10001,7 +10137,6 @@ var targetView;
|
|
|
10001
10137
|
var position2 = 0;
|
|
10002
10138
|
var safeEnd;
|
|
10003
10139
|
var bundledStrings2 = null;
|
|
10004
|
-
var writeStructSlots;
|
|
10005
10140
|
var MAX_BUNDLE_SIZE = 21760;
|
|
10006
10141
|
var hasNonLatin = /[\u0080-\uFFFF]/;
|
|
10007
10142
|
var RECORD_SYMBOL = /* @__PURE__ */ Symbol("record-id");
|
|
@@ -10014,7 +10149,7 @@ var Packr = class extends Unpackr {
|
|
|
10014
10149
|
let hasSharedUpdate;
|
|
10015
10150
|
let structures;
|
|
10016
10151
|
let referenceMap2;
|
|
10017
|
-
let
|
|
10152
|
+
let encodeUtf8 = ByteArray.prototype.utf8Write ? function(string, position3) {
|
|
10018
10153
|
return target.utf8Write(string, position3, target.byteLength - position3);
|
|
10019
10154
|
} : textEncoder && textEncoder.encodeInto ? function(string, position3) {
|
|
10020
10155
|
return textEncoder.encodeInto(string, target.subarray(position3)).written;
|
|
@@ -10103,10 +10238,10 @@ var Packr = class extends Unpackr {
|
|
|
10103
10238
|
hasSharedUpdate = false;
|
|
10104
10239
|
let encodingError;
|
|
10105
10240
|
try {
|
|
10106
|
-
if (packr2.
|
|
10107
|
-
if (value.constructor === Object)
|
|
10241
|
+
if (packr2._writeStruct && value && typeof value === "object") {
|
|
10242
|
+
if (value.constructor === Object) writeStruct(value);
|
|
10108
10243
|
else if (value.constructor !== Map && !Array.isArray(value) && !extensionClasses.some((extClass) => value instanceof extClass)) {
|
|
10109
|
-
|
|
10244
|
+
writeStruct(value.toJSON ? value.toJSON() : value);
|
|
10110
10245
|
} else pack2(value);
|
|
10111
10246
|
} else
|
|
10112
10247
|
pack2(value);
|
|
@@ -10166,9 +10301,10 @@ var Packr = class extends Unpackr {
|
|
|
10166
10301
|
if (hasSharedUpdate && packr2.saveStructures) {
|
|
10167
10302
|
let sharedLength = structures.sharedLength || 0;
|
|
10168
10303
|
let returnBuffer = target.subarray(start, position2);
|
|
10169
|
-
let newSharedData = prepareStructures(structures, packr2);
|
|
10304
|
+
let newSharedData = (packr2._prepareStructures || prepareStructures)(structures, packr2);
|
|
10170
10305
|
if (!encodingError) {
|
|
10171
10306
|
if (packr2.saveStructures(newSharedData, newSharedData.isCompatible) === false) {
|
|
10307
|
+
structures.uninitialized = true;
|
|
10172
10308
|
return packr2.pack(value, encodeOptions);
|
|
10173
10309
|
}
|
|
10174
10310
|
packr2.lastNamedStructuresLength = sharedLength;
|
|
@@ -10271,7 +10407,7 @@ var Packr = class extends Unpackr {
|
|
|
10271
10407
|
let maxBytes = strLength * 3;
|
|
10272
10408
|
if (position2 + maxBytes > safeEnd)
|
|
10273
10409
|
target = makeRoom(position2 + maxBytes);
|
|
10274
|
-
if (strLength < 64 || !
|
|
10410
|
+
if (strLength < 64 || !encodeUtf8) {
|
|
10275
10411
|
let i, c1, c2, strPosition = position2 + headerSize;
|
|
10276
10412
|
for (i = 0; i < strLength; i++) {
|
|
10277
10413
|
c1 = value.charCodeAt(i);
|
|
@@ -10295,7 +10431,7 @@ var Packr = class extends Unpackr {
|
|
|
10295
10431
|
}
|
|
10296
10432
|
length = strPosition - position2 - headerSize;
|
|
10297
10433
|
} else {
|
|
10298
|
-
length =
|
|
10434
|
+
length = encodeUtf8(value, position2 + headerSize);
|
|
10299
10435
|
}
|
|
10300
10436
|
if (length < 32) {
|
|
10301
10437
|
target[position2++] = 160 | length;
|
|
@@ -10323,7 +10459,7 @@ var Packr = class extends Unpackr {
|
|
|
10323
10459
|
position2 += length;
|
|
10324
10460
|
} else if (type === "number") {
|
|
10325
10461
|
if (value >>> 0 === value) {
|
|
10326
|
-
if (value < 32 || value < 128 && this.useRecords === false || value < 64 && !this.
|
|
10462
|
+
if (value < 32 || value < 128 && this.useRecords === false || value < 64 && !this._writeStruct) {
|
|
10327
10463
|
target[position2++] = value;
|
|
10328
10464
|
} else if (value < 256) {
|
|
10329
10465
|
target[position2++] = 204;
|
|
@@ -10682,6 +10818,23 @@ var Packr = class extends Unpackr {
|
|
|
10682
10818
|
const writeObject = checkUseRecords ? (object) => {
|
|
10683
10819
|
checkUseRecords(object) ? writeRecord(object) : writePlainObject(object);
|
|
10684
10820
|
} : writeRecord;
|
|
10821
|
+
const writeStruct = (object) => {
|
|
10822
|
+
let newPosition = packr2._writeStruct(object, target, start, position2, structures, makeRoom, (value, newPosition2, notifySharedUpdate) => {
|
|
10823
|
+
if (notifySharedUpdate)
|
|
10824
|
+
return hasSharedUpdate = true;
|
|
10825
|
+
position2 = newPosition2;
|
|
10826
|
+
let startTarget = target;
|
|
10827
|
+
pack2(value);
|
|
10828
|
+
resetStructures();
|
|
10829
|
+
if (startTarget !== target) {
|
|
10830
|
+
return { position: position2, targetView, target };
|
|
10831
|
+
}
|
|
10832
|
+
return position2;
|
|
10833
|
+
});
|
|
10834
|
+
if (newPosition === 0)
|
|
10835
|
+
return writeObject(object);
|
|
10836
|
+
position2 = newPosition;
|
|
10837
|
+
};
|
|
10685
10838
|
const makeRoom = (end) => {
|
|
10686
10839
|
let newSize;
|
|
10687
10840
|
if (end > 16777216) {
|
|
@@ -10782,23 +10935,6 @@ var Packr = class extends Unpackr {
|
|
|
10782
10935
|
target[insertionOffset + start] = keysTarget[0];
|
|
10783
10936
|
}
|
|
10784
10937
|
};
|
|
10785
|
-
const writeStruct2 = (object) => {
|
|
10786
|
-
let newPosition = writeStructSlots(object, target, start, position2, structures, makeRoom, (value, newPosition2, notifySharedUpdate) => {
|
|
10787
|
-
if (notifySharedUpdate)
|
|
10788
|
-
return hasSharedUpdate = true;
|
|
10789
|
-
position2 = newPosition2;
|
|
10790
|
-
let startTarget = target;
|
|
10791
|
-
pack2(value);
|
|
10792
|
-
resetStructures();
|
|
10793
|
-
if (startTarget !== target) {
|
|
10794
|
-
return { position: position2, targetView, target };
|
|
10795
|
-
}
|
|
10796
|
-
return position2;
|
|
10797
|
-
}, this);
|
|
10798
|
-
if (newPosition === 0)
|
|
10799
|
-
return writeObject(object);
|
|
10800
|
-
position2 = newPosition;
|
|
10801
|
-
};
|
|
10802
10938
|
}
|
|
10803
10939
|
useBuffer(buffer) {
|
|
10804
10940
|
target = buffer;
|
|
@@ -11035,10 +11171,7 @@ function prepareStructures(structures, packr2) {
|
|
|
11035
11171
|
};
|
|
11036
11172
|
return structures;
|
|
11037
11173
|
}
|
|
11038
|
-
|
|
11039
|
-
writeStructSlots = writeSlots;
|
|
11040
|
-
prepareStructures = makeStructures;
|
|
11041
|
-
}
|
|
11174
|
+
Packr.SUPPORTS_STRUCT_HOOKS = true;
|
|
11042
11175
|
var defaultPackr = new Packr({ useRecords: false });
|
|
11043
11176
|
var pack = defaultPackr.pack;
|
|
11044
11177
|
var encode = defaultPackr.pack;
|
|
@@ -11047,722 +11180,7 @@ var REUSE_BUFFER_MODE = 512;
|
|
|
11047
11180
|
var RESET_BUFFER_MODE = 1024;
|
|
11048
11181
|
var RESERVE_START_SPACE = 2048;
|
|
11049
11182
|
|
|
11050
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/
|
|
11051
|
-
var ASCII = 3;
|
|
11052
|
-
var NUMBER = 0;
|
|
11053
|
-
var UTF8 = 2;
|
|
11054
|
-
var OBJECT_DATA = 1;
|
|
11055
|
-
var DATE = 16;
|
|
11056
|
-
var TYPE_NAMES = ["num", "object", "string", "ascii"];
|
|
11057
|
-
TYPE_NAMES[DATE] = "date";
|
|
11058
|
-
var float32Headers = [false, true, true, false, false, true, true, false];
|
|
11059
|
-
var evalSupported;
|
|
11060
|
-
try {
|
|
11061
|
-
new Function("");
|
|
11062
|
-
evalSupported = true;
|
|
11063
|
-
} catch (error) {
|
|
11064
|
-
}
|
|
11065
|
-
var updatedPosition;
|
|
11066
|
-
var hasNodeBuffer2 = typeof Buffer !== "undefined";
|
|
11067
|
-
var textEncoder2;
|
|
11068
|
-
var currentSource;
|
|
11069
|
-
try {
|
|
11070
|
-
textEncoder2 = new TextEncoder();
|
|
11071
|
-
} catch (error) {
|
|
11072
|
-
}
|
|
11073
|
-
var encodeUtf8 = hasNodeBuffer2 ? function(target2, string, position3) {
|
|
11074
|
-
return target2.utf8Write(string, position3, target2.byteLength - position3);
|
|
11075
|
-
} : textEncoder2 && textEncoder2.encodeInto ? function(target2, string, position3) {
|
|
11076
|
-
return textEncoder2.encodeInto(string, target2.subarray(position3)).written;
|
|
11077
|
-
} : false;
|
|
11078
|
-
setWriteStructSlots(writeStruct, prepareStructures2);
|
|
11079
|
-
function writeStruct(object, target2, encodingStart, position3, structures, makeRoom, pack2, packr2) {
|
|
11080
|
-
let typedStructs = packr2.typedStructs || (packr2.typedStructs = []);
|
|
11081
|
-
let targetView2 = target2.dataView;
|
|
11082
|
-
let refsStartPosition = (typedStructs.lastStringStart || 100) + position3;
|
|
11083
|
-
let safeEnd2 = target2.length - 10;
|
|
11084
|
-
let start = position3;
|
|
11085
|
-
if (position3 > safeEnd2) {
|
|
11086
|
-
target2 = makeRoom(position3);
|
|
11087
|
-
targetView2 = target2.dataView;
|
|
11088
|
-
position3 -= encodingStart;
|
|
11089
|
-
start -= encodingStart;
|
|
11090
|
-
refsStartPosition -= encodingStart;
|
|
11091
|
-
encodingStart = 0;
|
|
11092
|
-
safeEnd2 = target2.length - 10;
|
|
11093
|
-
}
|
|
11094
|
-
let refOffset, refPosition = refsStartPosition;
|
|
11095
|
-
let transition = typedStructs.transitions || (typedStructs.transitions = /* @__PURE__ */ Object.create(null));
|
|
11096
|
-
let nextId = typedStructs.nextId || typedStructs.length;
|
|
11097
|
-
let headerSize = nextId < 15 ? 1 : nextId < 240 ? 2 : nextId < 61440 ? 3 : nextId < 15728640 ? 4 : 0;
|
|
11098
|
-
if (headerSize === 0)
|
|
11099
|
-
return 0;
|
|
11100
|
-
position3 += headerSize;
|
|
11101
|
-
let queuedReferences = [];
|
|
11102
|
-
let usedAscii0;
|
|
11103
|
-
let keyIndex = 0;
|
|
11104
|
-
for (let key in object) {
|
|
11105
|
-
let value = object[key];
|
|
11106
|
-
let nextTransition = transition[key];
|
|
11107
|
-
if (!nextTransition) {
|
|
11108
|
-
transition[key] = nextTransition = {
|
|
11109
|
-
key,
|
|
11110
|
-
parent: transition,
|
|
11111
|
-
enumerationOffset: 0,
|
|
11112
|
-
ascii0: null,
|
|
11113
|
-
ascii8: null,
|
|
11114
|
-
num8: null,
|
|
11115
|
-
string16: null,
|
|
11116
|
-
object16: null,
|
|
11117
|
-
num32: null,
|
|
11118
|
-
float64: null,
|
|
11119
|
-
date64: null
|
|
11120
|
-
};
|
|
11121
|
-
}
|
|
11122
|
-
if (position3 > safeEnd2) {
|
|
11123
|
-
target2 = makeRoom(position3);
|
|
11124
|
-
targetView2 = target2.dataView;
|
|
11125
|
-
position3 -= encodingStart;
|
|
11126
|
-
start -= encodingStart;
|
|
11127
|
-
refsStartPosition -= encodingStart;
|
|
11128
|
-
refPosition -= encodingStart;
|
|
11129
|
-
encodingStart = 0;
|
|
11130
|
-
safeEnd2 = target2.length - 10;
|
|
11131
|
-
}
|
|
11132
|
-
switch (typeof value) {
|
|
11133
|
-
case "number":
|
|
11134
|
-
let number = value;
|
|
11135
|
-
if (nextId < 200 || !nextTransition.num64) {
|
|
11136
|
-
if (number >> 0 === number && number < 536870912 && number > -520093696) {
|
|
11137
|
-
if (number < 246 && number >= 0 && (nextTransition.num8 && !(nextId > 200 && nextTransition.num32) || number < 32 && !nextTransition.num32)) {
|
|
11138
|
-
transition = nextTransition.num8 || createTypeTransition(nextTransition, NUMBER, 1);
|
|
11139
|
-
target2[position3++] = number;
|
|
11140
|
-
} else {
|
|
11141
|
-
transition = nextTransition.num32 || createTypeTransition(nextTransition, NUMBER, 4);
|
|
11142
|
-
targetView2.setUint32(position3, number, true);
|
|
11143
|
-
position3 += 4;
|
|
11144
|
-
}
|
|
11145
|
-
break;
|
|
11146
|
-
} else if (number < 4294967296 && number >= -2147483648) {
|
|
11147
|
-
targetView2.setFloat32(position3, number, true);
|
|
11148
|
-
if (float32Headers[target2[position3 + 3] >>> 5]) {
|
|
11149
|
-
let xShifted;
|
|
11150
|
-
if ((xShifted = number * mult10[(target2[position3 + 3] & 127) << 1 | target2[position3 + 2] >> 7]) >> 0 === xShifted) {
|
|
11151
|
-
transition = nextTransition.num32 || createTypeTransition(nextTransition, NUMBER, 4);
|
|
11152
|
-
position3 += 4;
|
|
11153
|
-
break;
|
|
11154
|
-
}
|
|
11155
|
-
}
|
|
11156
|
-
}
|
|
11157
|
-
}
|
|
11158
|
-
transition = nextTransition.num64 || createTypeTransition(nextTransition, NUMBER, 8);
|
|
11159
|
-
targetView2.setFloat64(position3, number, true);
|
|
11160
|
-
position3 += 8;
|
|
11161
|
-
break;
|
|
11162
|
-
case "string":
|
|
11163
|
-
let strLength = value.length;
|
|
11164
|
-
refOffset = refPosition - refsStartPosition;
|
|
11165
|
-
if ((strLength << 2) + refPosition > safeEnd2) {
|
|
11166
|
-
target2 = makeRoom((strLength << 2) + refPosition);
|
|
11167
|
-
targetView2 = target2.dataView;
|
|
11168
|
-
position3 -= encodingStart;
|
|
11169
|
-
start -= encodingStart;
|
|
11170
|
-
refsStartPosition -= encodingStart;
|
|
11171
|
-
refPosition -= encodingStart;
|
|
11172
|
-
encodingStart = 0;
|
|
11173
|
-
safeEnd2 = target2.length - 10;
|
|
11174
|
-
}
|
|
11175
|
-
if (strLength > 65280 + refOffset >> 2) {
|
|
11176
|
-
queuedReferences.push(key, value, position3 - start);
|
|
11177
|
-
break;
|
|
11178
|
-
}
|
|
11179
|
-
let isNotAscii;
|
|
11180
|
-
let strStart = refPosition;
|
|
11181
|
-
if (strLength < 64) {
|
|
11182
|
-
let i, c1, c2;
|
|
11183
|
-
for (i = 0; i < strLength; i++) {
|
|
11184
|
-
c1 = value.charCodeAt(i);
|
|
11185
|
-
if (c1 < 128) {
|
|
11186
|
-
target2[refPosition++] = c1;
|
|
11187
|
-
} else if (c1 < 2048) {
|
|
11188
|
-
isNotAscii = true;
|
|
11189
|
-
target2[refPosition++] = c1 >> 6 | 192;
|
|
11190
|
-
target2[refPosition++] = c1 & 63 | 128;
|
|
11191
|
-
} else if ((c1 & 64512) === 55296 && ((c2 = value.charCodeAt(i + 1)) & 64512) === 56320) {
|
|
11192
|
-
isNotAscii = true;
|
|
11193
|
-
c1 = 65536 + ((c1 & 1023) << 10) + (c2 & 1023);
|
|
11194
|
-
i++;
|
|
11195
|
-
target2[refPosition++] = c1 >> 18 | 240;
|
|
11196
|
-
target2[refPosition++] = c1 >> 12 & 63 | 128;
|
|
11197
|
-
target2[refPosition++] = c1 >> 6 & 63 | 128;
|
|
11198
|
-
target2[refPosition++] = c1 & 63 | 128;
|
|
11199
|
-
} else {
|
|
11200
|
-
isNotAscii = true;
|
|
11201
|
-
target2[refPosition++] = c1 >> 12 | 224;
|
|
11202
|
-
target2[refPosition++] = c1 >> 6 & 63 | 128;
|
|
11203
|
-
target2[refPosition++] = c1 & 63 | 128;
|
|
11204
|
-
}
|
|
11205
|
-
}
|
|
11206
|
-
} else {
|
|
11207
|
-
refPosition += encodeUtf8(target2, value, refPosition);
|
|
11208
|
-
isNotAscii = refPosition - strStart > strLength;
|
|
11209
|
-
}
|
|
11210
|
-
if (refOffset < 160 || refOffset < 246 && (nextTransition.ascii8 || nextTransition.string8)) {
|
|
11211
|
-
if (isNotAscii) {
|
|
11212
|
-
if (!(transition = nextTransition.string8)) {
|
|
11213
|
-
if (typedStructs.length > 10 && (transition = nextTransition.ascii8)) {
|
|
11214
|
-
transition.__type = UTF8;
|
|
11215
|
-
nextTransition.ascii8 = null;
|
|
11216
|
-
nextTransition.string8 = transition;
|
|
11217
|
-
pack2(null, 0, true);
|
|
11218
|
-
} else {
|
|
11219
|
-
transition = createTypeTransition(nextTransition, UTF8, 1);
|
|
11220
|
-
}
|
|
11221
|
-
}
|
|
11222
|
-
} else if (refOffset === 0 && !usedAscii0) {
|
|
11223
|
-
usedAscii0 = true;
|
|
11224
|
-
transition = nextTransition.ascii0 || createTypeTransition(nextTransition, ASCII, 0);
|
|
11225
|
-
break;
|
|
11226
|
-
} else if (!(transition = nextTransition.ascii8) && !(typedStructs.length > 10 && (transition = nextTransition.string8)))
|
|
11227
|
-
transition = createTypeTransition(nextTransition, ASCII, 1);
|
|
11228
|
-
target2[position3++] = refOffset;
|
|
11229
|
-
} else {
|
|
11230
|
-
transition = nextTransition.string16 || createTypeTransition(nextTransition, UTF8, 2);
|
|
11231
|
-
targetView2.setUint16(position3, refOffset, true);
|
|
11232
|
-
position3 += 2;
|
|
11233
|
-
}
|
|
11234
|
-
break;
|
|
11235
|
-
case "object":
|
|
11236
|
-
if (value) {
|
|
11237
|
-
if (value.constructor === Date) {
|
|
11238
|
-
transition = nextTransition.date64 || createTypeTransition(nextTransition, DATE, 8);
|
|
11239
|
-
targetView2.setFloat64(position3, value.getTime(), true);
|
|
11240
|
-
position3 += 8;
|
|
11241
|
-
} else {
|
|
11242
|
-
queuedReferences.push(key, value, keyIndex);
|
|
11243
|
-
}
|
|
11244
|
-
break;
|
|
11245
|
-
} else {
|
|
11246
|
-
nextTransition = anyType(nextTransition, position3, targetView2, -10);
|
|
11247
|
-
if (nextTransition) {
|
|
11248
|
-
transition = nextTransition;
|
|
11249
|
-
position3 = updatedPosition;
|
|
11250
|
-
} else queuedReferences.push(key, value, keyIndex);
|
|
11251
|
-
}
|
|
11252
|
-
break;
|
|
11253
|
-
case "boolean":
|
|
11254
|
-
transition = nextTransition.num8 || nextTransition.ascii8 || createTypeTransition(nextTransition, NUMBER, 1);
|
|
11255
|
-
target2[position3++] = value ? 249 : 248;
|
|
11256
|
-
break;
|
|
11257
|
-
case "undefined":
|
|
11258
|
-
nextTransition = anyType(nextTransition, position3, targetView2, -9);
|
|
11259
|
-
if (nextTransition) {
|
|
11260
|
-
transition = nextTransition;
|
|
11261
|
-
position3 = updatedPosition;
|
|
11262
|
-
} else queuedReferences.push(key, value, keyIndex);
|
|
11263
|
-
break;
|
|
11264
|
-
default:
|
|
11265
|
-
queuedReferences.push(key, value, keyIndex);
|
|
11266
|
-
}
|
|
11267
|
-
keyIndex++;
|
|
11268
|
-
}
|
|
11269
|
-
for (let i = 0, l = queuedReferences.length; i < l; ) {
|
|
11270
|
-
let key = queuedReferences[i++];
|
|
11271
|
-
let value = queuedReferences[i++];
|
|
11272
|
-
let propertyIndex = queuedReferences[i++];
|
|
11273
|
-
let nextTransition = transition[key];
|
|
11274
|
-
if (!nextTransition) {
|
|
11275
|
-
transition[key] = nextTransition = {
|
|
11276
|
-
key,
|
|
11277
|
-
parent: transition,
|
|
11278
|
-
enumerationOffset: propertyIndex - keyIndex,
|
|
11279
|
-
ascii0: null,
|
|
11280
|
-
ascii8: null,
|
|
11281
|
-
num8: null,
|
|
11282
|
-
string16: null,
|
|
11283
|
-
object16: null,
|
|
11284
|
-
num32: null,
|
|
11285
|
-
float64: null
|
|
11286
|
-
};
|
|
11287
|
-
}
|
|
11288
|
-
let newPosition;
|
|
11289
|
-
if (value) {
|
|
11290
|
-
let size;
|
|
11291
|
-
refOffset = refPosition - refsStartPosition;
|
|
11292
|
-
if (refOffset < 65280) {
|
|
11293
|
-
transition = nextTransition.object16;
|
|
11294
|
-
if (transition)
|
|
11295
|
-
size = 2;
|
|
11296
|
-
else if (transition = nextTransition.object32)
|
|
11297
|
-
size = 4;
|
|
11298
|
-
else {
|
|
11299
|
-
transition = createTypeTransition(nextTransition, OBJECT_DATA, 2);
|
|
11300
|
-
size = 2;
|
|
11301
|
-
}
|
|
11302
|
-
} else {
|
|
11303
|
-
transition = nextTransition.object32 || createTypeTransition(nextTransition, OBJECT_DATA, 4);
|
|
11304
|
-
size = 4;
|
|
11305
|
-
}
|
|
11306
|
-
newPosition = pack2(value, refPosition);
|
|
11307
|
-
if (typeof newPosition === "object") {
|
|
11308
|
-
refPosition = newPosition.position;
|
|
11309
|
-
targetView2 = newPosition.targetView;
|
|
11310
|
-
target2 = newPosition.target;
|
|
11311
|
-
refsStartPosition -= encodingStart;
|
|
11312
|
-
position3 -= encodingStart;
|
|
11313
|
-
start -= encodingStart;
|
|
11314
|
-
encodingStart = 0;
|
|
11315
|
-
} else
|
|
11316
|
-
refPosition = newPosition;
|
|
11317
|
-
if (size === 2) {
|
|
11318
|
-
targetView2.setUint16(position3, refOffset, true);
|
|
11319
|
-
position3 += 2;
|
|
11320
|
-
} else {
|
|
11321
|
-
targetView2.setUint32(position3, refOffset, true);
|
|
11322
|
-
position3 += 4;
|
|
11323
|
-
}
|
|
11324
|
-
} else {
|
|
11325
|
-
transition = nextTransition.object16 || createTypeTransition(nextTransition, OBJECT_DATA, 2);
|
|
11326
|
-
targetView2.setInt16(position3, value === null ? -10 : -9, true);
|
|
11327
|
-
position3 += 2;
|
|
11328
|
-
}
|
|
11329
|
-
keyIndex++;
|
|
11330
|
-
}
|
|
11331
|
-
let recordId = transition[RECORD_SYMBOL];
|
|
11332
|
-
if (recordId == null) {
|
|
11333
|
-
recordId = packr2.typedStructs.length;
|
|
11334
|
-
let structure = [];
|
|
11335
|
-
let nextTransition = transition;
|
|
11336
|
-
let key, type;
|
|
11337
|
-
while ((type = nextTransition.__type) !== void 0) {
|
|
11338
|
-
let size = nextTransition.__size;
|
|
11339
|
-
nextTransition = nextTransition.__parent;
|
|
11340
|
-
key = nextTransition.key;
|
|
11341
|
-
let property = [type, size, key];
|
|
11342
|
-
if (nextTransition.enumerationOffset)
|
|
11343
|
-
property.push(nextTransition.enumerationOffset);
|
|
11344
|
-
structure.push(property);
|
|
11345
|
-
nextTransition = nextTransition.parent;
|
|
11346
|
-
}
|
|
11347
|
-
structure.reverse();
|
|
11348
|
-
transition[RECORD_SYMBOL] = recordId;
|
|
11349
|
-
packr2.typedStructs[recordId] = structure;
|
|
11350
|
-
pack2(null, 0, true);
|
|
11351
|
-
}
|
|
11352
|
-
switch (headerSize) {
|
|
11353
|
-
case 1:
|
|
11354
|
-
if (recordId >= 16) return 0;
|
|
11355
|
-
target2[start] = recordId + 32;
|
|
11356
|
-
break;
|
|
11357
|
-
case 2:
|
|
11358
|
-
if (recordId >= 256) return 0;
|
|
11359
|
-
target2[start] = 56;
|
|
11360
|
-
target2[start + 1] = recordId;
|
|
11361
|
-
break;
|
|
11362
|
-
case 3:
|
|
11363
|
-
if (recordId >= 65536) return 0;
|
|
11364
|
-
target2[start] = 57;
|
|
11365
|
-
targetView2.setUint16(start + 1, recordId, true);
|
|
11366
|
-
break;
|
|
11367
|
-
case 4:
|
|
11368
|
-
if (recordId >= 16777216) return 0;
|
|
11369
|
-
targetView2.setUint32(start, (recordId << 8) + 58, true);
|
|
11370
|
-
break;
|
|
11371
|
-
}
|
|
11372
|
-
if (position3 < refsStartPosition) {
|
|
11373
|
-
if (refsStartPosition === refPosition)
|
|
11374
|
-
return position3;
|
|
11375
|
-
target2.copyWithin(position3, refsStartPosition, refPosition);
|
|
11376
|
-
refPosition += position3 - refsStartPosition;
|
|
11377
|
-
typedStructs.lastStringStart = position3 - start;
|
|
11378
|
-
} else if (position3 > refsStartPosition) {
|
|
11379
|
-
if (refsStartPosition === refPosition)
|
|
11380
|
-
return position3;
|
|
11381
|
-
typedStructs.lastStringStart = position3 - start;
|
|
11382
|
-
return writeStruct(object, target2, encodingStart, start, structures, makeRoom, pack2, packr2);
|
|
11383
|
-
}
|
|
11384
|
-
return refPosition;
|
|
11385
|
-
}
|
|
11386
|
-
function anyType(transition, position3, targetView2, value) {
|
|
11387
|
-
let nextTransition;
|
|
11388
|
-
if (nextTransition = transition.ascii8 || transition.num8) {
|
|
11389
|
-
targetView2.setInt8(position3, value, true);
|
|
11390
|
-
updatedPosition = position3 + 1;
|
|
11391
|
-
return nextTransition;
|
|
11392
|
-
}
|
|
11393
|
-
if (nextTransition = transition.string16 || transition.object16) {
|
|
11394
|
-
targetView2.setInt16(position3, value, true);
|
|
11395
|
-
updatedPosition = position3 + 2;
|
|
11396
|
-
return nextTransition;
|
|
11397
|
-
}
|
|
11398
|
-
if (nextTransition = transition.num32) {
|
|
11399
|
-
targetView2.setUint32(position3, 3758096640 + value, true);
|
|
11400
|
-
updatedPosition = position3 + 4;
|
|
11401
|
-
return nextTransition;
|
|
11402
|
-
}
|
|
11403
|
-
if (nextTransition = transition.num64) {
|
|
11404
|
-
targetView2.setFloat64(position3, NaN, true);
|
|
11405
|
-
targetView2.setInt8(position3, value);
|
|
11406
|
-
updatedPosition = position3 + 8;
|
|
11407
|
-
return nextTransition;
|
|
11408
|
-
}
|
|
11409
|
-
updatedPosition = position3;
|
|
11410
|
-
return;
|
|
11411
|
-
}
|
|
11412
|
-
function createTypeTransition(transition, type, size) {
|
|
11413
|
-
let typeName = TYPE_NAMES[type] + (size << 3);
|
|
11414
|
-
let newTransition = transition[typeName] || (transition[typeName] = /* @__PURE__ */ Object.create(null));
|
|
11415
|
-
newTransition.__type = type;
|
|
11416
|
-
newTransition.__size = size;
|
|
11417
|
-
newTransition.__parent = transition;
|
|
11418
|
-
return newTransition;
|
|
11419
|
-
}
|
|
11420
|
-
function onLoadedStructures2(sharedData) {
|
|
11421
|
-
if (!(sharedData instanceof Map))
|
|
11422
|
-
return sharedData;
|
|
11423
|
-
let typed = sharedData.get("typed") || [];
|
|
11424
|
-
if (Object.isFrozen(typed))
|
|
11425
|
-
typed = typed.map((structure) => structure.slice(0));
|
|
11426
|
-
let named = sharedData.get("named");
|
|
11427
|
-
let transitions = /* @__PURE__ */ Object.create(null);
|
|
11428
|
-
for (let i = 0, l = typed.length; i < l; i++) {
|
|
11429
|
-
let structure = typed[i];
|
|
11430
|
-
let transition = transitions;
|
|
11431
|
-
for (let [type, size, key] of structure) {
|
|
11432
|
-
let nextTransition = transition[key];
|
|
11433
|
-
if (!nextTransition) {
|
|
11434
|
-
transition[key] = nextTransition = {
|
|
11435
|
-
key,
|
|
11436
|
-
parent: transition,
|
|
11437
|
-
enumerationOffset: 0,
|
|
11438
|
-
ascii0: null,
|
|
11439
|
-
ascii8: null,
|
|
11440
|
-
num8: null,
|
|
11441
|
-
string16: null,
|
|
11442
|
-
object16: null,
|
|
11443
|
-
num32: null,
|
|
11444
|
-
float64: null,
|
|
11445
|
-
date64: null
|
|
11446
|
-
};
|
|
11447
|
-
}
|
|
11448
|
-
transition = createTypeTransition(nextTransition, type, size);
|
|
11449
|
-
}
|
|
11450
|
-
transition[RECORD_SYMBOL] = i;
|
|
11451
|
-
}
|
|
11452
|
-
typed.transitions = transitions;
|
|
11453
|
-
this.typedStructs = typed;
|
|
11454
|
-
this.lastTypedStructuresLength = typed.length;
|
|
11455
|
-
return named;
|
|
11456
|
-
}
|
|
11457
|
-
var sourceSymbol = /* @__PURE__ */ Symbol.for("source");
|
|
11458
|
-
function readStruct2(src2, position3, srcEnd2, unpackr) {
|
|
11459
|
-
let recordId = src2[position3++] - 32;
|
|
11460
|
-
if (recordId >= 24) {
|
|
11461
|
-
switch (recordId) {
|
|
11462
|
-
case 24:
|
|
11463
|
-
recordId = src2[position3++];
|
|
11464
|
-
break;
|
|
11465
|
-
// little endian:
|
|
11466
|
-
case 25:
|
|
11467
|
-
recordId = src2[position3++] + (src2[position3++] << 8);
|
|
11468
|
-
break;
|
|
11469
|
-
case 26:
|
|
11470
|
-
recordId = src2[position3++] + (src2[position3++] << 8) + (src2[position3++] << 16);
|
|
11471
|
-
break;
|
|
11472
|
-
case 27:
|
|
11473
|
-
recordId = src2[position3++] + (src2[position3++] << 8) + (src2[position3++] << 16) + (src2[position3++] << 24);
|
|
11474
|
-
break;
|
|
11475
|
-
}
|
|
11476
|
-
}
|
|
11477
|
-
let structure = unpackr.typedStructs && unpackr.typedStructs[recordId];
|
|
11478
|
-
if (!structure) {
|
|
11479
|
-
src2 = Uint8Array.prototype.slice.call(src2, position3, srcEnd2);
|
|
11480
|
-
srcEnd2 -= position3;
|
|
11481
|
-
position3 = 0;
|
|
11482
|
-
if (!unpackr.getStructures)
|
|
11483
|
-
throw new Error(`Reference to shared structure ${recordId} without getStructures method`);
|
|
11484
|
-
unpackr._mergeStructures(unpackr.getStructures());
|
|
11485
|
-
if (!unpackr.typedStructs)
|
|
11486
|
-
throw new Error("Could not find any shared typed structures");
|
|
11487
|
-
unpackr.lastTypedStructuresLength = unpackr.typedStructs.length;
|
|
11488
|
-
structure = unpackr.typedStructs[recordId];
|
|
11489
|
-
if (!structure)
|
|
11490
|
-
throw new Error("Could not find typed structure " + recordId);
|
|
11491
|
-
}
|
|
11492
|
-
var construct = structure.construct;
|
|
11493
|
-
var fullConstruct = structure.fullConstruct;
|
|
11494
|
-
if (!construct) {
|
|
11495
|
-
construct = structure.construct = function LazyObject() {
|
|
11496
|
-
};
|
|
11497
|
-
fullConstruct = structure.fullConstruct = function LoadedObject() {
|
|
11498
|
-
};
|
|
11499
|
-
fullConstruct.prototype = unpackr.structPrototype || {};
|
|
11500
|
-
var prototype = construct.prototype = unpackr.structPrototype ? Object.create(unpackr.structPrototype) : {};
|
|
11501
|
-
let properties = [];
|
|
11502
|
-
let currentOffset = 0;
|
|
11503
|
-
let lastRefProperty;
|
|
11504
|
-
for (let i = 0, l = structure.length; i < l; i++) {
|
|
11505
|
-
let definition = structure[i];
|
|
11506
|
-
let [type, size, key, enumerationOffset] = definition;
|
|
11507
|
-
if (key === "__proto__")
|
|
11508
|
-
key = "__proto_";
|
|
11509
|
-
let property = {
|
|
11510
|
-
key,
|
|
11511
|
-
offset: currentOffset
|
|
11512
|
-
};
|
|
11513
|
-
if (enumerationOffset)
|
|
11514
|
-
properties.splice(i + enumerationOffset, 0, property);
|
|
11515
|
-
else
|
|
11516
|
-
properties.push(property);
|
|
11517
|
-
let getRef;
|
|
11518
|
-
switch (size) {
|
|
11519
|
-
// TODO: Move into a separate function
|
|
11520
|
-
case 0:
|
|
11521
|
-
getRef = () => 0;
|
|
11522
|
-
break;
|
|
11523
|
-
case 1:
|
|
11524
|
-
getRef = (source, position4) => {
|
|
11525
|
-
let ref = source.bytes[position4 + property.offset];
|
|
11526
|
-
return ref >= 246 ? toConstant(ref) : ref;
|
|
11527
|
-
};
|
|
11528
|
-
break;
|
|
11529
|
-
case 2:
|
|
11530
|
-
getRef = (source, position4) => {
|
|
11531
|
-
let src3 = source.bytes;
|
|
11532
|
-
let dataView2 = src3.dataView || (src3.dataView = new DataView(src3.buffer, src3.byteOffset, src3.byteLength));
|
|
11533
|
-
let ref = dataView2.getUint16(position4 + property.offset, true);
|
|
11534
|
-
return ref >= 65280 ? toConstant(ref & 255) : ref;
|
|
11535
|
-
};
|
|
11536
|
-
break;
|
|
11537
|
-
case 4:
|
|
11538
|
-
getRef = (source, position4) => {
|
|
11539
|
-
let src3 = source.bytes;
|
|
11540
|
-
let dataView2 = src3.dataView || (src3.dataView = new DataView(src3.buffer, src3.byteOffset, src3.byteLength));
|
|
11541
|
-
let ref = dataView2.getUint32(position4 + property.offset, true);
|
|
11542
|
-
return ref >= 4294967040 ? toConstant(ref & 255) : ref;
|
|
11543
|
-
};
|
|
11544
|
-
break;
|
|
11545
|
-
}
|
|
11546
|
-
property.getRef = getRef;
|
|
11547
|
-
currentOffset += size;
|
|
11548
|
-
let get;
|
|
11549
|
-
switch (type) {
|
|
11550
|
-
case ASCII:
|
|
11551
|
-
if (lastRefProperty && !lastRefProperty.next)
|
|
11552
|
-
lastRefProperty.next = property;
|
|
11553
|
-
lastRefProperty = property;
|
|
11554
|
-
property.multiGetCount = 0;
|
|
11555
|
-
get = function(source) {
|
|
11556
|
-
let src3 = source.bytes;
|
|
11557
|
-
let position4 = source.position;
|
|
11558
|
-
let refStart = currentOffset + position4;
|
|
11559
|
-
let ref = getRef(source, position4);
|
|
11560
|
-
if (typeof ref !== "number") return ref;
|
|
11561
|
-
let end, next = property.next;
|
|
11562
|
-
while (next) {
|
|
11563
|
-
end = next.getRef(source, position4);
|
|
11564
|
-
if (typeof end === "number")
|
|
11565
|
-
break;
|
|
11566
|
-
else
|
|
11567
|
-
end = null;
|
|
11568
|
-
next = next.next;
|
|
11569
|
-
}
|
|
11570
|
-
if (end == null)
|
|
11571
|
-
end = source.bytesEnd - refStart;
|
|
11572
|
-
if (source.srcString) {
|
|
11573
|
-
return source.srcString.slice(ref, end);
|
|
11574
|
-
}
|
|
11575
|
-
return readString(src3, ref + refStart, end - ref);
|
|
11576
|
-
};
|
|
11577
|
-
break;
|
|
11578
|
-
case UTF8:
|
|
11579
|
-
case OBJECT_DATA:
|
|
11580
|
-
if (lastRefProperty && !lastRefProperty.next)
|
|
11581
|
-
lastRefProperty.next = property;
|
|
11582
|
-
lastRefProperty = property;
|
|
11583
|
-
get = function(source) {
|
|
11584
|
-
let position4 = source.position;
|
|
11585
|
-
let refStart = currentOffset + position4;
|
|
11586
|
-
let ref = getRef(source, position4);
|
|
11587
|
-
if (typeof ref !== "number") return ref;
|
|
11588
|
-
let src3 = source.bytes;
|
|
11589
|
-
let end, next = property.next;
|
|
11590
|
-
while (next) {
|
|
11591
|
-
end = next.getRef(source, position4);
|
|
11592
|
-
if (typeof end === "number")
|
|
11593
|
-
break;
|
|
11594
|
-
else
|
|
11595
|
-
end = null;
|
|
11596
|
-
next = next.next;
|
|
11597
|
-
}
|
|
11598
|
-
if (end == null)
|
|
11599
|
-
end = source.bytesEnd - refStart;
|
|
11600
|
-
if (type === UTF8) {
|
|
11601
|
-
return src3.toString("utf8", ref + refStart, end + refStart);
|
|
11602
|
-
} else {
|
|
11603
|
-
currentSource = source;
|
|
11604
|
-
try {
|
|
11605
|
-
return unpackr.unpack(src3, { start: ref + refStart, end: end + refStart });
|
|
11606
|
-
} finally {
|
|
11607
|
-
currentSource = null;
|
|
11608
|
-
}
|
|
11609
|
-
}
|
|
11610
|
-
};
|
|
11611
|
-
break;
|
|
11612
|
-
case NUMBER:
|
|
11613
|
-
switch (size) {
|
|
11614
|
-
case 4:
|
|
11615
|
-
get = function(source) {
|
|
11616
|
-
let src3 = source.bytes;
|
|
11617
|
-
let dataView2 = src3.dataView || (src3.dataView = new DataView(src3.buffer, src3.byteOffset, src3.byteLength));
|
|
11618
|
-
let position4 = source.position + property.offset;
|
|
11619
|
-
let value = dataView2.getInt32(position4, true);
|
|
11620
|
-
if (value < 536870912) {
|
|
11621
|
-
if (value > -520093696)
|
|
11622
|
-
return value;
|
|
11623
|
-
if (value > -536870912)
|
|
11624
|
-
return toConstant(value & 255);
|
|
11625
|
-
}
|
|
11626
|
-
let fValue = dataView2.getFloat32(position4, true);
|
|
11627
|
-
let multiplier = mult10[(src3[position4 + 3] & 127) << 1 | src3[position4 + 2] >> 7];
|
|
11628
|
-
return (multiplier * fValue + (fValue > 0 ? 0.5 : -0.5) >> 0) / multiplier;
|
|
11629
|
-
};
|
|
11630
|
-
break;
|
|
11631
|
-
case 8:
|
|
11632
|
-
get = function(source) {
|
|
11633
|
-
let src3 = source.bytes;
|
|
11634
|
-
let dataView2 = src3.dataView || (src3.dataView = new DataView(src3.buffer, src3.byteOffset, src3.byteLength));
|
|
11635
|
-
let value = dataView2.getFloat64(source.position + property.offset, true);
|
|
11636
|
-
if (isNaN(value)) {
|
|
11637
|
-
let byte = src3[source.position + property.offset];
|
|
11638
|
-
if (byte >= 246)
|
|
11639
|
-
return toConstant(byte);
|
|
11640
|
-
}
|
|
11641
|
-
return value;
|
|
11642
|
-
};
|
|
11643
|
-
break;
|
|
11644
|
-
case 1:
|
|
11645
|
-
get = function(source) {
|
|
11646
|
-
let src3 = source.bytes;
|
|
11647
|
-
let value = src3[source.position + property.offset];
|
|
11648
|
-
return value < 246 ? value : toConstant(value);
|
|
11649
|
-
};
|
|
11650
|
-
break;
|
|
11651
|
-
}
|
|
11652
|
-
break;
|
|
11653
|
-
case DATE:
|
|
11654
|
-
get = function(source) {
|
|
11655
|
-
let src3 = source.bytes;
|
|
11656
|
-
let dataView2 = src3.dataView || (src3.dataView = new DataView(src3.buffer, src3.byteOffset, src3.byteLength));
|
|
11657
|
-
return new Date(dataView2.getFloat64(source.position + property.offset, true));
|
|
11658
|
-
};
|
|
11659
|
-
break;
|
|
11660
|
-
}
|
|
11661
|
-
property.get = get;
|
|
11662
|
-
}
|
|
11663
|
-
if (evalSupported) {
|
|
11664
|
-
let objectLiteralProperties = [];
|
|
11665
|
-
let args = [];
|
|
11666
|
-
let i = 0;
|
|
11667
|
-
let hasInheritedProperties;
|
|
11668
|
-
for (let property of properties) {
|
|
11669
|
-
if (unpackr.alwaysLazyProperty && unpackr.alwaysLazyProperty(property.key)) {
|
|
11670
|
-
hasInheritedProperties = true;
|
|
11671
|
-
continue;
|
|
11672
|
-
}
|
|
11673
|
-
Object.defineProperty(prototype, property.key, { get: withSource(property.get), enumerable: true });
|
|
11674
|
-
let valueFunction = "v" + i++;
|
|
11675
|
-
args.push(valueFunction);
|
|
11676
|
-
objectLiteralProperties.push("o[" + JSON.stringify(property.key) + "]=" + valueFunction + "(s)");
|
|
11677
|
-
}
|
|
11678
|
-
if (hasInheritedProperties) {
|
|
11679
|
-
objectLiteralProperties.push("__proto__:this");
|
|
11680
|
-
}
|
|
11681
|
-
let toObject = new Function(...args, "var c=this;return function(s){var o=new c();" + objectLiteralProperties.join(";") + ";return o;}").apply(fullConstruct, properties.map((prop) => prop.get));
|
|
11682
|
-
Object.defineProperty(prototype, "toJSON", {
|
|
11683
|
-
value(omitUnderscoredProperties) {
|
|
11684
|
-
return toObject.call(this, this[sourceSymbol]);
|
|
11685
|
-
}
|
|
11686
|
-
});
|
|
11687
|
-
} else {
|
|
11688
|
-
Object.defineProperty(prototype, "toJSON", {
|
|
11689
|
-
value(omitUnderscoredProperties) {
|
|
11690
|
-
let resolved = {};
|
|
11691
|
-
for (let i = 0, l = properties.length; i < l; i++) {
|
|
11692
|
-
let key = properties[i].key;
|
|
11693
|
-
resolved[key] = this[key];
|
|
11694
|
-
}
|
|
11695
|
-
return resolved;
|
|
11696
|
-
}
|
|
11697
|
-
// not enumerable or anything
|
|
11698
|
-
});
|
|
11699
|
-
}
|
|
11700
|
-
}
|
|
11701
|
-
var instance = new construct();
|
|
11702
|
-
instance[sourceSymbol] = {
|
|
11703
|
-
bytes: src2,
|
|
11704
|
-
position: position3,
|
|
11705
|
-
srcString: "",
|
|
11706
|
-
bytesEnd: srcEnd2
|
|
11707
|
-
};
|
|
11708
|
-
return instance;
|
|
11709
|
-
}
|
|
11710
|
-
function toConstant(code) {
|
|
11711
|
-
switch (code) {
|
|
11712
|
-
case 246:
|
|
11713
|
-
return null;
|
|
11714
|
-
case 247:
|
|
11715
|
-
return void 0;
|
|
11716
|
-
case 248:
|
|
11717
|
-
return false;
|
|
11718
|
-
case 249:
|
|
11719
|
-
return true;
|
|
11720
|
-
}
|
|
11721
|
-
throw new Error("Unknown constant");
|
|
11722
|
-
}
|
|
11723
|
-
function withSource(get) {
|
|
11724
|
-
return function() {
|
|
11725
|
-
return get(this[sourceSymbol]);
|
|
11726
|
-
};
|
|
11727
|
-
}
|
|
11728
|
-
function saveState2() {
|
|
11729
|
-
if (currentSource) {
|
|
11730
|
-
currentSource.bytes = Uint8Array.prototype.slice.call(currentSource.bytes, currentSource.position, currentSource.bytesEnd);
|
|
11731
|
-
currentSource.position = 0;
|
|
11732
|
-
currentSource.bytesEnd = currentSource.bytes.length;
|
|
11733
|
-
}
|
|
11734
|
-
}
|
|
11735
|
-
function prepareStructures2(structures, packr2) {
|
|
11736
|
-
if (packr2.typedStructs) {
|
|
11737
|
-
let structMap = /* @__PURE__ */ new Map();
|
|
11738
|
-
structMap.set("named", structures);
|
|
11739
|
-
structMap.set("typed", packr2.typedStructs);
|
|
11740
|
-
structures = structMap;
|
|
11741
|
-
}
|
|
11742
|
-
let lastTypedStructuresLength = packr2.lastTypedStructuresLength || 0;
|
|
11743
|
-
structures.isCompatible = (existing) => {
|
|
11744
|
-
let compatible = true;
|
|
11745
|
-
if (existing instanceof Map) {
|
|
11746
|
-
let named = existing.get("named") || [];
|
|
11747
|
-
if (named.length !== (packr2.lastNamedStructuresLength || 0))
|
|
11748
|
-
compatible = false;
|
|
11749
|
-
let typed = existing.get("typed") || [];
|
|
11750
|
-
if (typed.length !== lastTypedStructuresLength)
|
|
11751
|
-
compatible = false;
|
|
11752
|
-
} else if (existing instanceof Array || Array.isArray(existing)) {
|
|
11753
|
-
if (existing.length !== (packr2.lastNamedStructuresLength || 0))
|
|
11754
|
-
compatible = false;
|
|
11755
|
-
}
|
|
11756
|
-
if (!compatible)
|
|
11757
|
-
packr2._mergeStructures(existing);
|
|
11758
|
-
return compatible;
|
|
11759
|
-
};
|
|
11760
|
-
packr2.lastTypedStructuresLength = packr2.typedStructs && packr2.typedStructs.length;
|
|
11761
|
-
return structures;
|
|
11762
|
-
}
|
|
11763
|
-
setReadStruct(readStruct2, onLoadedStructures2, saveState2);
|
|
11764
|
-
|
|
11765
|
-
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/1.11.8/3a03288ce34b3622573235eb6e95ed0fc3d7da61db4052fd4539f96d11dae310/node_modules/msgpackr/node-index.js
|
|
11183
|
+
// ../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/msgpackr/2.0.4/4846a2ae9cbdea249e2eda7b79740c6d2b16af4f09769fa313dd4f4064702820/node_modules/msgpackr/node-index.js
|
|
11766
11184
|
import { createRequire } from "module";
|
|
11767
11185
|
var nativeAccelerationDisabled = process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED !== void 0 && process.env.MSGPACKR_NATIVE_ACCELERATION_DISABLED.toLowerCase() === "true";
|
|
11768
11186
|
if (!nativeAccelerationDisabled) {
|
|
@@ -11779,6 +11197,7 @@ if (!nativeAccelerationDisabled) {
|
|
|
11779
11197
|
}
|
|
11780
11198
|
|
|
11781
11199
|
// ../store/index/lib/index.js
|
|
11200
|
+
var FROZEN_STORE_WRITE_MESSAGE = "Cannot write to the package store because frozenStore is enabled (the store is opened read-only). This indicates the store is missing content the install needs.";
|
|
11782
11201
|
var req = createRequire2(import.meta.url);
|
|
11783
11202
|
var { DatabaseSync } = req("node:sqlite");
|
|
11784
11203
|
var packr = new Packr({
|
|
@@ -11825,9 +11244,20 @@ var StoreIndex = class {
|
|
|
11825
11244
|
stmtKeys;
|
|
11826
11245
|
exitHandler;
|
|
11827
11246
|
constructor(storeDir) {
|
|
11828
|
-
|
|
11247
|
+
this.openDatabase(storeDir);
|
|
11248
|
+
this.prepareStatements();
|
|
11249
|
+
this.exitHandler = () => this.close();
|
|
11250
|
+
const currentMax = process.getMaxListeners();
|
|
11251
|
+
if (currentMax !== 0 && currentMax < openInstances.size + 11) {
|
|
11252
|
+
process.setMaxListeners(Math.max(currentMax + 10, openInstances.size + 11));
|
|
11253
|
+
}
|
|
11254
|
+
process.on("exit", this.exitHandler);
|
|
11255
|
+
openInstances.add(this);
|
|
11256
|
+
}
|
|
11257
|
+
/** Open the SQLite connection. Overridden by {@link ReadOnlyStoreIndex}. */
|
|
11258
|
+
openDatabase(storeDir) {
|
|
11829
11259
|
fs11.mkdirSync(storeDir, { recursive: true });
|
|
11830
|
-
this.db = new DatabaseSync(
|
|
11260
|
+
this.db = new DatabaseSync(`${storeDir}/index.db`);
|
|
11831
11261
|
this.db.exec("PRAGMA busy_timeout=5000");
|
|
11832
11262
|
sqliteRetry(() => {
|
|
11833
11263
|
this.db.exec("PRAGMA journal_mode=WAL");
|
|
@@ -11843,19 +11273,15 @@ var StoreIndex = class {
|
|
|
11843
11273
|
) WITHOUT ROWID
|
|
11844
11274
|
`);
|
|
11845
11275
|
});
|
|
11276
|
+
}
|
|
11277
|
+
/** Prepare the prepared statements. Overridden by {@link ReadOnlyStoreIndex} to skip the write statements. */
|
|
11278
|
+
prepareStatements() {
|
|
11846
11279
|
this.stmtGet = this.db.prepare("SELECT data FROM package_index WHERE key = ?");
|
|
11847
11280
|
this.stmtSet = this.db.prepare("INSERT OR REPLACE INTO package_index (key, data) VALUES (?, ?)");
|
|
11848
11281
|
this.stmtDel = this.db.prepare("DELETE FROM package_index WHERE key = ?");
|
|
11849
11282
|
this.stmtHas = this.db.prepare("SELECT 1 FROM package_index WHERE key = ?");
|
|
11850
11283
|
this.stmtAll = this.db.prepare("SELECT key, data FROM package_index");
|
|
11851
11284
|
this.stmtKeys = this.db.prepare("SELECT key FROM package_index");
|
|
11852
|
-
this.exitHandler = () => this.close();
|
|
11853
|
-
const currentMax = process.getMaxListeners();
|
|
11854
|
-
if (currentMax !== 0 && currentMax < openInstances.size + 11) {
|
|
11855
|
-
process.setMaxListeners(Math.max(currentMax + 10, openInstances.size + 11));
|
|
11856
|
-
}
|
|
11857
|
-
process.on("exit", this.exitHandler);
|
|
11858
|
-
openInstances.add(this);
|
|
11859
11285
|
}
|
|
11860
11286
|
get(key) {
|
|
11861
11287
|
const row = sqliteRetry(() => this.stmtGet.get(key));
|
|
@@ -12005,16 +11431,72 @@ var StoreIndex = class {
|
|
|
12005
11431
|
this.closed = true;
|
|
12006
11432
|
openInstances.delete(this);
|
|
12007
11433
|
process.removeListener("exit", this.exitHandler);
|
|
11434
|
+
this.optimizeBeforeClose();
|
|
12008
11435
|
try {
|
|
12009
|
-
this.db.
|
|
11436
|
+
this.db.close();
|
|
12010
11437
|
} catch {
|
|
12011
11438
|
}
|
|
11439
|
+
}
|
|
11440
|
+
/** Run `PRAGMA optimize` before closing. Overridden by {@link ReadOnlyStoreIndex} to skip it (the DB is immutable). */
|
|
11441
|
+
optimizeBeforeClose() {
|
|
12012
11442
|
try {
|
|
12013
|
-
this.db.
|
|
11443
|
+
this.db.exec("PRAGMA optimize");
|
|
12014
11444
|
} catch {
|
|
12015
11445
|
}
|
|
12016
11446
|
}
|
|
12017
11447
|
};
|
|
11448
|
+
var ReadOnlyStoreIndex = class extends StoreIndex {
|
|
11449
|
+
openDatabase(storeDir) {
|
|
11450
|
+
if (!nodeSupportsImmutableSqliteUri()) {
|
|
11451
|
+
throw new PnpmError("FROZEN_STORE_UNSUPPORTED_NODE", `frozenStore opens the store index read-only via a SQLite "immutable" URI, which requires Node.js >=22.15.0, >=23.11.0, or >=24.0.0, but the current version is ${process.versions.node}. Upgrade Node.js, or run without frozenStore.`);
|
|
11452
|
+
}
|
|
11453
|
+
this.db = new DatabaseSync(immutableSqliteUri(`${storeDir}/index.db`));
|
|
11454
|
+
}
|
|
11455
|
+
prepareStatements() {
|
|
11456
|
+
this.stmtGet = this.db.prepare("SELECT data FROM package_index WHERE key = ?");
|
|
11457
|
+
this.stmtHas = this.db.prepare("SELECT 1 FROM package_index WHERE key = ?");
|
|
11458
|
+
this.stmtAll = this.db.prepare("SELECT key, data FROM package_index");
|
|
11459
|
+
this.stmtKeys = this.db.prepare("SELECT key FROM package_index");
|
|
11460
|
+
}
|
|
11461
|
+
optimizeBeforeClose() {
|
|
11462
|
+
}
|
|
11463
|
+
set(_key, _data) {
|
|
11464
|
+
this.throwReadOnly();
|
|
11465
|
+
}
|
|
11466
|
+
delete(_key) {
|
|
11467
|
+
this.throwReadOnly();
|
|
11468
|
+
}
|
|
11469
|
+
queueWrites(_writes) {
|
|
11470
|
+
this.throwReadOnly();
|
|
11471
|
+
}
|
|
11472
|
+
setRawMany(_entries) {
|
|
11473
|
+
this.throwReadOnly();
|
|
11474
|
+
}
|
|
11475
|
+
deleteMany(_keys) {
|
|
11476
|
+
this.throwReadOnly();
|
|
11477
|
+
}
|
|
11478
|
+
checkpoint() {
|
|
11479
|
+
this.throwReadOnly();
|
|
11480
|
+
}
|
|
11481
|
+
throwReadOnly() {
|
|
11482
|
+
throw new PnpmError("FROZEN_STORE_WRITE", FROZEN_STORE_WRITE_MESSAGE);
|
|
11483
|
+
}
|
|
11484
|
+
};
|
|
11485
|
+
function immutableSqliteUri(dbPath) {
|
|
11486
|
+
const url = pathToFileURL(dbPath);
|
|
11487
|
+
url.searchParams.set("immutable", "1");
|
|
11488
|
+
return url.href;
|
|
11489
|
+
}
|
|
11490
|
+
function nodeSupportsImmutableSqliteUri() {
|
|
11491
|
+
const [major, minor] = process.versions.node.split(".", 2).map(Number);
|
|
11492
|
+
if (major < 22)
|
|
11493
|
+
return false;
|
|
11494
|
+
if (major === 22)
|
|
11495
|
+
return minor >= 15;
|
|
11496
|
+
if (major === 23)
|
|
11497
|
+
return minor >= 11;
|
|
11498
|
+
return true;
|
|
11499
|
+
}
|
|
12018
11500
|
|
|
12019
11501
|
// ../worker/lib/equalOrSemverEqual.js
|
|
12020
11502
|
var import_semver2 = __toESM(require_semver2(), 1);
|
|
@@ -12039,11 +11521,12 @@ var cafsCache = /* @__PURE__ */ new Map();
|
|
|
12039
11521
|
var cafsStoreCache = /* @__PURE__ */ new Map();
|
|
12040
11522
|
var cafsLocker = /* @__PURE__ */ new Map();
|
|
12041
11523
|
var storeIndexCache = /* @__PURE__ */ new Map();
|
|
12042
|
-
function getStoreIndex(storeDir) {
|
|
12043
|
-
|
|
12044
|
-
|
|
11524
|
+
function getStoreIndex(storeDir, frozen = false) {
|
|
11525
|
+
const cacheKey = frozen ? `${storeDir}\0frozen` : storeDir;
|
|
11526
|
+
if (!storeIndexCache.has(cacheKey)) {
|
|
11527
|
+
storeIndexCache.set(cacheKey, frozen ? new ReadOnlyStoreIndex(storeDir) : new StoreIndex(storeDir));
|
|
12045
11528
|
}
|
|
12046
|
-
return storeIndexCache.get(
|
|
11529
|
+
return storeIndexCache.get(cacheKey);
|
|
12047
11530
|
}
|
|
12048
11531
|
async function handleMessage(message) {
|
|
12049
11532
|
if (message === false) {
|
|
@@ -12073,8 +11556,8 @@ async function handleMessage(message) {
|
|
|
12073
11556
|
break;
|
|
12074
11557
|
}
|
|
12075
11558
|
case "readPkgFromCafs": {
|
|
12076
|
-
const { storeDir, filesIndexFile, verifyStoreIntegrity, expectedPkg, strictStorePkgContentCheck } = message;
|
|
12077
|
-
const pkgFilesIndex = getStoreIndex(storeDir).get(filesIndexFile);
|
|
11559
|
+
const { storeDir, filesIndexFile, verifyStoreIntegrity, expectedPkg, strictStorePkgContentCheck, frozenStore } = message;
|
|
11560
|
+
const pkgFilesIndex = getStoreIndex(storeDir, frozenStore).get(filesIndexFile);
|
|
12078
11561
|
if (!pkgFilesIndex) {
|
|
12079
11562
|
parentPort.postMessage({
|
|
12080
11563
|
status: "success",
|