@powerhousedao/shared 6.2.0-dev.3 → 6.2.0-dev.30
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/clis/args/{common-Dmf4BGPa.d.mts → common-DxMY8vx1.d.mts} +3 -3
- package/dist/clis/args/{common-Dmf4BGPa.d.mts.map → common-DxMY8vx1.d.mts.map} +1 -1
- package/dist/clis/args/common-fPNESurz.mjs.map +1 -1
- package/dist/clis/args/common.d.mts +1 -1
- package/dist/clis/args/connect.d.mts +6 -0
- package/dist/clis/args/connect.d.mts.map +1 -1
- package/dist/clis/args/connect.mjs +6 -1
- package/dist/clis/args/connect.mjs.map +1 -1
- package/dist/clis/args/index.d.mts +2 -2
- package/dist/clis/args/service-C88bN_g_.d.mts +22 -0
- package/dist/clis/args/service-C88bN_g_.d.mts.map +1 -0
- package/dist/clis/args/service.d.mts +1 -1
- package/dist/clis/args/vetra.d.mts +3 -0
- package/dist/clis/args/vetra.d.mts.map +1 -1
- package/dist/clis/args/vetra.mjs +5 -0
- package/dist/clis/args/vetra.mjs.map +1 -1
- package/dist/clis/build-config.d.mts +1 -1
- package/dist/clis/build-config.d.mts.map +1 -1
- package/dist/clis/constants.d.mts +11 -97
- package/dist/clis/constants.d.mts.map +1 -1
- package/dist/clis/constants.mjs +43 -12
- package/dist/clis/constants.mjs.map +1 -1
- package/dist/clis/index.d.mts +28 -109
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +452 -54
- package/dist/clis/index.mjs.map +1 -1
- package/dist/connect/config-loader.d.ts +1 -1
- package/dist/connect/index.d.ts +1 -1
- package/dist/document-drive/index.d.ts +2 -2
- package/dist/document-model/index.d.ts +3 -3
- package/dist/document-model/index.js +319 -19
- package/dist/document-model/index.js.map +1 -1
- package/dist/{index-DalC_-i7.d.ts → index-DLx4nU83.d.ts} +41 -3
- package/dist/index-DLx4nU83.d.ts.map +1 -0
- package/dist/index.d.ts +4 -4
- package/dist/processors/index.d.ts +1 -1
- package/dist/registry/index.d.ts +4 -3
- package/dist/registry/index.d.ts.map +1 -1
- package/dist/registry/index.js +2 -1
- package/dist/registry/index.js.map +1 -1
- package/dist/registry/manifest-slim.d.ts +17 -0
- package/dist/registry/manifest-slim.d.ts.map +1 -0
- package/dist/registry/manifest-slim.js +57 -0
- package/dist/registry/manifest-slim.js.map +1 -0
- package/dist/types-Bo4Rb8Yf.d.ts +2492 -0
- package/dist/types-Bo4Rb8Yf.d.ts.map +1 -0
- package/dist/{types-CVqmv94G.d.ts → types-CgGSyOl6.d.ts} +2 -2
- package/dist/{types-CVqmv94G.d.ts.map → types-CgGSyOl6.d.ts.map} +1 -1
- package/dist/{types-Daq_zHP_.d.ts → types-Lj1TT2LW.d.ts} +1 -2
- package/dist/{types-Daq_zHP_.d.ts.map → types-Lj1TT2LW.d.ts.map} +1 -1
- package/package.json +16 -3
- package/dist/clis/args/service-DbbCQSks.d.mts +0 -106
- package/dist/clis/args/service-DbbCQSks.d.mts.map +0 -1
- package/dist/index-DalC_-i7.d.ts.map +0 -1
- package/dist/types-CC6ib3_2.d.ts +0 -21068
- package/dist/types-CC6ib3_2.d.ts.map +0 -1
package/dist/clis/index.mjs
CHANGED
|
@@ -166,8 +166,10 @@ const packageJsonExports = {
|
|
|
166
166
|
};
|
|
167
167
|
const packageScripts = {
|
|
168
168
|
"test:watch": "vitest",
|
|
169
|
-
lint: "
|
|
170
|
-
"lint:fix": "
|
|
169
|
+
lint: "oxlint --type-aware --type-check",
|
|
170
|
+
"lint:fix": "oxlint --type-aware --type-check --fix",
|
|
171
|
+
format: "oxfmt",
|
|
172
|
+
"format:check": "oxfmt --check",
|
|
171
173
|
tsc: "tsc",
|
|
172
174
|
"tsc:watch": "tsc --watch",
|
|
173
175
|
generate: "ph-cli generate",
|
|
@@ -180,10 +182,43 @@ const packageScripts = {
|
|
|
180
182
|
"service-unstartup": "bash ./node_modules/@powerhousedao/ph-cli/dist/scripts/service-unstartup.sh"
|
|
181
183
|
};
|
|
182
184
|
const externalDependencies = {};
|
|
185
|
+
const LEGACY_LINT_FORMAT_DEPENDENCIES = [
|
|
186
|
+
"@eslint/js",
|
|
187
|
+
"eslint",
|
|
188
|
+
"eslint-config-prettier",
|
|
189
|
+
"eslint-plugin-prettier",
|
|
190
|
+
"eslint-plugin-react",
|
|
191
|
+
"eslint-plugin-react-hooks",
|
|
192
|
+
"globals",
|
|
193
|
+
"prettier",
|
|
194
|
+
"typescript-eslint"
|
|
195
|
+
];
|
|
196
|
+
const LEGACY_LINT_FORMAT_FILES = [
|
|
197
|
+
"eslint.config.js",
|
|
198
|
+
"eslint.config.mjs",
|
|
199
|
+
"eslint.config.cjs",
|
|
200
|
+
"eslint.config.ts",
|
|
201
|
+
".eslintrc",
|
|
202
|
+
".eslintrc.js",
|
|
203
|
+
".eslintrc.cjs",
|
|
204
|
+
".eslintrc.json",
|
|
205
|
+
".eslintrc.yml",
|
|
206
|
+
".eslintrc.yaml",
|
|
207
|
+
".eslintignore",
|
|
208
|
+
".prettierrc",
|
|
209
|
+
".prettierrc.js",
|
|
210
|
+
".prettierrc.cjs",
|
|
211
|
+
".prettierrc.json",
|
|
212
|
+
".prettierrc.yml",
|
|
213
|
+
".prettierrc.yaml",
|
|
214
|
+
"prettier.config.js",
|
|
215
|
+
"prettier.config.cjs",
|
|
216
|
+
"prettier.config.mjs",
|
|
217
|
+
".prettierignore"
|
|
218
|
+
];
|
|
183
219
|
const externalDevDependencies = {
|
|
184
220
|
"@electric-sql/pglite": "0.3.15",
|
|
185
221
|
"@electric-sql/pglite-tools": "0.2.20",
|
|
186
|
-
"@eslint/js": "^9.38.0",
|
|
187
222
|
"@powerhousedao/document-engineering": "1.40.5",
|
|
188
223
|
"@tailwindcss/cli": "^4.1.18",
|
|
189
224
|
"@tailwindcss/vite": "^4.1.18",
|
|
@@ -192,16 +227,12 @@ const externalDevDependencies = {
|
|
|
192
227
|
"@types/react-dom": "^19.2.3",
|
|
193
228
|
"@vitejs/plugin-react": "^6.0.1",
|
|
194
229
|
"@vitest/coverage-v8": "4.1.1",
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
"eslint-plugin-react": "^7.37.5",
|
|
199
|
-
"eslint-plugin-react-hooks": "^7.0.1",
|
|
200
|
-
globals: "^16.4.0",
|
|
230
|
+
oxfmt: "0.55.0",
|
|
231
|
+
oxlint: "1.70.0",
|
|
232
|
+
"oxlint-tsgolint": "0.23.0",
|
|
201
233
|
tailwindcss: "^4.1.16",
|
|
202
234
|
typescript: "^5.9.3",
|
|
203
|
-
|
|
204
|
-
vite: "^8.0.8",
|
|
235
|
+
vite: "^8.0.10",
|
|
205
236
|
"vite-tsconfig-paths": "6.1.1",
|
|
206
237
|
vitest: "4.1.1"
|
|
207
238
|
};
|
|
@@ -603,6 +634,11 @@ const connectBuildArgs = {
|
|
|
603
634
|
}),
|
|
604
635
|
...connectRuntimeOverrideArgs,
|
|
605
636
|
...connectPositionalArgs,
|
|
637
|
+
dynamicBase: flag({
|
|
638
|
+
type: optional(boolean),
|
|
639
|
+
long: "dynamic-base",
|
|
640
|
+
description: "Build one bundle that serves under any subpath; base resolved at serve time from a runtime global. Overrides --base."
|
|
641
|
+
}),
|
|
606
642
|
...commonArgs
|
|
607
643
|
};
|
|
608
644
|
const connectPreviewArgs = {
|
|
@@ -1072,6 +1108,11 @@ const vetraArgs = {
|
|
|
1072
1108
|
defaultValue: () => false,
|
|
1073
1109
|
defaultValueIsSerializable: true
|
|
1074
1110
|
}),
|
|
1111
|
+
drivesPublicBase: option({
|
|
1112
|
+
type: optional(string),
|
|
1113
|
+
long: "drives-public-base",
|
|
1114
|
+
description: "public base URL for the drive URLs advertised to Connect; each drive is exposed as <base>/d/<slug> instead of http://localhost:<switchboard-port>/d/<slug>. Use when the switchboard is reachable through a reverse proxy."
|
|
1115
|
+
}),
|
|
1075
1116
|
dbPath: option({
|
|
1076
1117
|
type: optional(string),
|
|
1077
1118
|
long: "db-path",
|
|
@@ -2773,13 +2814,13 @@ function parseJson(string, reviver, fileName) {
|
|
|
2773
2814
|
}
|
|
2774
2815
|
}
|
|
2775
2816
|
//#endregion
|
|
2776
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2777
|
-
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2817
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/debug.js
|
|
2818
|
+
var require_debug$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2778
2819
|
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
2779
2820
|
}));
|
|
2780
2821
|
//#endregion
|
|
2781
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2782
|
-
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2822
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/constants.js
|
|
2823
|
+
var require_constants$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2783
2824
|
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
2784
2825
|
const MAX_LENGTH = 256;
|
|
2785
2826
|
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
@@ -2803,10 +2844,10 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2803
2844
|
};
|
|
2804
2845
|
}));
|
|
2805
2846
|
//#endregion
|
|
2806
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2807
|
-
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2808
|
-
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
|
|
2809
|
-
const debug = require_debug();
|
|
2847
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/re.js
|
|
2848
|
+
var require_re$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2849
|
+
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants$1();
|
|
2850
|
+
const debug = require_debug$1();
|
|
2810
2851
|
exports = module.exports = {};
|
|
2811
2852
|
const re = exports.re = [];
|
|
2812
2853
|
const safeRe = exports.safeRe = [];
|
|
@@ -2882,8 +2923,8 @@ var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2882
2923
|
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
2883
2924
|
}));
|
|
2884
2925
|
//#endregion
|
|
2885
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2886
|
-
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2926
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/parse-options.js
|
|
2927
|
+
var require_parse_options$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2887
2928
|
const looseOption = Object.freeze({ loose: true });
|
|
2888
2929
|
const emptyOpts = Object.freeze({});
|
|
2889
2930
|
const parseOptions = (options) => {
|
|
@@ -2894,8 +2935,8 @@ var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) =>
|
|
|
2894
2935
|
module.exports = parseOptions;
|
|
2895
2936
|
}));
|
|
2896
2937
|
//#endregion
|
|
2897
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2898
|
-
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2938
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/internal/identifiers.js
|
|
2939
|
+
var require_identifiers$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2899
2940
|
const numeric = /^[0-9]+$/;
|
|
2900
2941
|
const compareIdentifiers = (a, b) => {
|
|
2901
2942
|
if (typeof a === "number" && typeof b === "number") return a === b ? 0 : a < b ? -1 : 1;
|
|
@@ -2914,13 +2955,19 @@ var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
2914
2955
|
};
|
|
2915
2956
|
}));
|
|
2916
2957
|
//#endregion
|
|
2917
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
2918
|
-
var require_semver$
|
|
2919
|
-
const debug = require_debug();
|
|
2920
|
-
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
2921
|
-
const { safeRe: re, t } = require_re();
|
|
2922
|
-
const parseOptions = require_parse_options();
|
|
2923
|
-
const { compareIdentifiers } = require_identifiers();
|
|
2958
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/classes/semver.js
|
|
2959
|
+
var require_semver$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
2960
|
+
const debug = require_debug$1();
|
|
2961
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants$1();
|
|
2962
|
+
const { safeRe: re, t } = require_re$1();
|
|
2963
|
+
const parseOptions = require_parse_options$1();
|
|
2964
|
+
const { compareIdentifiers } = require_identifiers$1();
|
|
2965
|
+
const isPrereleaseIdentifier = (prerelease, identifier) => {
|
|
2966
|
+
const identifiers = identifier.split(".");
|
|
2967
|
+
if (identifiers.length > prerelease.length) return false;
|
|
2968
|
+
for (let i = 0; i < identifiers.length; i++) if (compareIdentifiers(prerelease[i], identifiers[i]) !== 0) return false;
|
|
2969
|
+
return true;
|
|
2970
|
+
};
|
|
2924
2971
|
module.exports = class SemVer {
|
|
2925
2972
|
constructor(version, options) {
|
|
2926
2973
|
options = parseOptions(options);
|
|
@@ -3077,8 +3124,9 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3077
3124
|
if (identifier) {
|
|
3078
3125
|
let prerelease = [identifier, base];
|
|
3079
3126
|
if (identifierBase === false) prerelease = [identifier];
|
|
3080
|
-
if (
|
|
3081
|
-
|
|
3127
|
+
if (isPrereleaseIdentifier(this.prerelease, identifier)) {
|
|
3128
|
+
const prereleaseBase = this.prerelease[identifier.split(".").length];
|
|
3129
|
+
if (isNaN(prereleaseBase)) this.prerelease = prerelease;
|
|
3082
3130
|
} else this.prerelease = prerelease;
|
|
3083
3131
|
}
|
|
3084
3132
|
break;
|
|
@@ -3092,9 +3140,9 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3092
3140
|
};
|
|
3093
3141
|
}));
|
|
3094
3142
|
//#endregion
|
|
3095
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3096
|
-
var require_parse$
|
|
3097
|
-
const SemVer = require_semver$
|
|
3143
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/parse.js
|
|
3144
|
+
var require_parse$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3145
|
+
const SemVer = require_semver$2();
|
|
3098
3146
|
const parse = (version, options, throwErrors = false) => {
|
|
3099
3147
|
if (version instanceof SemVer) return version;
|
|
3100
3148
|
try {
|
|
@@ -3107,9 +3155,9 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3107
3155
|
module.exports = parse;
|
|
3108
3156
|
}));
|
|
3109
3157
|
//#endregion
|
|
3110
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3111
|
-
var require_valid$
|
|
3112
|
-
const parse = require_parse$
|
|
3158
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/valid.js
|
|
3159
|
+
var require_valid$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3160
|
+
const parse = require_parse$2();
|
|
3113
3161
|
const valid = (version, options) => {
|
|
3114
3162
|
const v = parse(version, options);
|
|
3115
3163
|
return v ? v.version : null;
|
|
@@ -3117,9 +3165,9 @@ var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
3117
3165
|
module.exports = valid;
|
|
3118
3166
|
}));
|
|
3119
3167
|
//#endregion
|
|
3120
|
-
//#region ../../node_modules/.pnpm/semver@7.
|
|
3121
|
-
var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3122
|
-
const parse = require_parse$
|
|
3168
|
+
//#region ../../node_modules/.pnpm/semver@7.8.4/node_modules/semver/functions/clean.js
|
|
3169
|
+
var require_clean$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
3170
|
+
const parse = require_parse$2();
|
|
3123
3171
|
const clean = (version, options) => {
|
|
3124
3172
|
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
3125
3173
|
return s ? s.version : null;
|
|
@@ -4026,7 +4074,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4026
4074
|
}));
|
|
4027
4075
|
//#endregion
|
|
4028
4076
|
//#region ../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/parse.js
|
|
4029
|
-
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4077
|
+
var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4030
4078
|
module.exports = function(tokens) {
|
|
4031
4079
|
var index = 0;
|
|
4032
4080
|
function hasMore() {
|
|
@@ -4117,7 +4165,7 @@ var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
4117
4165
|
//#region ../../node_modules/.pnpm/spdx-expression-parse@3.0.1/node_modules/spdx-expression-parse/index.js
|
|
4118
4166
|
var require_spdx_expression_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4119
4167
|
var scan = require_scan();
|
|
4120
|
-
var parse = require_parse();
|
|
4168
|
+
var parse = require_parse$1();
|
|
4121
4169
|
module.exports = function(source) {
|
|
4122
4170
|
return parse(scan(source));
|
|
4123
4171
|
};
|
|
@@ -5556,8 +5604,8 @@ var require_typos = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5556
5604
|
//#region ../../node_modules/.pnpm/normalize-package-data@8.0.0/node_modules/normalize-package-data/lib/fixer.js
|
|
5557
5605
|
var require_fixer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5558
5606
|
var { URL: URL$1 } = __require("node:url");
|
|
5559
|
-
var isValidSemver = require_valid$
|
|
5560
|
-
var cleanSemver = require_clean();
|
|
5607
|
+
var isValidSemver = require_valid$2();
|
|
5608
|
+
var cleanSemver = require_clean$1();
|
|
5561
5609
|
var validateLicense = require_validate_npm_package_license();
|
|
5562
5610
|
var hostedGitInfo = require_lib();
|
|
5563
5611
|
var { isBuiltin } = __require("node:module");
|
|
@@ -5989,6 +6037,360 @@ async function readPackage({ cwd, normalize = true } = {}) {
|
|
|
5989
6037
|
return _readPackage(await fsPromises.readFile(getPackagePath(cwd), "utf8"), normalize);
|
|
5990
6038
|
}
|
|
5991
6039
|
//#endregion
|
|
6040
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/constants.js
|
|
6041
|
+
var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6042
|
+
const SEMVER_SPEC_VERSION = "2.0.0";
|
|
6043
|
+
const MAX_LENGTH = 256;
|
|
6044
|
+
const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
6045
|
+
module.exports = {
|
|
6046
|
+
MAX_LENGTH,
|
|
6047
|
+
MAX_SAFE_COMPONENT_LENGTH: 16,
|
|
6048
|
+
MAX_SAFE_BUILD_LENGTH: MAX_LENGTH - 6,
|
|
6049
|
+
MAX_SAFE_INTEGER,
|
|
6050
|
+
RELEASE_TYPES: [
|
|
6051
|
+
"major",
|
|
6052
|
+
"premajor",
|
|
6053
|
+
"minor",
|
|
6054
|
+
"preminor",
|
|
6055
|
+
"patch",
|
|
6056
|
+
"prepatch",
|
|
6057
|
+
"prerelease"
|
|
6058
|
+
],
|
|
6059
|
+
SEMVER_SPEC_VERSION,
|
|
6060
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
6061
|
+
FLAG_LOOSE: 2
|
|
6062
|
+
};
|
|
6063
|
+
}));
|
|
6064
|
+
//#endregion
|
|
6065
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/debug.js
|
|
6066
|
+
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6067
|
+
module.exports = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
6068
|
+
}));
|
|
6069
|
+
//#endregion
|
|
6070
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/re.js
|
|
6071
|
+
var require_re = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6072
|
+
const { MAX_SAFE_COMPONENT_LENGTH, MAX_SAFE_BUILD_LENGTH, MAX_LENGTH } = require_constants();
|
|
6073
|
+
const debug = require_debug();
|
|
6074
|
+
exports = module.exports = {};
|
|
6075
|
+
const re = exports.re = [];
|
|
6076
|
+
const safeRe = exports.safeRe = [];
|
|
6077
|
+
const src = exports.src = [];
|
|
6078
|
+
const safeSrc = exports.safeSrc = [];
|
|
6079
|
+
const t = exports.t = {};
|
|
6080
|
+
let R = 0;
|
|
6081
|
+
const LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
6082
|
+
const safeRegexReplacements = [
|
|
6083
|
+
["\\s", 1],
|
|
6084
|
+
["\\d", MAX_LENGTH],
|
|
6085
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
6086
|
+
];
|
|
6087
|
+
const makeSafeRegex = (value) => {
|
|
6088
|
+
for (const [token, max] of safeRegexReplacements) value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
6089
|
+
return value;
|
|
6090
|
+
};
|
|
6091
|
+
const createToken = (name, value, isGlobal) => {
|
|
6092
|
+
const safe = makeSafeRegex(value);
|
|
6093
|
+
const index = R++;
|
|
6094
|
+
debug(name, index, value);
|
|
6095
|
+
t[name] = index;
|
|
6096
|
+
src[index] = value;
|
|
6097
|
+
safeSrc[index] = safe;
|
|
6098
|
+
re[index] = new RegExp(value, isGlobal ? "g" : void 0);
|
|
6099
|
+
safeRe[index] = new RegExp(safe, isGlobal ? "g" : void 0);
|
|
6100
|
+
};
|
|
6101
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
6102
|
+
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
6103
|
+
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
6104
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})\\.(${src[t.NUMERICIDENTIFIER]})`);
|
|
6105
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})\\.(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
6106
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
|
|
6107
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
6108
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
6109
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
6110
|
+
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
6111
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
6112
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
6113
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
6114
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
6115
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
6116
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
6117
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
6118
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
6119
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:\\.(${src[t.XRANGEIDENTIFIER]})(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?)?)?`);
|
|
6120
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?)?)?`);
|
|
6121
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
6122
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6123
|
+
createToken("COERCEPLAIN", `(^|[^\\d])(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}})(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
6124
|
+
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
6125
|
+
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?(?:${src[t.BUILD]})?(?:$|[^\\d])`);
|
|
6126
|
+
createToken("COERCERTL", src[t.COERCE], true);
|
|
6127
|
+
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
6128
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
6129
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
6130
|
+
exports.tildeTrimReplace = "$1~";
|
|
6131
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
6132
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6133
|
+
createToken("LONECARET", "(?:\\^)");
|
|
6134
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
6135
|
+
exports.caretTrimReplace = "$1^";
|
|
6136
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
6137
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
6138
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
6139
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
6140
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
6141
|
+
exports.comparatorTrimReplace = "$1$2$3";
|
|
6142
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})\\s+-\\s+(${src[t.XRANGEPLAIN]})\\s*$`);
|
|
6143
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})\\s+-\\s+(${src[t.XRANGEPLAINLOOSE]})\\s*$`);
|
|
6144
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
6145
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
6146
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
6147
|
+
}));
|
|
6148
|
+
//#endregion
|
|
6149
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/parse-options.js
|
|
6150
|
+
var require_parse_options = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6151
|
+
const looseOption = Object.freeze({ loose: true });
|
|
6152
|
+
const emptyOpts = Object.freeze({});
|
|
6153
|
+
const parseOptions = (options) => {
|
|
6154
|
+
if (!options) return emptyOpts;
|
|
6155
|
+
if (typeof options !== "object") return looseOption;
|
|
6156
|
+
return options;
|
|
6157
|
+
};
|
|
6158
|
+
module.exports = parseOptions;
|
|
6159
|
+
}));
|
|
6160
|
+
//#endregion
|
|
6161
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/internal/identifiers.js
|
|
6162
|
+
var require_identifiers = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6163
|
+
const numeric = /^[0-9]+$/;
|
|
6164
|
+
const compareIdentifiers = (a, b) => {
|
|
6165
|
+
if (typeof a === "number" && typeof b === "number") return a === b ? 0 : a < b ? -1 : 1;
|
|
6166
|
+
const anum = numeric.test(a);
|
|
6167
|
+
const bnum = numeric.test(b);
|
|
6168
|
+
if (anum && bnum) {
|
|
6169
|
+
a = +a;
|
|
6170
|
+
b = +b;
|
|
6171
|
+
}
|
|
6172
|
+
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
6173
|
+
};
|
|
6174
|
+
const rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
6175
|
+
module.exports = {
|
|
6176
|
+
compareIdentifiers,
|
|
6177
|
+
rcompareIdentifiers
|
|
6178
|
+
};
|
|
6179
|
+
}));
|
|
6180
|
+
//#endregion
|
|
6181
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/classes/semver.js
|
|
6182
|
+
var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6183
|
+
const debug = require_debug();
|
|
6184
|
+
const { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
6185
|
+
const { safeRe: re, t } = require_re();
|
|
6186
|
+
const parseOptions = require_parse_options();
|
|
6187
|
+
const { compareIdentifiers } = require_identifiers();
|
|
6188
|
+
module.exports = class SemVer {
|
|
6189
|
+
constructor(version, options) {
|
|
6190
|
+
options = parseOptions(options);
|
|
6191
|
+
if (version instanceof SemVer) if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;
|
|
6192
|
+
else version = version.version;
|
|
6193
|
+
else if (typeof version !== "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
6194
|
+
if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
6195
|
+
debug("SemVer", version, options);
|
|
6196
|
+
this.options = options;
|
|
6197
|
+
this.loose = !!options.loose;
|
|
6198
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
6199
|
+
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
6200
|
+
if (!m) throw new TypeError(`Invalid Version: ${version}`);
|
|
6201
|
+
this.raw = version;
|
|
6202
|
+
this.major = +m[1];
|
|
6203
|
+
this.minor = +m[2];
|
|
6204
|
+
this.patch = +m[3];
|
|
6205
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) throw new TypeError("Invalid major version");
|
|
6206
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) throw new TypeError("Invalid minor version");
|
|
6207
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) throw new TypeError("Invalid patch version");
|
|
6208
|
+
if (!m[4]) this.prerelease = [];
|
|
6209
|
+
else this.prerelease = m[4].split(".").map((id) => {
|
|
6210
|
+
if (/^[0-9]+$/.test(id)) {
|
|
6211
|
+
const num = +id;
|
|
6212
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) return num;
|
|
6213
|
+
}
|
|
6214
|
+
return id;
|
|
6215
|
+
});
|
|
6216
|
+
this.build = m[5] ? m[5].split(".") : [];
|
|
6217
|
+
this.format();
|
|
6218
|
+
}
|
|
6219
|
+
format() {
|
|
6220
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
6221
|
+
if (this.prerelease.length) this.version += `-${this.prerelease.join(".")}`;
|
|
6222
|
+
return this.version;
|
|
6223
|
+
}
|
|
6224
|
+
toString() {
|
|
6225
|
+
return this.version;
|
|
6226
|
+
}
|
|
6227
|
+
compare(other) {
|
|
6228
|
+
debug("SemVer.compare", this.version, this.options, other);
|
|
6229
|
+
if (!(other instanceof SemVer)) {
|
|
6230
|
+
if (typeof other === "string" && other === this.version) return 0;
|
|
6231
|
+
other = new SemVer(other, this.options);
|
|
6232
|
+
}
|
|
6233
|
+
if (other.version === this.version) return 0;
|
|
6234
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
6235
|
+
}
|
|
6236
|
+
compareMain(other) {
|
|
6237
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6238
|
+
if (this.major < other.major) return -1;
|
|
6239
|
+
if (this.major > other.major) return 1;
|
|
6240
|
+
if (this.minor < other.minor) return -1;
|
|
6241
|
+
if (this.minor > other.minor) return 1;
|
|
6242
|
+
if (this.patch < other.patch) return -1;
|
|
6243
|
+
if (this.patch > other.patch) return 1;
|
|
6244
|
+
return 0;
|
|
6245
|
+
}
|
|
6246
|
+
comparePre(other) {
|
|
6247
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6248
|
+
if (this.prerelease.length && !other.prerelease.length) return -1;
|
|
6249
|
+
else if (!this.prerelease.length && other.prerelease.length) return 1;
|
|
6250
|
+
else if (!this.prerelease.length && !other.prerelease.length) return 0;
|
|
6251
|
+
let i = 0;
|
|
6252
|
+
do {
|
|
6253
|
+
const a = this.prerelease[i];
|
|
6254
|
+
const b = other.prerelease[i];
|
|
6255
|
+
debug("prerelease compare", i, a, b);
|
|
6256
|
+
if (a === void 0 && b === void 0) return 0;
|
|
6257
|
+
else if (b === void 0) return 1;
|
|
6258
|
+
else if (a === void 0) return -1;
|
|
6259
|
+
else if (a === b) continue;
|
|
6260
|
+
else return compareIdentifiers(a, b);
|
|
6261
|
+
} while (++i);
|
|
6262
|
+
}
|
|
6263
|
+
compareBuild(other) {
|
|
6264
|
+
if (!(other instanceof SemVer)) other = new SemVer(other, this.options);
|
|
6265
|
+
let i = 0;
|
|
6266
|
+
do {
|
|
6267
|
+
const a = this.build[i];
|
|
6268
|
+
const b = other.build[i];
|
|
6269
|
+
debug("build compare", i, a, b);
|
|
6270
|
+
if (a === void 0 && b === void 0) return 0;
|
|
6271
|
+
else if (b === void 0) return 1;
|
|
6272
|
+
else if (a === void 0) return -1;
|
|
6273
|
+
else if (a === b) continue;
|
|
6274
|
+
else return compareIdentifiers(a, b);
|
|
6275
|
+
} while (++i);
|
|
6276
|
+
}
|
|
6277
|
+
inc(release, identifier, identifierBase) {
|
|
6278
|
+
if (release.startsWith("pre")) {
|
|
6279
|
+
if (!identifier && identifierBase === false) throw new Error("invalid increment argument: identifier is empty");
|
|
6280
|
+
if (identifier) {
|
|
6281
|
+
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
6282
|
+
if (!match || match[1] !== identifier) throw new Error(`invalid identifier: ${identifier}`);
|
|
6283
|
+
}
|
|
6284
|
+
}
|
|
6285
|
+
switch (release) {
|
|
6286
|
+
case "premajor":
|
|
6287
|
+
this.prerelease.length = 0;
|
|
6288
|
+
this.patch = 0;
|
|
6289
|
+
this.minor = 0;
|
|
6290
|
+
this.major++;
|
|
6291
|
+
this.inc("pre", identifier, identifierBase);
|
|
6292
|
+
break;
|
|
6293
|
+
case "preminor":
|
|
6294
|
+
this.prerelease.length = 0;
|
|
6295
|
+
this.patch = 0;
|
|
6296
|
+
this.minor++;
|
|
6297
|
+
this.inc("pre", identifier, identifierBase);
|
|
6298
|
+
break;
|
|
6299
|
+
case "prepatch":
|
|
6300
|
+
this.prerelease.length = 0;
|
|
6301
|
+
this.inc("patch", identifier, identifierBase);
|
|
6302
|
+
this.inc("pre", identifier, identifierBase);
|
|
6303
|
+
break;
|
|
6304
|
+
case "prerelease":
|
|
6305
|
+
if (this.prerelease.length === 0) this.inc("patch", identifier, identifierBase);
|
|
6306
|
+
this.inc("pre", identifier, identifierBase);
|
|
6307
|
+
break;
|
|
6308
|
+
case "release":
|
|
6309
|
+
if (this.prerelease.length === 0) throw new Error(`version ${this.raw} is not a prerelease`);
|
|
6310
|
+
this.prerelease.length = 0;
|
|
6311
|
+
break;
|
|
6312
|
+
case "major":
|
|
6313
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) this.major++;
|
|
6314
|
+
this.minor = 0;
|
|
6315
|
+
this.patch = 0;
|
|
6316
|
+
this.prerelease = [];
|
|
6317
|
+
break;
|
|
6318
|
+
case "minor":
|
|
6319
|
+
if (this.patch !== 0 || this.prerelease.length === 0) this.minor++;
|
|
6320
|
+
this.patch = 0;
|
|
6321
|
+
this.prerelease = [];
|
|
6322
|
+
break;
|
|
6323
|
+
case "patch":
|
|
6324
|
+
if (this.prerelease.length === 0) this.patch++;
|
|
6325
|
+
this.prerelease = [];
|
|
6326
|
+
break;
|
|
6327
|
+
case "pre": {
|
|
6328
|
+
const base = Number(identifierBase) ? 1 : 0;
|
|
6329
|
+
if (this.prerelease.length === 0) this.prerelease = [base];
|
|
6330
|
+
else {
|
|
6331
|
+
let i = this.prerelease.length;
|
|
6332
|
+
while (--i >= 0) if (typeof this.prerelease[i] === "number") {
|
|
6333
|
+
this.prerelease[i]++;
|
|
6334
|
+
i = -2;
|
|
6335
|
+
}
|
|
6336
|
+
if (i === -1) {
|
|
6337
|
+
if (identifier === this.prerelease.join(".") && identifierBase === false) throw new Error("invalid increment argument: identifier already exists");
|
|
6338
|
+
this.prerelease.push(base);
|
|
6339
|
+
}
|
|
6340
|
+
}
|
|
6341
|
+
if (identifier) {
|
|
6342
|
+
let prerelease = [identifier, base];
|
|
6343
|
+
if (identifierBase === false) prerelease = [identifier];
|
|
6344
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
6345
|
+
if (isNaN(this.prerelease[1])) this.prerelease = prerelease;
|
|
6346
|
+
} else this.prerelease = prerelease;
|
|
6347
|
+
}
|
|
6348
|
+
break;
|
|
6349
|
+
}
|
|
6350
|
+
default: throw new Error(`invalid increment argument: ${release}`);
|
|
6351
|
+
}
|
|
6352
|
+
this.raw = this.format();
|
|
6353
|
+
if (this.build.length) this.raw += `+${this.build.join(".")}`;
|
|
6354
|
+
return this;
|
|
6355
|
+
}
|
|
6356
|
+
};
|
|
6357
|
+
}));
|
|
6358
|
+
//#endregion
|
|
6359
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/parse.js
|
|
6360
|
+
var require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6361
|
+
const SemVer = require_semver$1();
|
|
6362
|
+
const parse = (version, options, throwErrors = false) => {
|
|
6363
|
+
if (version instanceof SemVer) return version;
|
|
6364
|
+
try {
|
|
6365
|
+
return new SemVer(version, options);
|
|
6366
|
+
} catch (er) {
|
|
6367
|
+
if (!throwErrors) return null;
|
|
6368
|
+
throw er;
|
|
6369
|
+
}
|
|
6370
|
+
};
|
|
6371
|
+
module.exports = parse;
|
|
6372
|
+
}));
|
|
6373
|
+
//#endregion
|
|
6374
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/valid.js
|
|
6375
|
+
var require_valid$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6376
|
+
const parse = require_parse();
|
|
6377
|
+
const valid = (version, options) => {
|
|
6378
|
+
const v = parse(version, options);
|
|
6379
|
+
return v ? v.version : null;
|
|
6380
|
+
};
|
|
6381
|
+
module.exports = valid;
|
|
6382
|
+
}));
|
|
6383
|
+
//#endregion
|
|
6384
|
+
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/clean.js
|
|
6385
|
+
var require_clean = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6386
|
+
const parse = require_parse();
|
|
6387
|
+
const clean = (version, options) => {
|
|
6388
|
+
const s = parse(version.trim().replace(/^[=v]+/, ""), options);
|
|
6389
|
+
return s ? s.version : null;
|
|
6390
|
+
};
|
|
6391
|
+
module.exports = clean;
|
|
6392
|
+
}));
|
|
6393
|
+
//#endregion
|
|
5992
6394
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/inc.js
|
|
5993
6395
|
var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
5994
6396
|
const SemVer = require_semver$1();
|
|
@@ -6009,7 +6411,7 @@ var require_inc = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6009
6411
|
//#endregion
|
|
6010
6412
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/diff.js
|
|
6011
6413
|
var require_diff = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6012
|
-
const parse = require_parse
|
|
6414
|
+
const parse = require_parse();
|
|
6013
6415
|
const diff = (version1, version2) => {
|
|
6014
6416
|
const v1 = parse(version1, null, true);
|
|
6015
6417
|
const v2 = parse(version2, null, true);
|
|
@@ -6058,7 +6460,7 @@ var require_patch = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6058
6460
|
//#endregion
|
|
6059
6461
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/prerelease.js
|
|
6060
6462
|
var require_prerelease = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6061
|
-
const parse = require_parse
|
|
6463
|
+
const parse = require_parse();
|
|
6062
6464
|
const prerelease = (version, options) => {
|
|
6063
6465
|
const parsed = parse(version, options);
|
|
6064
6466
|
return parsed && parsed.prerelease.length ? parsed.prerelease : null;
|
|
@@ -6189,7 +6591,7 @@ var require_cmp = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6189
6591
|
//#region ../../node_modules/.pnpm/semver@7.7.4/node_modules/semver/functions/coerce.js
|
|
6190
6592
|
var require_coerce = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
6191
6593
|
const SemVer = require_semver$1();
|
|
6192
|
-
const parse = require_parse
|
|
6594
|
+
const parse = require_parse();
|
|
6193
6595
|
const { safeRe: re, t } = require_re();
|
|
6194
6596
|
const coerce = (version, options) => {
|
|
6195
6597
|
if (version instanceof SemVer) return version;
|
|
@@ -6924,7 +7326,7 @@ var import_semver = (/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
6924
7326
|
const SemVer = require_semver$1();
|
|
6925
7327
|
const identifiers = require_identifiers();
|
|
6926
7328
|
module.exports = {
|
|
6927
|
-
parse: require_parse
|
|
7329
|
+
parse: require_parse(),
|
|
6928
7330
|
valid: require_valid$1(),
|
|
6929
7331
|
clean: require_clean(),
|
|
6930
7332
|
inc: require_inc(),
|
|
@@ -7886,10 +8288,6 @@ const sourceConfigSchema = {
|
|
|
7886
8288
|
type: "array",
|
|
7887
8289
|
items: { type: "string" },
|
|
7888
8290
|
description: "DIDs granted admin role."
|
|
7889
|
-
},
|
|
7890
|
-
defaultProtection: {
|
|
7891
|
-
type: "boolean",
|
|
7892
|
-
description: "When true, newly-created drives default to authenticated-only access."
|
|
7893
8291
|
}
|
|
7894
8292
|
}
|
|
7895
8293
|
},
|
|
@@ -7993,6 +8391,6 @@ function assertNodeVersion(nodeVersion = process.versions.node) {
|
|
|
7993
8391
|
if ((0, import_lt.default)(nodeVersion, "24.0.0")) throw new NodeVersionError(nodeVersion, MINIMUM_NODE_VERSION);
|
|
7994
8392
|
}
|
|
7995
8393
|
//#endregion
|
|
7996
|
-
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LOG_LEVELS, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
8394
|
+
export { AGENTS, ANALYTICS_ENGINE_CORE_PACKAGE, BOILERPLATE_ALLOWED_BUILDS, BOILERPLATE_PNPM_OVERRIDES, DEFAULT_CONFIG, DEFAULT_CONNECT_OUTDIR, DEFAULT_CONNECT_PREVIEW_PORT, DEFAULT_CONNECT_STUDIO_PORT, DEFAULT_EXPIRY_DAYS, DEFAULT_EXPIRY_SECONDS, DEFAULT_REGISTRY_LOGIN_EXPIRY, DEFAULT_REGISTRY_URL, DEFAULT_RENOWN_URL, DEFAULT_SWITCHBOARD_PORT, DEFAULT_TIMEOUT, DEFAULT_VETRA_CONNECT_PORT, DEFAULT_VETRA_DRIVE_ID, DRIVES_PRESERVE_STRATEGIES, FEATURE_DEPENDENCIES, GRAPHQL_PACKAGE, GRAPHQL_TAG_PACKAGE, HOME_DIR, LEGACY_LINT_FORMAT_DEPENDENCIES, LEGACY_LINT_FORMAT_FILES, LOG_LEVELS, MINIMUM_NODE_VERSION, NodeVersionError, PEER_EXTERNAL_DEPENDENCIES, PH_BIN, PH_GLOBAL_DIR_NAME, PH_GLOBAL_PROJECT_NAME, POWERHOUSE_CONFIG_FILE, POWERHOUSE_GLOBAL_DIR, REACTOR_API_PACKAGE, SECONDS_IN_DAY, SERVICE_ACTIONS, SOURCE_CONFIG_SCHEMA_ID, VERSIONED_DEPENDENCIES, VERSIONED_DEV_DEPENDENCIES, VERSIONED_PEER_DEPENDENCIES, accessTokenArgs, assertNodeVersion, buildArgs, commonArgs, commonServerArgs, connectArgs, connectBasePath, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs, debugArgs, defaultDrivesUrl, defaultManifest, directoryExists, directoryExistsSync, disableLocalPackages, drivesPreserveStrategy, externalDependencies, externalDevDependencies, fetchNpmVersionFromRegistryForTag, fetchPackageVersionFromNpmRegistry, fileExists, fileExistsSync, force, generateArgs, getConfig, getGlobalPowerhouseProjectDirPath, getLocalPowerhouseProjectDirPath, getPackageManagerAtPowerhouseProjectDirPath, getPackageManagerCommand, getPackageNameFromPackageJson, getPackageVersionFromPackageJson, getPhCliVersionInfo, getPhCmdVersionInfo, getPowerhouseProjectInfo, getPowerhouseProjectInstallCommand, getPowerhouseProjectUninstallCommand, getTagFromVersion, getTelemetryStatus, handleMutuallyExclusiveOptions, https, httpsCertFile, httpsKeyFile, initArgs, initCliTelemetry, injectPnpmAllowBuilds, inspectArgs, installArgs, isDirectory, isFile, isPowerhouseProject, listArgs, localPackage, logLevel, logVersionUpdate, loginArgs, makeDependenciesWithVersions, makeVersionedDependencies, makeVersionedDependenciesMap, migrateArgs, packageJsonExports, packageManagerArgs, packageScripts, packages, parsePackageManager, parsePackageVersion, parseTag, phCliCommandNames, phCliHelpCommands, publishArgs, registryLoginArgs, resolveTelemetryConsent, runCmd, runUseLocal, serviceArgs, setTelemetryConsent, sourceConfigSchema, spawnAsync, switchboardArgs, uninstallArgs, unpublishArgs, vetraArgs, vetraSwitchboardArgs, writeFileEnsuringDir };
|
|
7997
8395
|
|
|
7998
8396
|
//# sourceMappingURL=index.mjs.map
|