@savvy-web/silk 3.2.0 → 3.2.2
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/changesets-changelog.cjs +434 -140
- package/changesets-changelog.d.cts +85 -8
- package/changesets-changelog.d.ts +85 -8
- package/changesets-changelog.js +438 -143
- package/changesets-markdownlint.cjs +434 -140
- package/changesets-markdownlint.d.cts +85 -8
- package/changesets-markdownlint.d.ts +85 -8
- package/changesets-markdownlint.js +438 -143
- package/package.json +5 -5
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
|
@@ -435,7 +435,7 @@ const trimTrailingSlashes = (s) => {
|
|
|
435
435
|
};
|
|
436
436
|
|
|
437
437
|
//#endregion
|
|
438
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
438
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/limits.js
|
|
439
439
|
/** Hard cap on pattern length. Upstream minimatch's MAX_PATTERN_LENGTH (64KB). */
|
|
440
440
|
const MAX_PATTERN_LENGTH = 1024 * 64;
|
|
441
441
|
/** Default brace-expansion output budget. Upstream brace-expansion's EXPANSION_MAX. */
|
|
@@ -470,7 +470,7 @@ const assertCap = (name, value) => {
|
|
|
470
470
|
};
|
|
471
471
|
|
|
472
472
|
//#endregion
|
|
473
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
473
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/unescape.js
|
|
474
474
|
/**
|
|
475
475
|
* Un-escape a string that has been escaped with `escape`.
|
|
476
476
|
*
|
|
@@ -494,12 +494,12 @@ const unescapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = true
|
|
|
494
494
|
};
|
|
495
495
|
|
|
496
496
|
//#endregion
|
|
497
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
497
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/types.js
|
|
498
498
|
/** The globstar marker in a compiled pattern set. */
|
|
499
499
|
const GLOBSTAR = Symbol("globstar **");
|
|
500
500
|
|
|
501
501
|
//#endregion
|
|
502
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
502
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/escape.js
|
|
503
503
|
/**
|
|
504
504
|
* Escape all magic characters in a glob pattern.
|
|
505
505
|
*
|
|
@@ -518,14 +518,14 @@ const escapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = false
|
|
|
518
518
|
};
|
|
519
519
|
|
|
520
520
|
//#endregion
|
|
521
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
521
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/assertValidPattern.js
|
|
522
522
|
const assertValidPattern = (pattern) => {
|
|
523
523
|
if (typeof pattern !== "string") throw new TypeError("invalid pattern");
|
|
524
524
|
if (pattern.length > 65536) throw new GuardExceeded("PatternTooLong", MAX_PATTERN_LENGTH, pattern.length);
|
|
525
525
|
};
|
|
526
526
|
|
|
527
527
|
//#endregion
|
|
528
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
528
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/braceExpressions.js
|
|
529
529
|
const posixClasses = {
|
|
530
530
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
531
531
|
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
@@ -649,7 +649,7 @@ const parseClass = (glob, position) => {
|
|
|
649
649
|
};
|
|
650
650
|
|
|
651
651
|
//#endregion
|
|
652
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
652
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/ast.js
|
|
653
653
|
const types = /* @__PURE__ */ new Set([
|
|
654
654
|
"!",
|
|
655
655
|
"?",
|
|
@@ -1167,7 +1167,7 @@ var AST = class AST {
|
|
|
1167
1167
|
};
|
|
1168
1168
|
|
|
1169
1169
|
//#endregion
|
|
1170
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1170
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/balancedMatch.js
|
|
1171
1171
|
const maybeMatch = (reg, str) => {
|
|
1172
1172
|
const m = str.match(reg);
|
|
1173
1173
|
return m ? m[0] : null;
|
|
@@ -1226,7 +1226,7 @@ const range = (a, b, str) => {
|
|
|
1226
1226
|
};
|
|
1227
1227
|
|
|
1228
1228
|
//#endregion
|
|
1229
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1229
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/braceExpansion.js
|
|
1230
1230
|
const escSlash = `\0SLASH${Math.random()}\0`;
|
|
1231
1231
|
const escOpen = `\0OPEN${Math.random()}\0`;
|
|
1232
1232
|
const escClose = `\0CLOSE${Math.random()}\0`;
|
|
@@ -1374,7 +1374,7 @@ function expand_(str, max, isTopInput, depth) {
|
|
|
1374
1374
|
}
|
|
1375
1375
|
|
|
1376
1376
|
//#endregion
|
|
1377
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1377
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/minimatch.js
|
|
1378
1378
|
const starDotExtRE = /^\*+([^+@!?*[(]*)$/;
|
|
1379
1379
|
const starDotExtTest = (ext) => (f) => !f.startsWith(".") && f.endsWith(ext);
|
|
1380
1380
|
const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
|
|
@@ -1946,7 +1946,7 @@ var Minimatch = class {
|
|
|
1946
1946
|
};
|
|
1947
1947
|
|
|
1948
1948
|
//#endregion
|
|
1949
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1949
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/GlobPattern.js
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Typed failure raised when a glob pattern trips a compile-time guard:
|
|
1952
1952
|
* over-length, brace-expansion budget exhaustion, or nesting past the depth
|
|
@@ -2226,7 +2226,7 @@ var GlobPattern = class GlobPattern extends Schema.Class("GlobPattern")(Schema.S
|
|
|
2226
2226
|
};
|
|
2227
2227
|
|
|
2228
2228
|
//#endregion
|
|
2229
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
2229
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/glob/GlobSet.js
|
|
2230
2230
|
const exclusionTarget = (pattern) => pattern.startsWith("!") ? pattern.slice(1) : void 0;
|
|
2231
2231
|
const allCompileUnderDefaults = (patterns) => {
|
|
2232
2232
|
for (const pattern of patterns) {
|
|
@@ -2381,7 +2381,7 @@ var GlobSet = class GlobSet extends Schema.Class("GlobSet")(Schema.Struct({ patt
|
|
|
2381
2381
|
};
|
|
2382
2382
|
|
|
2383
2383
|
//#endregion
|
|
2384
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
2384
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/BunExtension.js
|
|
2385
2385
|
/**
|
|
2386
2386
|
* Extension data specific to bun lockfiles, attached to `Lockfile.extension`
|
|
2387
2387
|
* when the format is `"bun"`.
|
|
@@ -2403,7 +2403,7 @@ var BunExtension = class extends Schema.Class("BunExtension")({
|
|
|
2403
2403
|
}) {};
|
|
2404
2404
|
|
|
2405
2405
|
//#endregion
|
|
2406
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
2406
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/CatalogResolver.js
|
|
2407
2407
|
/**
|
|
2408
2408
|
* Contract for resolving pnpm `catalog:` dependency specifiers to concrete
|
|
2409
2409
|
* version ranges.
|
|
@@ -2450,7 +2450,7 @@ var CatalogResolver = class CatalogResolver extends Context.Service()("@effected
|
|
|
2450
2450
|
};
|
|
2451
2451
|
|
|
2452
2452
|
//#endregion
|
|
2453
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
2453
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/WorkspaceResolver.js
|
|
2454
2454
|
/**
|
|
2455
2455
|
* Raised when a `catalog:` or `workspace:` specifier cannot be resolved
|
|
2456
2456
|
* because the resolution mechanism itself failed — not for an ordinary
|
|
@@ -2512,7 +2512,7 @@ var WorkspaceResolver = class WorkspaceResolver extends Context.Service()("@effe
|
|
|
2512
2512
|
};
|
|
2513
2513
|
|
|
2514
2514
|
//#endregion
|
|
2515
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
2515
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/CatalogAssemblyError.js
|
|
2516
2516
|
/**
|
|
2517
2517
|
* Raised when a workspace's catalogs cannot be assembled — a `pnpm-workspace.yaml`
|
|
2518
2518
|
* that is unreadable or not valid YAML, a root `package.json` `workspaces` field
|
|
@@ -2557,7 +2557,7 @@ var CatalogAssemblyError = class extends Schema.TaggedErrorClass()("CatalogAssem
|
|
|
2557
2557
|
};
|
|
2558
2558
|
|
|
2559
2559
|
//#endregion
|
|
2560
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
2560
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/DependencySection.js
|
|
2561
2561
|
/**
|
|
2562
2562
|
* The short dependency kind: which dependency map an entry came from, named the
|
|
2563
2563
|
* way consumers branch on it.
|
|
@@ -2591,7 +2591,7 @@ const KIND_TO_FIELD = {
|
|
|
2591
2591
|
const FIELD_TO_KIND = Object.fromEntries(Object.entries(KIND_TO_FIELD).map(([kind, field]) => [field, kind]));
|
|
2592
2592
|
|
|
2593
2593
|
//#endregion
|
|
2594
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
2594
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/desugar.js
|
|
2595
2595
|
const sv = (major, minor, patch, prerelease = [], build = []) => ({
|
|
2596
2596
|
major,
|
|
2597
2597
|
minor,
|
|
@@ -2681,7 +2681,7 @@ const desugarHyphen = (lower, upper) => {
|
|
|
2681
2681
|
};
|
|
2682
2682
|
|
|
2683
2683
|
//#endregion
|
|
2684
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
2684
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/grammar.js
|
|
2685
2685
|
/** Private control-flow exception; never escapes the entry points. */
|
|
2686
2686
|
var ParseFailure = class {
|
|
2687
2687
|
position;
|
|
@@ -3077,7 +3077,7 @@ const formatComparator = (c) => {
|
|
|
3077
3077
|
const formatRange = (sets) => sets.map((set) => set.map(formatComparator).join(" ")).join(" || ");
|
|
3078
3078
|
|
|
3079
3079
|
//#endregion
|
|
3080
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
3080
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/order.js
|
|
3081
3081
|
/**
|
|
3082
3082
|
* Compare two prerelease identifiers per SemVer 2.0.0 §11: numeric
|
|
3083
3083
|
* identifiers always have lower precedence than alphanumeric ones; numerics
|
|
@@ -3131,7 +3131,7 @@ const compareBuild = (a, b) => {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
|
|
3133
3133
|
//#endregion
|
|
3134
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
3134
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/SemVer.js
|
|
3135
3135
|
/**
|
|
3136
3136
|
* Indicates that a string could not be parsed as a valid SemVer 2.0.0 version.
|
|
3137
3137
|
*
|
|
@@ -3567,7 +3567,7 @@ var SemVerBump = class {
|
|
|
3567
3567
|
};
|
|
3568
3568
|
|
|
3569
3569
|
//#endregion
|
|
3570
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
3570
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/Comparator.js
|
|
3571
3571
|
/**
|
|
3572
3572
|
* Indicates that a string could not be parsed as a single comparator.
|
|
3573
3573
|
*
|
|
@@ -3702,7 +3702,7 @@ var Comparator = class Comparator extends Schema.Class("Comparator")({
|
|
|
3702
3702
|
};
|
|
3703
3703
|
|
|
3704
3704
|
//#endregion
|
|
3705
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
3705
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/normalize.js
|
|
3706
3706
|
const operatorWeight = (op) => {
|
|
3707
3707
|
switch (op) {
|
|
3708
3708
|
case ">=": return 0;
|
|
@@ -3734,7 +3734,7 @@ const normalizeComparatorSet = (set) => sortComparators(removeDuplicates(set));
|
|
|
3734
3734
|
const normalizeSets = (sets) => sets.map(normalizeComparatorSet);
|
|
3735
3735
|
|
|
3736
3736
|
//#endregion
|
|
3737
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.2.
|
|
3737
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/semver/Range.js
|
|
3738
3738
|
/**
|
|
3739
3739
|
* Indicates that a string could not be parsed as a range expression.
|
|
3740
3740
|
*
|
|
@@ -4067,7 +4067,7 @@ const isComparatorSetSubset = (sub, sup) => {
|
|
|
4067
4067
|
};
|
|
4068
4068
|
|
|
4069
4069
|
//#endregion
|
|
4070
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
4070
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/DependencySpecifier.js
|
|
4071
4071
|
/**
|
|
4072
4072
|
* Indicates that a string could not be parsed as a valid dependency specifier.
|
|
4073
4073
|
*
|
|
@@ -4275,7 +4275,7 @@ const DependencySpecifier = Object.assign(brandedSpecifier, {
|
|
|
4275
4275
|
});
|
|
4276
4276
|
|
|
4277
4277
|
//#endregion
|
|
4278
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
4278
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/IntegrityHash.js
|
|
4279
4279
|
const SRI_RE = /^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/;
|
|
4280
4280
|
const COREPACK_RE = /^(sha1|sha256|sha384|sha512)\.[0-9a-f]+$/;
|
|
4281
4281
|
const YARN_RE = /^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/;
|
|
@@ -4329,7 +4329,7 @@ const IntegrityHash = Object.assign(brandedIntegrity, {
|
|
|
4329
4329
|
});
|
|
4330
4330
|
|
|
4331
4331
|
//#endregion
|
|
4332
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.3.
|
|
4332
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.3.1_@effected+semver@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/ReleaseAgeGate.js
|
|
4333
4333
|
const MS_PER_MINUTE = 6e4;
|
|
4334
4334
|
/**
|
|
4335
4335
|
* A source's partial contribution to a {@link ReleaseAgeGate}: the effective
|
|
@@ -4498,7 +4498,7 @@ var ReleaseAgeGate = class ReleaseAgeGate extends Schema.Class("ReleaseAgeGate")
|
|
|
4498
4498
|
};
|
|
4499
4499
|
|
|
4500
4500
|
//#endregion
|
|
4501
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4501
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/ImporterDependency.js
|
|
4502
4502
|
/**
|
|
4503
4503
|
* One declared dependency of one workspace importer, as the lockfile records it.
|
|
4504
4504
|
*
|
|
@@ -4527,7 +4527,7 @@ var ImporterDependency = class extends Schema.Class("ImporterDependency")({
|
|
|
4527
4527
|
}) {};
|
|
4528
4528
|
|
|
4529
4529
|
//#endregion
|
|
4530
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4530
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/LockfileImporter.js
|
|
4531
4531
|
/**
|
|
4532
4532
|
* One workspace importer's declared dependencies, as the lockfile records them.
|
|
4533
4533
|
*
|
|
@@ -4552,7 +4552,7 @@ var LockfileImporter = class extends Schema.Class("LockfileImporter")({
|
|
|
4552
4552
|
}) {};
|
|
4553
4553
|
|
|
4554
4554
|
//#endregion
|
|
4555
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4555
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/ResolvedPackage.js
|
|
4556
4556
|
const EMPTY_DEPENDENCIES = {};
|
|
4557
4557
|
/**
|
|
4558
4558
|
* A package resolved from a lockfile.
|
|
@@ -4588,7 +4588,7 @@ var ResolvedPackage = class extends Schema.Class("ResolvedPackage")({
|
|
|
4588
4588
|
}) {};
|
|
4589
4589
|
|
|
4590
4590
|
//#endregion
|
|
4591
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4591
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/WorkspaceDependency.js
|
|
4592
4592
|
/**
|
|
4593
4593
|
* A directed dependency edge between two workspace packages as recorded in
|
|
4594
4594
|
* the lockfile.
|
|
@@ -4611,7 +4611,7 @@ var WorkspaceDependency = class extends Schema.Class("WorkspaceDependency")({
|
|
|
4611
4611
|
}) {};
|
|
4612
4612
|
|
|
4613
4613
|
//#endregion
|
|
4614
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4614
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/PnpmExtension.js
|
|
4615
4615
|
/**
|
|
4616
4616
|
* Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
|
|
4617
4617
|
* when the format is `"pnpm"`.
|
|
@@ -4637,7 +4637,7 @@ var PnpmExtension = class extends Schema.Class("PnpmExtension")({
|
|
|
4637
4637
|
}) {};
|
|
4638
4638
|
|
|
4639
4639
|
//#endregion
|
|
4640
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4640
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/LockfileFormat.js
|
|
4641
4641
|
/**
|
|
4642
4642
|
* The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
|
|
4643
4643
|
* `package-lock.json` (v2/v3 JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
|
|
@@ -4672,7 +4672,7 @@ const FILENAMES = {
|
|
|
4672
4672
|
const filenameFor = (format) => FILENAMES[format];
|
|
4673
4673
|
|
|
4674
4674
|
//#endregion
|
|
4675
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
4675
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/shared.js
|
|
4676
4676
|
/**
|
|
4677
4677
|
* The four dependency sections of a manifest, in a stable order — the shared
|
|
4678
4678
|
* dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
|
|
@@ -4799,7 +4799,7 @@ const extractWorkspaceDeps = (workspaces, workspaceNames) => {
|
|
|
4799
4799
|
};
|
|
4800
4800
|
|
|
4801
4801
|
//#endregion
|
|
4802
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
4802
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncNode.js
|
|
4803
4803
|
/**
|
|
4804
4804
|
* Discriminator values for JSONC AST node types: the JSON value types
|
|
4805
4805
|
* (`string`/`number`/`boolean`/`null`), the structural types
|
|
@@ -4975,7 +4975,7 @@ function evaluateNode(node, depth) {
|
|
|
4975
4975
|
}
|
|
4976
4976
|
|
|
4977
4977
|
//#endregion
|
|
4978
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
4978
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/scanner.js
|
|
4979
4979
|
const isWhitespace = (ch) => ch === 32 || ch === 9 || ch === 11 || ch === 12 || ch === 160 || ch === 65279;
|
|
4980
4980
|
const isLineBreak$1 = (ch) => ch === 10 || ch === 13 || ch === 8232 || ch === 8233;
|
|
4981
4981
|
const isDigit$1 = (ch) => ch >= 48 && ch <= 57;
|
|
@@ -5272,7 +5272,7 @@ const createScanner$2 = (text, ignoreTrivia = false) => {
|
|
|
5272
5272
|
};
|
|
5273
5273
|
|
|
5274
5274
|
//#endregion
|
|
5275
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5275
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/skip.js
|
|
5276
5276
|
/**
|
|
5277
5277
|
* Iteratively consume the value beginning at the cursor's current token and
|
|
5278
5278
|
* return its tight end offset (excludes trailing whitespace/comments).
|
|
@@ -5303,7 +5303,7 @@ const skipBalancedValue = (cursor) => {
|
|
|
5303
5303
|
};
|
|
5304
5304
|
|
|
5305
5305
|
//#endregion
|
|
5306
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5306
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/parser.js
|
|
5307
5307
|
/**
|
|
5308
5308
|
* The public parse-error code vocabulary. The facade builds its `@public`
|
|
5309
5309
|
* `JsoncParseErrorCode` schema from this array; the parser produces these codes
|
|
@@ -5717,7 +5717,7 @@ const parseTree$2 = (text, flags) => {
|
|
|
5717
5717
|
};
|
|
5718
5718
|
|
|
5719
5719
|
//#endregion
|
|
5720
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5720
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/Jsonc.js
|
|
5721
5721
|
/**
|
|
5722
5722
|
* The single public parse-error code vocabulary, appearing as the `code` field
|
|
5723
5723
|
* of {@link JsoncParseErrorDetail}.
|
|
@@ -6286,7 +6286,7 @@ var Jsonc = class Jsonc {
|
|
|
6286
6286
|
};
|
|
6287
6287
|
|
|
6288
6288
|
//#endregion
|
|
6289
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6289
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncEdit.js
|
|
6290
6290
|
/**
|
|
6291
6291
|
* A range within a JSONC document, expressed as a zero-based character
|
|
6292
6292
|
* `offset` and a `length` in UTF-16 code units. Pass to `JsoncFormatter.format`
|
|
@@ -6357,7 +6357,7 @@ var JsoncEdit = class extends Schema.Class("JsoncEdit")({
|
|
|
6357
6357
|
};
|
|
6358
6358
|
|
|
6359
6359
|
//#endregion
|
|
6360
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6360
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/navigate.js
|
|
6361
6361
|
/**
|
|
6362
6362
|
* Resolve `path` against `text`, returning where the target is (or where it
|
|
6363
6363
|
* would be inserted). `path` must be non-empty — the whole-document case is
|
|
@@ -6485,7 +6485,7 @@ function navigate(text, path) {
|
|
|
6485
6485
|
}
|
|
6486
6486
|
|
|
6487
6487
|
//#endregion
|
|
6488
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6488
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncModifier.js
|
|
6489
6489
|
/**
|
|
6490
6490
|
* Raised when `JsoncModifier.modify` cannot navigate the requested path: the
|
|
6491
6491
|
* value at `depth` is not the container kind (`expected`) the next path segment
|
|
@@ -6614,7 +6614,7 @@ var JsoncModifier = class {
|
|
|
6614
6614
|
};
|
|
6615
6615
|
|
|
6616
6616
|
//#endregion
|
|
6617
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
6617
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/bun.js
|
|
6618
6618
|
const DepRecord$2 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
6619
6619
|
const BunWorkspaceEntry = Schema.Struct({
|
|
6620
6620
|
name: Schema.optionalKey(Schema.String),
|
|
@@ -6708,7 +6708,7 @@ const toFields$3 = (raw) => Effect.gen(function* () {
|
|
|
6708
6708
|
});
|
|
6709
6709
|
|
|
6710
6710
|
//#endregion
|
|
6711
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
6711
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/npm.js
|
|
6712
6712
|
const DepRecord$1 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
6713
6713
|
const NpmPackageEntry = Schema.Struct({
|
|
6714
6714
|
name: Schema.optionalKey(Schema.String),
|
|
@@ -6807,7 +6807,7 @@ const toFields$2 = (raw) => Effect.gen(function* () {
|
|
|
6807
6807
|
});
|
|
6808
6808
|
|
|
6809
6809
|
//#endregion
|
|
6810
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
6810
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/YamlNode.js
|
|
6811
6811
|
/**
|
|
6812
6812
|
* YAML scalar presentation styles.
|
|
6813
6813
|
*
|
|
@@ -7210,7 +7210,7 @@ function nodeToValue(node, anchors, budget, counting = false) {
|
|
|
7210
7210
|
}
|
|
7211
7211
|
|
|
7212
7212
|
//#endregion
|
|
7213
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
7213
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/diagnostics.js
|
|
7214
7214
|
/** Error codes emitted by the lexer stage. */
|
|
7215
7215
|
const YAML_LEX_ERROR_CODES = [
|
|
7216
7216
|
"UnexpectedCharacter",
|
|
@@ -7289,7 +7289,7 @@ function isFatalCode(code) {
|
|
|
7289
7289
|
}
|
|
7290
7290
|
|
|
7291
7291
|
//#endregion
|
|
7292
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
7292
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/YamlDiagnostic.js
|
|
7293
7293
|
/**
|
|
7294
7294
|
* Error codes emitted by the lexer stage.
|
|
7295
7295
|
*
|
|
@@ -7411,7 +7411,7 @@ function lineChar(text, offset) {
|
|
|
7411
7411
|
}
|
|
7412
7412
|
|
|
7413
7413
|
//#endregion
|
|
7414
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
7414
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/anchors.js
|
|
7415
7415
|
/**
|
|
7416
7416
|
* Check if a pending anchor is being applied to an alias node (invalid in YAML 1.2 §3.2.2).
|
|
7417
7417
|
* Aliases represent references to existing anchored nodes and cannot have their own anchors.
|
|
@@ -7505,7 +7505,7 @@ function collectAnchors(node, anchors) {
|
|
|
7505
7505
|
}
|
|
7506
7506
|
|
|
7507
7507
|
//#endregion
|
|
7508
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
7508
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/lexer.js
|
|
7509
7509
|
/**
|
|
7510
7510
|
* Create a new YAML scanner for the given source text.
|
|
7511
7511
|
*
|
|
@@ -8463,7 +8463,7 @@ function lexAll(text) {
|
|
|
8463
8463
|
}
|
|
8464
8464
|
|
|
8465
8465
|
//#endregion
|
|
8466
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
8466
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/cst-parser.js
|
|
8467
8467
|
/**
|
|
8468
8468
|
* Hardening: cap CST nesting so hostile inputs cannot overflow the stack
|
|
8469
8469
|
* while the tree is being BUILT. Set slightly above the composer's
|
|
@@ -9176,7 +9176,7 @@ function parseCSTAll(text) {
|
|
|
9176
9176
|
}
|
|
9177
9177
|
|
|
9178
9178
|
//#endregion
|
|
9179
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
9179
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/state.js
|
|
9180
9180
|
let lineStartsText;
|
|
9181
9181
|
let lineStartsCache = [];
|
|
9182
9182
|
function getLineStarts(text) {
|
|
@@ -9283,7 +9283,7 @@ function exitNesting(state) {
|
|
|
9283
9283
|
}
|
|
9284
9284
|
|
|
9285
9285
|
//#endregion
|
|
9286
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
9286
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/tags.js
|
|
9287
9287
|
/**
|
|
9288
9288
|
* Resolve a tag shorthand using the document's %TAG directives.
|
|
9289
9289
|
* For example, with `%TAG !! tag:example.com,2000:app/`, the tag `!!int`
|
|
@@ -9370,7 +9370,7 @@ function validateTagHandlesInDocument(docCst, state) {
|
|
|
9370
9370
|
}
|
|
9371
9371
|
|
|
9372
9372
|
//#endregion
|
|
9373
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
9373
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/scalars.js
|
|
9374
9374
|
const NULL_RE$1 = /^(?:null|Null|NULL|~)$/;
|
|
9375
9375
|
const TRUE_RE$1 = /^(?:true|True|TRUE)$/;
|
|
9376
9376
|
const FALSE_RE$1 = /^(?:false|False|FALSE)$/;
|
|
@@ -10249,7 +10249,7 @@ function shouldPreserveRaw(rawValue, value) {
|
|
|
10249
10249
|
}
|
|
10250
10250
|
|
|
10251
10251
|
//#endregion
|
|
10252
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
10252
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/block.js
|
|
10253
10253
|
/**
|
|
10254
10254
|
* Compose a block map from its CST children, with an optional external first key.
|
|
10255
10255
|
*
|
|
@@ -11398,7 +11398,7 @@ function composeFlatBlockMap(children, startIdx, parentCst, state, externalFirst
|
|
|
11398
11398
|
}
|
|
11399
11399
|
|
|
11400
11400
|
//#endregion
|
|
11401
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
11401
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/flow.js
|
|
11402
11402
|
/**
|
|
11403
11403
|
* Validate that flow collection entries are separated by commas.
|
|
11404
11404
|
*
|
|
@@ -11791,7 +11791,7 @@ function composeFlowSeqInner(cst, state, meta, parentBlockColumn) {
|
|
|
11791
11791
|
}
|
|
11792
11792
|
|
|
11793
11793
|
//#endregion
|
|
11794
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
11794
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/document.js
|
|
11795
11795
|
/** The flow-composer dispatch wired into every state this module creates. */
|
|
11796
11796
|
const FLOW = {
|
|
11797
11797
|
composeFlowMap,
|
|
@@ -12458,7 +12458,7 @@ function composeAllDocuments(text, options) {
|
|
|
12458
12458
|
}
|
|
12459
12459
|
|
|
12460
12460
|
//#endregion
|
|
12461
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
12461
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/fold.js
|
|
12462
12462
|
/**
|
|
12463
12463
|
* Column-based line folding for a single logical scalar line (YAML 1.2 flow
|
|
12464
12464
|
* folding, §7.3 / §8.2.1). Breaks the content at "safe" single-space
|
|
@@ -12695,7 +12695,7 @@ function renderBlockFolded(s, indent) {
|
|
|
12695
12695
|
}
|
|
12696
12696
|
|
|
12697
12697
|
//#endregion
|
|
12698
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
12698
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/stringifier.js
|
|
12699
12699
|
/**
|
|
12700
12700
|
* Thrown by the stringifier on its failure paths (circular references). The
|
|
12701
12701
|
* facade catches this and materializes the public stringify error.
|
|
@@ -13067,7 +13067,7 @@ function stringifyValue(value, options) {
|
|
|
13067
13067
|
}
|
|
13068
13068
|
|
|
13069
13069
|
//#endregion
|
|
13070
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.
|
|
13070
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/Yaml.js
|
|
13071
13071
|
/**
|
|
13072
13072
|
* Options controlling parse behavior. All fields are omissible; absent fields
|
|
13073
13073
|
* resolve to `strict` `true`, `maxAliasCount` `100` (the alias-based
|
|
@@ -13719,7 +13719,7 @@ function deepEqualValues(a, b) {
|
|
|
13719
13719
|
}
|
|
13720
13720
|
|
|
13721
13721
|
//#endregion
|
|
13722
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
13722
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/documents.js
|
|
13723
13723
|
/**
|
|
13724
13724
|
* An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
|
|
13725
13725
|
* and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
|
|
@@ -13790,7 +13790,7 @@ const selectSoleDocument = (content) => Effect.gen(function* () {
|
|
|
13790
13790
|
});
|
|
13791
13791
|
|
|
13792
13792
|
//#endregion
|
|
13793
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
13793
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/pnpm.js
|
|
13794
13794
|
const PnpmImporterDeps = Schema.optionalKey(Schema.Record(Schema.String, Schema.Struct({
|
|
13795
13795
|
specifier: Schema.String,
|
|
13796
13796
|
version: Schema.String
|
|
@@ -13917,7 +13917,7 @@ const toFields$1 = (raw) => Effect.gen(function* () {
|
|
|
13917
13917
|
});
|
|
13918
13918
|
|
|
13919
13919
|
//#endregion
|
|
13920
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
13920
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/internal/yarn.js
|
|
13921
13921
|
const YarnLockfileRaw = Schema.Record(Schema.String, Schema.Unknown);
|
|
13922
13922
|
const DepRecord = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
13923
13923
|
const YarnEntry = Schema.Struct({
|
|
@@ -14041,7 +14041,7 @@ const cleanYarnDeps = (deps) => {
|
|
|
14041
14041
|
};
|
|
14042
14042
|
|
|
14043
14043
|
//#endregion
|
|
14044
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
14044
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/Lockfile.js
|
|
14045
14045
|
const EMPTY_IMPORTERS = [];
|
|
14046
14046
|
/**
|
|
14047
14047
|
* Failure of `Lockfile.parse`: the given content is not a valid lockfile of
|
|
@@ -14286,7 +14286,7 @@ var Lockfile = class Lockfile extends Schema.Class("Lockfile")({
|
|
|
14286
14286
|
};
|
|
14287
14287
|
|
|
14288
14288
|
//#endregion
|
|
14289
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.
|
|
14289
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.1.10_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__@effected+npm@0_baf93f2c33d0504f713f685ac5710e50/node_modules/@effected/lockfiles/LockfileIntegrity.js
|
|
14290
14290
|
/**
|
|
14291
14291
|
* The minimal manifest shape {@link LockfileIntegrity.compare} checks a
|
|
14292
14292
|
* lockfile against: a package name plus the four optional dependency maps.
|
|
@@ -14403,7 +14403,7 @@ var LockfileIntegrity = class LockfileIntegrity extends Schema.Class("LockfileIn
|
|
|
14403
14403
|
};
|
|
14404
14404
|
|
|
14405
14405
|
//#endregion
|
|
14406
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
14406
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/Dependency.js
|
|
14407
14407
|
/**
|
|
14408
14408
|
* A resolved dependency entry pairing a package name with its version
|
|
14409
14409
|
* specifier and the `kind` of map it came from (`@effected/npm`'s
|
|
@@ -14468,7 +14468,7 @@ var Dependency = class extends Schema.Class("Dependency")({
|
|
|
14468
14468
|
};
|
|
14469
14469
|
|
|
14470
14470
|
//#endregion
|
|
14471
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
14471
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/DevEngines.js
|
|
14472
14472
|
/**
|
|
14473
14473
|
* A single `devEngines` constraint with a name and optional `version` / `onFail`.
|
|
14474
14474
|
*
|
|
@@ -14507,7 +14507,7 @@ const DevEnginesSchema = Schema.Struct({
|
|
|
14507
14507
|
});
|
|
14508
14508
|
|
|
14509
14509
|
//#endregion
|
|
14510
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
14510
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/licenseIds.js
|
|
14511
14511
|
/** @internal */
|
|
14512
14512
|
const ACTIVE_LICENSE_IDS = [
|
|
14513
14513
|
"0BSD",
|
|
@@ -15241,7 +15241,7 @@ const LICENSE_IDS = new Set(ACTIVE_LICENSE_IDS);
|
|
|
15241
15241
|
const DEPRECATED_LICENSE_IDS = new Set(DEPRECATED_LICENSE_ID_LIST);
|
|
15242
15242
|
|
|
15243
15243
|
//#endregion
|
|
15244
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15244
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/License.js
|
|
15245
15245
|
/**
|
|
15246
15246
|
* Indicates that a string is not a valid SPDX expression fragment: an
|
|
15247
15247
|
* unrecognized license or exception identifier, or a malformed
|
|
@@ -15411,7 +15411,7 @@ var License = class License extends Schema.Class("License")({
|
|
|
15411
15411
|
};
|
|
15412
15412
|
|
|
15413
15413
|
//#endregion
|
|
15414
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15414
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/exceptions.js
|
|
15415
15415
|
/** @internal */
|
|
15416
15416
|
const ACTIVE_EXCEPTION_IDS = [
|
|
15417
15417
|
"389-exception",
|
|
@@ -15489,7 +15489,7 @@ const EXCEPTION_IDS = new Set(ACTIVE_EXCEPTION_IDS);
|
|
|
15489
15489
|
const DEPRECATED_EXCEPTION_IDS = new Set(DEPRECATED_EXCEPTION_ID_LIST);
|
|
15490
15490
|
|
|
15491
15491
|
//#endregion
|
|
15492
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15492
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/LicenseException.js
|
|
15493
15493
|
/**
|
|
15494
15494
|
* A validated SPDX license-exception identifier: an Effect `Schema.Class` whose
|
|
15495
15495
|
* `id` is a member of the SPDX exception list. The class doubles as its own
|
|
@@ -15610,7 +15610,7 @@ var LicenseException = class LicenseException extends Schema.Class("LicenseExcep
|
|
|
15610
15610
|
};
|
|
15611
15611
|
|
|
15612
15612
|
//#endregion
|
|
15613
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15613
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/parser.js
|
|
15614
15614
|
const TOKEN_OPEN_PAREN = 0;
|
|
15615
15615
|
const TOKEN_CLOSE_PAREN = 1;
|
|
15616
15616
|
const TOKEN_PLUS = 2;
|
|
@@ -15840,7 +15840,7 @@ function parse$2(input) {
|
|
|
15840
15840
|
}
|
|
15841
15841
|
|
|
15842
15842
|
//#endregion
|
|
15843
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15843
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.1_effect@4.0.0-beta.101/node_modules/@effected/spdx/SpdxExpression.js
|
|
15844
15844
|
/**
|
|
15845
15845
|
* Serialize a tagged SPDX AST node — a class instance OR its encoded POJO — to
|
|
15846
15846
|
* the canonical, fully-parenthesized SPDX string. This is the single source of
|
|
@@ -16066,7 +16066,7 @@ const SpdxExpression = {
|
|
|
16066
16066
|
};
|
|
16067
16067
|
|
|
16068
16068
|
//#endregion
|
|
16069
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16069
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/License.js
|
|
16070
16070
|
/**
|
|
16071
16071
|
* Indicates that a string is not a valid SPDX license identifier or expression.
|
|
16072
16072
|
*
|
|
@@ -16102,7 +16102,7 @@ const isValidSpdx = (value) => {
|
|
|
16102
16102
|
const SpdxLicense = Schema.String.pipe(Schema.check(Schema.makeFilter((value) => isValidSpdx(value) ? void 0 : "Expected a valid SPDX license expression")), Schema.brand("SpdxLicense"));
|
|
16103
16103
|
|
|
16104
16104
|
//#endregion
|
|
16105
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16105
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/PackageManager.js
|
|
16106
16106
|
const PACKAGE_MANAGER_RE = /^([a-z]+)@(\d+\.\d+\.\d+(?:-[a-zA-Z0-9._-]+)?)(?:\+(.+))?$/;
|
|
16107
16107
|
/**
|
|
16108
16108
|
* The `packageManager` field only ever carries corepack's `<algo>.<hex>`
|
|
@@ -16161,7 +16161,7 @@ var PackageManager = class PackageManager extends Schema.Class("PackageManager")
|
|
|
16161
16161
|
};
|
|
16162
16162
|
|
|
16163
16163
|
//#endregion
|
|
16164
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16164
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/PackageName.js
|
|
16165
16165
|
/**
|
|
16166
16166
|
* Indicates that a string could not be used as a valid npm package name.
|
|
16167
16167
|
*
|
|
@@ -16220,7 +16220,7 @@ const PackageName = Object.assign(Schema.Union([ScopedPackageName, UnscopedPacka
|
|
|
16220
16220
|
});
|
|
16221
16221
|
|
|
16222
16222
|
//#endregion
|
|
16223
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16223
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/Person.js
|
|
16224
16224
|
const parsePersonString = (input) => {
|
|
16225
16225
|
const emailMatch = input.match(/<([^>]+)>/);
|
|
16226
16226
|
const urlMatch = input.match(/\(([^)]+)\)/);
|
|
@@ -16364,7 +16364,7 @@ var Person = class Person extends Schema.Class("Person")({
|
|
|
16364
16364
|
};
|
|
16365
16365
|
|
|
16366
16366
|
//#endregion
|
|
16367
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16367
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/internal/format.js
|
|
16368
16368
|
const KEY_INDEX = new Map([
|
|
16369
16369
|
"$schema",
|
|
16370
16370
|
"name",
|
|
@@ -16588,7 +16588,7 @@ const renderJson = (raw, options) => {
|
|
|
16588
16588
|
};
|
|
16589
16589
|
|
|
16590
16590
|
//#endregion
|
|
16591
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.
|
|
16591
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.5.1_effect@4.0.0-beta.101/node_modules/@effected/package-json/Package.js
|
|
16592
16592
|
const toHashMap = SchemaTransformation.transform({
|
|
16593
16593
|
decode: (record) => HashMap.fromIterable(Object.entries(record)),
|
|
16594
16594
|
encode: (map) => Object.fromEntries(HashMap.toEntries(map))
|
|
@@ -16907,7 +16907,7 @@ var Package = class Package extends Schema.Class("Package")({
|
|
|
16907
16907
|
};
|
|
16908
16908
|
|
|
16909
16909
|
//#endregion
|
|
16910
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
16910
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspacePackage.js
|
|
16911
16911
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
16912
16912
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
16913
16913
|
/**
|
|
@@ -17187,7 +17187,7 @@ var WorkspacePackage = class WorkspacePackage extends Schema.Class("WorkspacePac
|
|
|
17187
17187
|
};
|
|
17188
17188
|
|
|
17189
17189
|
//#endregion
|
|
17190
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
17190
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.2_@effected+glob@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Descend.js
|
|
17191
17191
|
/**
|
|
17192
17192
|
* Typed failure raised by {@link descend}: a directory mid-walk was unreadable
|
|
17193
17193
|
* (under `onUnreadable: "fail"`), or the walk descended past `maxDepth`. Depth
|
|
@@ -17323,7 +17323,7 @@ const descend = Effect.fn("Walker.descend")(function* (pattern, options) {
|
|
|
17323
17323
|
});
|
|
17324
17324
|
|
|
17325
17325
|
//#endregion
|
|
17326
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
17326
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.2_@effected+glob@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Expand.js
|
|
17327
17327
|
/**
|
|
17328
17328
|
* Typed failure raised by {@link compileAndExpand}: the single error the
|
|
17329
17329
|
* compile+expand recipe fails with, so a caller catches one tag rather than
|
|
@@ -17414,7 +17414,7 @@ const compileAndExpand = Effect.fn("Walker.compileAndExpand")(function* (pattern
|
|
|
17414
17414
|
});
|
|
17415
17415
|
|
|
17416
17416
|
//#endregion
|
|
17417
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
17417
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.2_@effected+glob@0.2.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Walker.js
|
|
17418
17418
|
/**
|
|
17419
17419
|
* Ascend from `start` toward the filesystem root, yielding each directory,
|
|
17420
17420
|
* nearest first.
|
|
@@ -17516,7 +17516,7 @@ const Walker$1 = {
|
|
|
17516
17516
|
};
|
|
17517
17517
|
|
|
17518
17518
|
//#endregion
|
|
17519
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17519
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceRoot.js
|
|
17520
17520
|
/**
|
|
17521
17521
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
17522
17522
|
*
|
|
@@ -17704,7 +17704,7 @@ var WorkspaceRoot = class WorkspaceRoot extends Context.Service()("@effected/wor
|
|
|
17704
17704
|
};
|
|
17705
17705
|
|
|
17706
17706
|
//#endregion
|
|
17707
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17707
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/limits.js
|
|
17708
17708
|
/**
|
|
17709
17709
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
17710
17710
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -17723,7 +17723,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
17723
17723
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
17724
17724
|
|
|
17725
17725
|
//#endregion
|
|
17726
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17726
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/traverse.js
|
|
17727
17727
|
/** Directory names never descended into. */
|
|
17728
17728
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
17729
17729
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -17814,7 +17814,7 @@ var Traversal = class {
|
|
|
17814
17814
|
};
|
|
17815
17815
|
|
|
17816
17816
|
//#endregion
|
|
17817
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17817
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/enumerate.js
|
|
17818
17818
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
17819
17819
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
17820
17820
|
/**
|
|
@@ -17885,7 +17885,7 @@ const enumerate = (root, globs, options) => Effect.gen(function* () {
|
|
|
17885
17885
|
});
|
|
17886
17886
|
|
|
17887
17887
|
//#endregion
|
|
17888
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17888
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/patterns.js
|
|
17889
17889
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
17890
17890
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
17891
17891
|
const pnpmPatternsOf = (document) => {
|
|
@@ -17943,7 +17943,7 @@ const readPatterns = (root) => Effect.gen(function* () {
|
|
|
17943
17943
|
});
|
|
17944
17944
|
|
|
17945
17945
|
//#endregion
|
|
17946
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
17946
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceDiscovery.js
|
|
17947
17947
|
/**
|
|
17948
17948
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
17949
17949
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -18378,7 +18378,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends Context.Service()("@ef
|
|
|
18378
18378
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
18379
18379
|
|
|
18380
18380
|
//#endregion
|
|
18381
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
18381
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/DependencyGraph.js
|
|
18382
18382
|
/**
|
|
18383
18383
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
18384
18384
|
* because it contains a cycle.
|
|
@@ -18614,7 +18614,7 @@ const kahn = (edges) => {
|
|
|
18614
18614
|
};
|
|
18615
18615
|
|
|
18616
18616
|
//#endregion
|
|
18617
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.4.
|
|
18617
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.4.2_effect@4.0.0-beta.101/node_modules/@effected/git/GitCommand.js
|
|
18618
18618
|
/**
|
|
18619
18619
|
* Builds a `git` `ChildProcess.StandardCommand` with the argv this package
|
|
18620
18620
|
* classifies against.
|
|
@@ -19034,7 +19034,7 @@ const GitCommand = {
|
|
|
19034
19034
|
};
|
|
19035
19035
|
|
|
19036
19036
|
//#endregion
|
|
19037
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.4.
|
|
19037
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.4.2_effect@4.0.0-beta.101/node_modules/@effected/git/internal/run.js
|
|
19038
19038
|
/**
|
|
19039
19039
|
* Spawns `command` and collects its stdout, stderr, and exit code as a single
|
|
19040
19040
|
* triple.
|
|
@@ -19062,7 +19062,7 @@ const runCollected = (command) => Effect.scoped(Effect.gen(function* () {
|
|
|
19062
19062
|
}));
|
|
19063
19063
|
|
|
19064
19064
|
//#endregion
|
|
19065
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.4.
|
|
19065
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.4.2_effect@4.0.0-beta.101/node_modules/@effected/git/Git.js
|
|
19066
19066
|
/** git's own ceiling: a run that has not answered in 30s is not going to. */
|
|
19067
19067
|
const GIT_TIMEOUT = Duration.seconds(30);
|
|
19068
19068
|
/**
|
|
@@ -19980,7 +19980,7 @@ var Git = class extends Context.Service()("@effected/git/Git") {
|
|
|
19980
19980
|
};
|
|
19981
19981
|
|
|
19982
19982
|
//#endregion
|
|
19983
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
19983
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/ChangeDetector.js
|
|
19984
19984
|
/**
|
|
19985
19985
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
19986
19986
|
*
|
|
@@ -20128,13 +20128,13 @@ var ChangeDetector = class ChangeDetector extends Context.Service()("@effected/w
|
|
|
20128
20128
|
};
|
|
20129
20129
|
|
|
20130
20130
|
//#endregion
|
|
20131
|
-
//#region ../../node_modules/.pnpm/@pnpm+constants@1100.0.
|
|
20131
|
+
//#region ../../node_modules/.pnpm/@pnpm+constants@1100.0.1/node_modules/@pnpm/constants/lib/index.js
|
|
20132
20132
|
const LOCKFILE_MAJOR_VERSION = "9";
|
|
20133
20133
|
const LOCKFILE_VERSION = `${"9"}.0`;
|
|
20134
20134
|
const ENGINE_NAME = `${process.platform};${process.arch};node${process.version.split(".")[0].substring(1)}`;
|
|
20135
20135
|
|
|
20136
20136
|
//#endregion
|
|
20137
|
-
//#region ../../node_modules/.pnpm/@pnpm+error@1100.0
|
|
20137
|
+
//#region ../../node_modules/.pnpm/@pnpm+error@1100.1.0/node_modules/@pnpm/error/lib/index.js
|
|
20138
20138
|
var PnpmError = class extends Error {
|
|
20139
20139
|
code;
|
|
20140
20140
|
hint;
|
|
@@ -20150,7 +20150,7 @@ var PnpmError = class extends Error {
|
|
|
20150
20150
|
};
|
|
20151
20151
|
|
|
20152
20152
|
//#endregion
|
|
20153
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.
|
|
20153
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.3/node_modules/@pnpm/catalogs.config/lib/getCatalogsFromWorkspaceManifest.js
|
|
20154
20154
|
function getCatalogsFromWorkspaceManifest(workspaceManifest) {
|
|
20155
20155
|
if (workspaceManifest == null) return {};
|
|
20156
20156
|
checkDefaultCatalogIsDefinedOnce(workspaceManifest);
|
|
@@ -20164,7 +20164,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
|
|
|
20164
20164
|
}
|
|
20165
20165
|
|
|
20166
20166
|
//#endregion
|
|
20167
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.
|
|
20167
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.config@1100.0.3/node_modules/@pnpm/catalogs.config/lib/mergeCatalogs.js
|
|
20168
20168
|
/**
|
|
20169
20169
|
* Deep-merges catalog definitions, later arguments taking precedence over
|
|
20170
20170
|
* earlier ones at the individual entry level. Use it to fold the catalog
|
|
@@ -20203,7 +20203,7 @@ function mergeCatalogs(...catalogsList) {
|
|
|
20203
20203
|
}
|
|
20204
20204
|
|
|
20205
20205
|
//#endregion
|
|
20206
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.protocol-parser@1100.0.
|
|
20206
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.protocol-parser@1100.0.1/node_modules/@pnpm/catalogs.protocol-parser/lib/parseCatalogProtocol.js
|
|
20207
20207
|
const CATALOG_PROTOCOL = "catalog:";
|
|
20208
20208
|
/**
|
|
20209
20209
|
* Parse a package.json dependency specifier using the catalog: protocol.
|
|
@@ -20216,7 +20216,7 @@ function parseCatalogProtocol(bareSpecifier) {
|
|
|
20216
20216
|
}
|
|
20217
20217
|
|
|
20218
20218
|
//#endregion
|
|
20219
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.resolver@1100.0.
|
|
20219
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.resolver@1100.0.1/node_modules/@pnpm/catalogs.resolver/lib/matchCatalogResolveResult.js
|
|
20220
20220
|
function matchCatalogResolveResult(result, matcher) {
|
|
20221
20221
|
switch (result.type) {
|
|
20222
20222
|
case "found": return matcher.found(result);
|
|
@@ -20226,7 +20226,7 @@ function matchCatalogResolveResult(result, matcher) {
|
|
|
20226
20226
|
}
|
|
20227
20227
|
|
|
20228
20228
|
//#endregion
|
|
20229
|
-
//#region ../../node_modules/.pnpm/@pnpm+catalogs.resolver@1100.0.
|
|
20229
|
+
//#region ../../node_modules/.pnpm/@pnpm+catalogs.resolver@1100.0.1/node_modules/@pnpm/catalogs.resolver/lib/resolveFromCatalog.js
|
|
20230
20230
|
function resolveFromCatalog(catalogs, wantedDependency) {
|
|
20231
20231
|
const catalogName = parseCatalogProtocol(wantedDependency.bareSpecifier);
|
|
20232
20232
|
if (catalogName == null) return { type: "unused" };
|
|
@@ -20262,7 +20262,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
20262
20262
|
}
|
|
20263
20263
|
|
|
20264
20264
|
//#endregion
|
|
20265
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20265
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/catalogs.js
|
|
20266
20266
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
20267
20267
|
const inlineCatalogs = (manifest) => {
|
|
20268
20268
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -20327,7 +20327,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
|
|
|
20327
20327
|
};
|
|
20328
20328
|
|
|
20329
20329
|
//#endregion
|
|
20330
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20330
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/ConfigDependencyHooks.js
|
|
20331
20331
|
/** Whether `value` is a non-null, non-array object. */
|
|
20332
20332
|
const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
20333
20333
|
/**
|
|
@@ -20514,7 +20514,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends Context.Service(
|
|
|
20514
20514
|
};
|
|
20515
20515
|
|
|
20516
20516
|
//#endregion
|
|
20517
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20517
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/PackageManagerName.js
|
|
20518
20518
|
/**
|
|
20519
20519
|
* The four package managers this package understands.
|
|
20520
20520
|
*
|
|
@@ -20757,7 +20757,7 @@ var PackageManagerDetector = class PackageManagerDetector extends Context.Servic
|
|
|
20757
20757
|
};
|
|
20758
20758
|
|
|
20759
20759
|
//#endregion
|
|
20760
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20760
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/LockfileReader.js
|
|
20761
20761
|
/**
|
|
20762
20762
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
20763
20763
|
*
|
|
@@ -20868,7 +20868,7 @@ var LockfileReader = class LockfileReader extends Context.Service()("@effected/w
|
|
|
20868
20868
|
};
|
|
20869
20869
|
|
|
20870
20870
|
//#endregion
|
|
20871
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20871
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/Publishability.js
|
|
20872
20872
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
20873
20873
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
20874
20874
|
/**
|
|
@@ -20969,7 +20969,94 @@ var PublishabilityDetector = class PublishabilityDetector extends Context.Servic
|
|
|
20969
20969
|
};
|
|
20970
20970
|
|
|
20971
20971
|
//#endregion
|
|
20972
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
20972
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/importerVersions.js
|
|
20973
|
+
/**
|
|
20974
|
+
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
20975
|
+
*
|
|
20976
|
+
* pnpm records an importer version as the resolved version followed by the peer
|
|
20977
|
+
* context it was resolved under — `4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@8.1.1))`.
|
|
20978
|
+
* `@effected/lockfiles` stores that string verbatim (its `packages:` key parser
|
|
20979
|
+
* strips the suffix; the importer entries deliberately keep it), so the raw
|
|
20980
|
+
* value must never reach a consumer's dependency table — it would render the
|
|
20981
|
+
* whole parenthesized chain as the "version" a dependency moved to.
|
|
20982
|
+
*
|
|
20983
|
+
* Everything from the first `(` is dropped; a version with no suffix passes
|
|
20984
|
+
* through untouched.
|
|
20985
|
+
*/
|
|
20986
|
+
const stripPeerSuffix = (version) => {
|
|
20987
|
+
const paren = version.indexOf("(");
|
|
20988
|
+
return paren === -1 ? version : version.slice(0, paren);
|
|
20989
|
+
};
|
|
20990
|
+
/**
|
|
20991
|
+
* Whether a recorded importer version is a concrete version usable as a
|
|
20992
|
+
* resolution answer.
|
|
20993
|
+
*
|
|
20994
|
+
* A `link:` / `file:` entry records a filesystem edge rather than a version, and
|
|
20995
|
+
* an empty string is pnpm's "specifier only, nothing installed" marker. Both
|
|
20996
|
+
* would be worse than no answer at all: the fallback exists to report a concrete
|
|
20997
|
+
* version movement, and reporting `link:../foo` as a version is noise a
|
|
20998
|
+
* changeset would carry into release notes.
|
|
20999
|
+
*/
|
|
21000
|
+
const isConcreteVersion = (version) => version.length > 0 && !version.startsWith("link:") && !version.startsWith("file:");
|
|
21001
|
+
/**
|
|
21002
|
+
* Build the importer-path → dependency-name → version index a snapshot uses to
|
|
21003
|
+
* answer `catalog:` specifiers its catalog set cannot resolve.
|
|
21004
|
+
*
|
|
21005
|
+
* @remarks
|
|
21006
|
+
* Keyed by **name only** within each importer, deliberately across every
|
|
21007
|
+
* dependency field. The bug this fixes is a peer declared `catalog:effect:peers`
|
|
21008
|
+
* whose importer records no `peerDependencies` entry at all — pnpm writes peer
|
|
21009
|
+
* declarations into the importer block only when they are also installed, so the
|
|
21010
|
+
* concrete version lives on the package's `devDependencies` row for the same
|
|
21011
|
+
* name. Joining by name across fields is what finds it; joining by field, or by
|
|
21012
|
+
* matching the recorded specifier, would not.
|
|
21013
|
+
*
|
|
21014
|
+
* Only pnpm populates importer versions; bun and npm record resolved versions on
|
|
21015
|
+
* their package entries instead, so those formats yield an empty index and the
|
|
21016
|
+
* fallback is inert for them.
|
|
21017
|
+
*/
|
|
21018
|
+
const importerVersionsOf = (lockfile) => {
|
|
21019
|
+
const index = Object.create(null);
|
|
21020
|
+
for (const importer of lockfile.importers) {
|
|
21021
|
+
const versions = Object.create(null);
|
|
21022
|
+
for (const dependency of importer.dependencies) {
|
|
21023
|
+
const recorded = dependency.version;
|
|
21024
|
+
if (recorded === void 0) continue;
|
|
21025
|
+
const version = stripPeerSuffix(recorded);
|
|
21026
|
+
if (!isConcreteVersion(version)) continue;
|
|
21027
|
+
versions[dependency.name] ??= version;
|
|
21028
|
+
}
|
|
21029
|
+
index[importer.path] = versions;
|
|
21030
|
+
}
|
|
21031
|
+
return index;
|
|
21032
|
+
};
|
|
21033
|
+
/**
|
|
21034
|
+
* The version every importer agrees `dependency` resolved to, or `undefined`
|
|
21035
|
+
* when they disagree or none record it.
|
|
21036
|
+
*
|
|
21037
|
+
* @remarks
|
|
21038
|
+
* The unambiguity rule is what makes a workspace-wide answer safe from a
|
|
21039
|
+
* snapshot method that receives no importer context. Two packages in one
|
|
21040
|
+
* monorepo may legitimately hold different versions of the same dependency; in
|
|
21041
|
+
* that case there is no single correct answer, so this yields nothing and the
|
|
21042
|
+
* caller keeps today's behavior (no row) rather than inventing a wrong one.
|
|
21043
|
+
*/
|
|
21044
|
+
const unanimousVersionOf = (index, dependency) => {
|
|
21045
|
+
let agreed;
|
|
21046
|
+
for (const versions of Object.values(index)) {
|
|
21047
|
+
const version = versions[dependency];
|
|
21048
|
+
if (version === void 0) continue;
|
|
21049
|
+
if (agreed === void 0) {
|
|
21050
|
+
agreed = version;
|
|
21051
|
+
continue;
|
|
21052
|
+
}
|
|
21053
|
+
if (agreed !== version) return void 0;
|
|
21054
|
+
}
|
|
21055
|
+
return agreed;
|
|
21056
|
+
};
|
|
21057
|
+
|
|
21058
|
+
//#endregion
|
|
21059
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceCatalogs.js
|
|
20973
21060
|
/**
|
|
20974
21061
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
20975
21062
|
* resolution semantic in the package.
|
|
@@ -21288,7 +21375,15 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
21288
21375
|
}));
|
|
21289
21376
|
const assemble = Effect.gen(function* () {
|
|
21290
21377
|
const root = yield* Effect.suspend(() => roots.find(options?.cwd ?? process.cwd()));
|
|
21291
|
-
const
|
|
21378
|
+
const lockfileOutputs = yield* lockfiles.read().pipe(Effect.map((lockfile) => ({
|
|
21379
|
+
catalogs: CatalogSet.fromLockfile(lockfile),
|
|
21380
|
+
importerVersions: importerVersionsOf(lockfile)
|
|
21381
|
+
})), Effect.catch((_failure) => Effect.succeed({
|
|
21382
|
+
catalogs: CatalogSet.empty(),
|
|
21383
|
+
importerVersions: {}
|
|
21384
|
+
})));
|
|
21385
|
+
const fromLockfile = lockfileOutputs.catalogs;
|
|
21386
|
+
const importerVersions = lockfileOutputs.importerVersions;
|
|
21292
21387
|
const workspaceYaml = path.join(root, "pnpm-workspace.yaml");
|
|
21293
21388
|
const hasPnpmWorkspace = yield* probeExists(workspaceYaml);
|
|
21294
21389
|
let inline;
|
|
@@ -21316,7 +21411,8 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
21316
21411
|
const manifestPath = path.join(root, "package.json");
|
|
21317
21412
|
if (!(yield* probeExists(manifestPath))) return {
|
|
21318
21413
|
catalogs: fromLockfile,
|
|
21319
|
-
releaseAgeGate: ReleaseAgeGate.combine()
|
|
21414
|
+
releaseAgeGate: ReleaseAgeGate.combine(),
|
|
21415
|
+
importerVersions
|
|
21320
21416
|
};
|
|
21321
21417
|
const text = yield* fs.readFileString(manifestPath).pipe(Effect.mapError((cause) => new CatalogAssemblyError({
|
|
21322
21418
|
source: "manifest",
|
|
@@ -21335,7 +21431,8 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
21335
21431
|
}));
|
|
21336
21432
|
return {
|
|
21337
21433
|
catalogs: assembled,
|
|
21338
|
-
releaseAgeGate
|
|
21434
|
+
releaseAgeGate,
|
|
21435
|
+
importerVersions
|
|
21339
21436
|
};
|
|
21340
21437
|
});
|
|
21341
21438
|
const [resolveOnce, invalidate] = yield* Effect.cachedInvalidateWithTTL(assemble, Duration.infinity);
|
|
@@ -21349,6 +21446,9 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
21349
21446
|
}),
|
|
21350
21447
|
releaseAgeGate: Effect.fn("WorkspaceCatalogs.releaseAgeGate")(function* () {
|
|
21351
21448
|
return (yield* memo).releaseAgeGate;
|
|
21449
|
+
}),
|
|
21450
|
+
importerVersions: Effect.fn("WorkspaceCatalogs.importerVersions")(function* () {
|
|
21451
|
+
return (yield* memo).importerVersions;
|
|
21352
21452
|
})
|
|
21353
21453
|
};
|
|
21354
21454
|
});
|
|
@@ -21400,7 +21500,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
21400
21500
|
};
|
|
21401
21501
|
|
|
21402
21502
|
//#endregion
|
|
21403
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
21503
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
|
|
21404
21504
|
const EMPTY = Object.freeze(Object.create(null));
|
|
21405
21505
|
const DependencyMap = Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed(EMPTY)), Schema.withConstructorDefault(Effect.succeed(EMPTY)));
|
|
21406
21506
|
/**
|
|
@@ -21484,7 +21584,19 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
21484
21584
|
/** Every workspace package captured at this moment. */
|
|
21485
21585
|
packages: Schema.Array(PackageStateSnapshot),
|
|
21486
21586
|
/** The catalog set assembled at this moment. */
|
|
21487
|
-
catalogs: CatalogSet
|
|
21587
|
+
catalogs: CatalogSet,
|
|
21588
|
+
/**
|
|
21589
|
+
* Each importer's dependency-name → resolved-version map, as the manager's
|
|
21590
|
+
* lockfile recorded it at this moment.
|
|
21591
|
+
*
|
|
21592
|
+
* @remarks
|
|
21593
|
+
* Defaults to `{}`, so a `WorkspaceStateSnapshot` serialized before this field
|
|
21594
|
+
* existed still decodes — and an empty index simply makes the `catalog:`
|
|
21595
|
+
* fallback in {@link WorkspaceStateSnapshot.resolve} inert, which is exactly
|
|
21596
|
+
* the behavior those older values were captured under. Only pnpm records
|
|
21597
|
+
* importer versions; bun and npm yield an empty index.
|
|
21598
|
+
*/
|
|
21599
|
+
importerVersions: Schema.optionalKey(Schema.Record(Schema.String, Schema.Record(Schema.String, Schema.String)))
|
|
21488
21600
|
}) {
|
|
21489
21601
|
#versionIndex;
|
|
21490
21602
|
#packageIndex;
|
|
@@ -21519,16 +21631,62 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
21519
21631
|
* unparseable string — is `Option.none()`, because there is no indirection to
|
|
21520
21632
|
* resolve. Total.
|
|
21521
21633
|
*
|
|
21634
|
+
* A `catalog:` specifier the catalog set cannot resolve falls back to this
|
|
21635
|
+
* snapshot's `importerVersions` — but only to a version
|
|
21636
|
+
* **every** importer recording that dependency agrees on. A catalog injected
|
|
21637
|
+
* by a config-dependency pnpmfile hook appears in no committed catalog source,
|
|
21638
|
+
* so without this fallback both sides of a before/after diff resolve it to the
|
|
21639
|
+
* same raw string and a real version movement produces no row. When importers
|
|
21640
|
+
* disagree there is no single correct answer, so this stays `Option.none()`
|
|
21641
|
+
* rather than inventing one; {@link WorkspaceStateSnapshot.resolveIn} answers
|
|
21642
|
+
* precisely for callers that know which importer is asking.
|
|
21643
|
+
*
|
|
21522
21644
|
* @param dependency - The dependency's package name (what `workspace:` /
|
|
21523
21645
|
* `catalog:` resolve for).
|
|
21524
21646
|
* @param specifier - The raw specifier string.
|
|
21525
21647
|
*/
|
|
21526
21648
|
resolve(dependency, specifier) {
|
|
21649
|
+
return this.#resolveWith(dependency, specifier, () => Option.fromUndefinedOr(unanimousVersionOf(this.importerVersions ?? {}, dependency)));
|
|
21650
|
+
}
|
|
21651
|
+
/**
|
|
21652
|
+
* The concrete range or version a specifier resolved to AS OF this snapshot,
|
|
21653
|
+
* scoped to the importer that declared it.
|
|
21654
|
+
*
|
|
21655
|
+
* @remarks
|
|
21656
|
+
* Identical to {@link WorkspaceStateSnapshot.resolve} except in how an
|
|
21657
|
+
* unresolvable `catalog:` specifier falls back: this consults **only**
|
|
21658
|
+
* `importerPath`'s own recorded versions, so a monorepo whose packages hold
|
|
21659
|
+
* different versions of one dependency still gets an exact answer where
|
|
21660
|
+
* `resolve` must abstain. Prefer this whenever the caller knows the importer —
|
|
21661
|
+
* a consumer iterating `packages` has `relativePath` in hand, which is the
|
|
21662
|
+
* importer key (`"."` for the root package).
|
|
21663
|
+
*
|
|
21664
|
+
* An unknown `importerPath`, or one recording nothing for `dependency`, is
|
|
21665
|
+
* `Option.none()`. Total.
|
|
21666
|
+
*
|
|
21667
|
+
* @param importerPath - The importer's path relative to the workspace root,
|
|
21668
|
+
* `"."` for the root package — `PackageStateSnapshot.relativePath`.
|
|
21669
|
+
* @param dependency - The dependency's package name.
|
|
21670
|
+
* @param specifier - The raw specifier string.
|
|
21671
|
+
*/
|
|
21672
|
+
resolveIn(importerPath, dependency, specifier) {
|
|
21673
|
+
return this.#resolveWith(dependency, specifier, () => Option.fromUndefinedOr(this.importerVersions?.[importerPath]?.[dependency]));
|
|
21674
|
+
}
|
|
21675
|
+
/**
|
|
21676
|
+
* The shared resolution path: classify, answer from the captured state, and
|
|
21677
|
+
* consult `onUnresolvedCatalog` only for a `catalog:` specifier the catalog set
|
|
21678
|
+
* could not answer. A plain range is already its own answer and must keep
|
|
21679
|
+
* resolving to `Option.none()` so the caller falls back to the raw string.
|
|
21680
|
+
*/
|
|
21681
|
+
#resolveWith(dependency, specifier, onUnresolvedCatalog) {
|
|
21527
21682
|
const exit = Schema.decodeUnknownExit(DependencySpecifier.FromString)(specifier);
|
|
21528
21683
|
if (!Exit.isSuccess(exit)) return Option.none();
|
|
21529
21684
|
const classified = exit.value;
|
|
21530
21685
|
switch (classified._tag) {
|
|
21531
|
-
case "catalog":
|
|
21686
|
+
case "catalog": {
|
|
21687
|
+
const fromCatalogs = this.catalogs.rangeOf(dependency, classified.name);
|
|
21688
|
+
return Option.isSome(fromCatalogs) ? fromCatalogs : onUnresolvedCatalog();
|
|
21689
|
+
}
|
|
21532
21690
|
case "workspace": return Option.fromUndefinedOr(this.#versions().get(dependency));
|
|
21533
21691
|
default: return Option.none();
|
|
21534
21692
|
}
|
|
@@ -21566,7 +21724,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
21566
21724
|
};
|
|
21567
21725
|
|
|
21568
21726
|
//#endregion
|
|
21569
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
21727
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceSnapshots.js
|
|
21570
21728
|
/** Whether `value` is a non-null, non-array object. */
|
|
21571
21729
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
21572
21730
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -21620,6 +21778,11 @@ const bunInlineCatalogs = (manifest) => {
|
|
|
21620
21778
|
catalogs: workspaces.catalogs
|
|
21621
21779
|
});
|
|
21622
21780
|
};
|
|
21781
|
+
/** The contribution of an absent or malformed lockfile: nothing, on both counts. */
|
|
21782
|
+
const EMPTY_LOCKFILE_RECORD = {
|
|
21783
|
+
catalogs: CatalogSet.empty(),
|
|
21784
|
+
importerVersions: {}
|
|
21785
|
+
};
|
|
21623
21786
|
/**
|
|
21624
21787
|
* Reads workspace state at a git ref with no checkout, and the live worktree.
|
|
21625
21788
|
*
|
|
@@ -21652,10 +21815,17 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21652
21815
|
const roots = yield* WorkspaceRoot;
|
|
21653
21816
|
const discovery = yield* WorkspaceDiscovery;
|
|
21654
21817
|
const catalogsService = yield* WorkspaceCatalogs;
|
|
21655
|
-
/**
|
|
21656
|
-
|
|
21657
|
-
|
|
21658
|
-
|
|
21818
|
+
/**
|
|
21819
|
+
* What a manager's lockfile records at the ref: its catalog set and its
|
|
21820
|
+
* importer versions, from ONE parse. Empty on both counts when the
|
|
21821
|
+
* lockfile is absent or malformed.
|
|
21822
|
+
*/
|
|
21823
|
+
const lockfileRecord = (root, ref, format) => git.show(root, ref, `./${filenameFor(format)}`).pipe(Effect.flatMap((content) => Option.match(content, {
|
|
21824
|
+
onNone: () => Effect.succeed(EMPTY_LOCKFILE_RECORD),
|
|
21825
|
+
onSome: (text) => Lockfile.parse(text, { format }).pipe(Effect.map((lockfile) => ({
|
|
21826
|
+
catalogs: CatalogSet.fromLockfile(lockfile),
|
|
21827
|
+
importerVersions: importerVersionsOf(lockfile)
|
|
21828
|
+
})), Effect.catch(() => Effect.succeed(EMPTY_LOCKFILE_RECORD)))
|
|
21659
21829
|
})));
|
|
21660
21830
|
const computeAt = (root, ref) => Effect.gen(function* () {
|
|
21661
21831
|
const pnpmWorkspaceText = yield* git.show(root, ref, "./pnpm-workspace.yaml");
|
|
@@ -21666,7 +21836,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21666
21836
|
});
|
|
21667
21837
|
let patterns;
|
|
21668
21838
|
let inline;
|
|
21669
|
-
let
|
|
21839
|
+
let recorded;
|
|
21670
21840
|
if (Option.isSome(pnpmWorkspaceText)) {
|
|
21671
21841
|
const pnpmPatterns = pnpmPatternsOf(yield* Yaml.parse(pnpmWorkspaceText.value).pipe(Effect.mapError((cause) => new CatalogAssemblyError({
|
|
21672
21842
|
source: "manifest",
|
|
@@ -21675,13 +21845,13 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21675
21845
|
}))));
|
|
21676
21846
|
patterns = pnpmPatterns.length > 0 ? pnpmPatterns : manifestPatternsOf(rootManifest);
|
|
21677
21847
|
inline = yield* CatalogSet.fromWorkspaceYaml(pnpmWorkspaceText.value);
|
|
21678
|
-
|
|
21848
|
+
recorded = yield* lockfileRecord(root, ref, "pnpm");
|
|
21679
21849
|
} else {
|
|
21680
21850
|
patterns = manifestPatternsOf(rootManifest);
|
|
21681
21851
|
inline = bunInlineCatalogs(rootManifest);
|
|
21682
|
-
|
|
21852
|
+
recorded = yield* lockfileRecord(root, ref, "bun");
|
|
21683
21853
|
}
|
|
21684
|
-
const catalogs = CatalogSet.merge(
|
|
21854
|
+
const catalogs = CatalogSet.merge(recorded.catalogs, inline);
|
|
21685
21855
|
const globs = yield* GlobSet.compile(patterns).pipe(Effect.mapError((error) => new CatalogAssemblyError({
|
|
21686
21856
|
source: "manifest",
|
|
21687
21857
|
path: error.pattern,
|
|
@@ -21708,7 +21878,8 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21708
21878
|
for (const member of members) if (Option.isSome(member)) packages.push(member.value);
|
|
21709
21879
|
return WorkspaceStateSnapshot.make({
|
|
21710
21880
|
packages,
|
|
21711
|
-
catalogs
|
|
21881
|
+
catalogs,
|
|
21882
|
+
importerVersions: recorded.importerVersions
|
|
21712
21883
|
});
|
|
21713
21884
|
});
|
|
21714
21885
|
const atCaches = /* @__PURE__ */ new Map();
|
|
@@ -21732,6 +21903,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21732
21903
|
worktree: Effect.fn("WorkspaceSnapshots.worktree")(function* () {
|
|
21733
21904
|
const packages = yield* discovery.listPackages();
|
|
21734
21905
|
const catalogs = yield* catalogsService.set();
|
|
21906
|
+
const importerVersions = yield* catalogsService.importerVersions();
|
|
21735
21907
|
const snapshotPackages = packages.map((pkg) => PackageStateSnapshot.make({
|
|
21736
21908
|
name: pkg.name,
|
|
21737
21909
|
version: pkg.version,
|
|
@@ -21743,7 +21915,8 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21743
21915
|
}));
|
|
21744
21916
|
return WorkspaceStateSnapshot.make({
|
|
21745
21917
|
packages: snapshotPackages,
|
|
21746
|
-
catalogs
|
|
21918
|
+
catalogs,
|
|
21919
|
+
importerVersions
|
|
21747
21920
|
});
|
|
21748
21921
|
})
|
|
21749
21922
|
};
|
|
@@ -21759,7 +21932,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
21759
21932
|
};
|
|
21760
21933
|
|
|
21761
21934
|
//#endregion
|
|
21762
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.
|
|
21935
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.7.0_@effected+jsonc@0.5.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/Workspaces.js
|
|
21763
21936
|
/**
|
|
21764
21937
|
* Every service that needs only a filesystem: root, package-manager detection,
|
|
21765
21938
|
* discovery, lockfile reading, catalogs and publishability.
|
|
@@ -43647,6 +43820,80 @@ function isUint8Array(value) {
|
|
|
43647
43820
|
//#endregion
|
|
43648
43821
|
//#region ../silk-effects/dist/dev/pkg/changesets/utils/remark-pipeline.js
|
|
43649
43822
|
/**
|
|
43823
|
+
* Marker set on the `data` of a text node whose value must be written to
|
|
43824
|
+
* markdown verbatim rather than escaped.
|
|
43825
|
+
*
|
|
43826
|
+
* @remarks
|
|
43827
|
+
* `remark-stringify` escapes any character that could open a markdown
|
|
43828
|
+
* construct. Inside a dependency table that is always wrong: with
|
|
43829
|
+
* `remark-gfm` enabled `~` is the strikethrough delimiter, so the specifier
|
|
43830
|
+
* `~0.2.1` is written as `\~0.2.1`, and `_` in a package name becomes `\_`.
|
|
43831
|
+
* The corruption compounds on every re-serialization, and dependency-table
|
|
43832
|
+
* cells round-trip through consolidation and PR-body reconstruction.
|
|
43833
|
+
*
|
|
43834
|
+
* The marker is deliberately narrow. It is set only by the dependency-table
|
|
43835
|
+
* cell builder, whose cell vocabulary is closed — package name, dependency
|
|
43836
|
+
* type, action, version specifier, and the em-dash sentinel — and none of
|
|
43837
|
+
* those can legitimately carry markdown. Prose elsewhere in a changeset keeps
|
|
43838
|
+
* the default escaping.
|
|
43839
|
+
*
|
|
43840
|
+
* @internal
|
|
43841
|
+
*/
|
|
43842
|
+
const LITERAL_TEXT_MARKER = "silkLiteralText";
|
|
43843
|
+
/**
|
|
43844
|
+
* Mark a text node so {@link createRemarkProcessor} writes it verbatim.
|
|
43845
|
+
*
|
|
43846
|
+
* @param value - The literal cell text
|
|
43847
|
+
* @returns An MDAST `Text` node carrying the literal marker
|
|
43848
|
+
*
|
|
43849
|
+
* @internal
|
|
43850
|
+
*/
|
|
43851
|
+
function literalText(value) {
|
|
43852
|
+
return {
|
|
43853
|
+
type: "text",
|
|
43854
|
+
value,
|
|
43855
|
+
data: { [LITERAL_TEXT_MARKER]: true }
|
|
43856
|
+
};
|
|
43857
|
+
}
|
|
43858
|
+
/**
|
|
43859
|
+
* Whether a text node was marked by {@link literalText}.
|
|
43860
|
+
*
|
|
43861
|
+
* @internal
|
|
43862
|
+
*/
|
|
43863
|
+
function isLiteralText(node) {
|
|
43864
|
+
return node.data?.[LITERAL_TEXT_MARKER] === true;
|
|
43865
|
+
}
|
|
43866
|
+
/**
|
|
43867
|
+
* Escape the two characters that would otherwise corrupt the table grid.
|
|
43868
|
+
*
|
|
43869
|
+
* @remarks
|
|
43870
|
+
* A `|` would close the cell early and a `\` would be read as an escape
|
|
43871
|
+
* introducer, so both are escaped to keep the written cell parseable back to
|
|
43872
|
+
* its exact input. Every other character is emitted as-is. Because parsing
|
|
43873
|
+
* consumes the backslash, a value that already carries a legacy `\~` from the
|
|
43874
|
+
* old escaping path re-parses to its clean form rather than accumulating
|
|
43875
|
+
* another layer.
|
|
43876
|
+
*
|
|
43877
|
+
* @internal
|
|
43878
|
+
*/
|
|
43879
|
+
function escapeCellLiteral(value) {
|
|
43880
|
+
return value.replace(/[\\|]/g, "\\$&");
|
|
43881
|
+
}
|
|
43882
|
+
/**
|
|
43883
|
+
* `mdast-util-to-markdown` handler overrides used by the shared processor.
|
|
43884
|
+
*
|
|
43885
|
+
* @remarks
|
|
43886
|
+
* Replaces the default `text` handler — which is `state.safe(node.value, info)`
|
|
43887
|
+
* — with one that bypasses escaping for nodes marked by {@link literalText}
|
|
43888
|
+
* and delegates to the default behavior for everything else.
|
|
43889
|
+
*
|
|
43890
|
+
* @internal
|
|
43891
|
+
*/
|
|
43892
|
+
const literalTextHandlers = { text: (node, _parent, state, info) => {
|
|
43893
|
+
const text = node;
|
|
43894
|
+
return isLiteralText(text) ? escapeCellLiteral(text.value) : state.safe(text.value, info);
|
|
43895
|
+
} };
|
|
43896
|
+
/**
|
|
43650
43897
|
* Create a unified processor configured with remark-parse, remark-gfm,
|
|
43651
43898
|
* and remark-stringify.
|
|
43652
43899
|
*
|
|
@@ -43654,7 +43901,8 @@ function isUint8Array(value) {
|
|
|
43654
43901
|
* Each call creates a fresh processor instance. The plugin chain is:
|
|
43655
43902
|
* 1. `remark-parse` — markdown to MDAST
|
|
43656
43903
|
* 2. `remark-gfm` — GitHub Flavored Markdown extensions (tables, etc.)
|
|
43657
|
-
* 3. `remark-stringify` — MDAST back to markdown
|
|
43904
|
+
* 3. `remark-stringify` — MDAST back to markdown, with the
|
|
43905
|
+
* {@link literalText} handler override
|
|
43658
43906
|
*
|
|
43659
43907
|
* @privateRemarks
|
|
43660
43908
|
* Return type is intentionally inferred because the unified `Processor`
|
|
@@ -43665,7 +43913,7 @@ function isUint8Array(value) {
|
|
|
43665
43913
|
* @internal
|
|
43666
43914
|
*/
|
|
43667
43915
|
function createRemarkProcessor() {
|
|
43668
|
-
return unified().use(remarkParse).use(remarkGfm).use(remarkStringify);
|
|
43916
|
+
return unified().use(remarkParse).use(remarkGfm).use(remarkStringify, { handlers: literalTextHandlers });
|
|
43669
43917
|
}
|
|
43670
43918
|
/**
|
|
43671
43919
|
* Parse a markdown string into an MDAST AST synchronously.
|
|
@@ -44177,6 +44425,12 @@ function parseDependencyTable(table) {
|
|
|
44177
44425
|
/**
|
|
44178
44426
|
* Create a table cell with a text node.
|
|
44179
44427
|
*
|
|
44428
|
+
* @remarks
|
|
44429
|
+
* The cell text is marked literal, so stringification writes it verbatim
|
|
44430
|
+
* instead of escaping characters that could open a markdown construct. See
|
|
44431
|
+
* {@link literalText} — without it `~0.2.1` is written as `\~0.2.1` and
|
|
44432
|
+
* `some_pkg` as `some\_pkg`.
|
|
44433
|
+
*
|
|
44180
44434
|
* @param text - The cell text content
|
|
44181
44435
|
* @returns An MDAST `TableCell` node
|
|
44182
44436
|
*
|
|
@@ -44185,10 +44439,7 @@ function parseDependencyTable(table) {
|
|
|
44185
44439
|
function makeCell(text) {
|
|
44186
44440
|
return {
|
|
44187
44441
|
type: "tableCell",
|
|
44188
|
-
children: [
|
|
44189
|
-
type: "text",
|
|
44190
|
-
value: text
|
|
44191
|
-
}]
|
|
44442
|
+
children: [literalText(text)]
|
|
44192
44443
|
};
|
|
44193
44444
|
}
|
|
44194
44445
|
/**
|
|
@@ -44263,11 +44514,10 @@ function serializeDependencyTable(rows) {
|
|
|
44263
44514
|
* @internal
|
|
44264
44515
|
*/
|
|
44265
44516
|
function serializeDependencyTableToMarkdown(rows) {
|
|
44266
|
-
|
|
44517
|
+
return stringifyMarkdown({
|
|
44267
44518
|
type: "root",
|
|
44268
44519
|
children: [serializeDependencyTable(rows)]
|
|
44269
|
-
};
|
|
44270
|
-
return unified().use(remarkGfm).use(remarkStringify).stringify(tree).trim();
|
|
44520
|
+
}).trim();
|
|
44271
44521
|
}
|
|
44272
44522
|
/**
|
|
44273
44523
|
* Sort priority for dependency actions: removed first, then updated, then added.
|
|
@@ -47495,10 +47745,23 @@ const DEP_TYPE_MAP = [
|
|
|
47495
47745
|
["optionalDependencies", "optionalDependency"]
|
|
47496
47746
|
];
|
|
47497
47747
|
/**
|
|
47498
|
-
* Resolve a specifier against the snapshot it belongs to,
|
|
47499
|
-
*
|
|
47500
|
-
|
|
47501
|
-
|
|
47748
|
+
* Resolve a specifier against the snapshot it belongs to, scoped to the
|
|
47749
|
+
* importer that declared it, falling back to the raw specifier string when
|
|
47750
|
+
* the snapshot cannot resolve it.
|
|
47751
|
+
*
|
|
47752
|
+
* @remarks
|
|
47753
|
+
* Uses `resolveIn` rather than the workspace-wide `resolve`. Both consult the
|
|
47754
|
+
* ref's own lockfile importer entries when a `catalog:` specifier is not in the
|
|
47755
|
+
* catalog set — which is what makes hook-injected catalogs (`catalog:effect:peers`,
|
|
47756
|
+
* injected by a config-dependency pnpmfile and recorded in neither
|
|
47757
|
+
* `pnpm-workspace.yaml` nor the lockfile's `catalogs:` block) resolvable at all.
|
|
47758
|
+
* The workspace-wide form abstains whenever two importers disagree on a
|
|
47759
|
+
* dependency's version, which in a multi-package repo reproduces the original
|
|
47760
|
+
* defect: both sides fall back to the identical raw specifier, compare equal,
|
|
47761
|
+
* and emit no row. Scoping to the declaring importer answers precisely where
|
|
47762
|
+
* the workspace-wide form cannot.
|
|
47763
|
+
*/
|
|
47764
|
+
const resolveOrRaw = (snapshot, importerPath, dep, spec) => Option.getOrElse(snapshot.resolveIn(importerPath, dep, spec), () => spec);
|
|
47502
47765
|
/**
|
|
47503
47766
|
* Drop no-net-change field moves: the same dependency removed from one field
|
|
47504
47767
|
* and added to another with an equal resolved version (e.g. a dep promoted
|
|
@@ -47543,13 +47806,15 @@ function computeWorkspaceDependencyDiffs(before, after) {
|
|
|
47543
47806
|
for (const afterPkg of after.packages) {
|
|
47544
47807
|
const beforePkg = Option.getOrNull(before.package(afterPkg.name));
|
|
47545
47808
|
const rows = [];
|
|
47809
|
+
const afterImporter = afterPkg.relativePath;
|
|
47810
|
+
const beforeImporter = beforePkg?.relativePath ?? afterImporter;
|
|
47546
47811
|
for (const [field, type] of DEP_TYPE_MAP) {
|
|
47547
47812
|
const beforeRecord = beforePkg?.[field] ?? {};
|
|
47548
47813
|
const afterRecord = afterPkg[field];
|
|
47549
47814
|
const seen = /* @__PURE__ */ new Set();
|
|
47550
47815
|
for (const [name, beforeSpec] of Object.entries(beforeRecord)) {
|
|
47551
47816
|
seen.add(name);
|
|
47552
|
-
const from = resolveOrRaw(before, name, beforeSpec);
|
|
47817
|
+
const from = resolveOrRaw(before, beforeImporter, name, beforeSpec);
|
|
47553
47818
|
const afterSpec = afterRecord[name];
|
|
47554
47819
|
if (afterSpec === void 0) {
|
|
47555
47820
|
rows.push({
|
|
@@ -47561,7 +47826,7 @@ function computeWorkspaceDependencyDiffs(before, after) {
|
|
|
47561
47826
|
});
|
|
47562
47827
|
continue;
|
|
47563
47828
|
}
|
|
47564
|
-
const to = resolveOrRaw(after, name, afterSpec);
|
|
47829
|
+
const to = resolveOrRaw(after, afterImporter, name, afterSpec);
|
|
47565
47830
|
if (from !== to) rows.push({
|
|
47566
47831
|
dependency: name,
|
|
47567
47832
|
type,
|
|
@@ -47577,7 +47842,7 @@ function computeWorkspaceDependencyDiffs(before, after) {
|
|
|
47577
47842
|
type,
|
|
47578
47843
|
action: "added",
|
|
47579
47844
|
from: EM_DASH$1,
|
|
47580
|
-
to: resolveOrRaw(after, name, afterSpec)
|
|
47845
|
+
to: resolveOrRaw(after, afterImporter, name, afterSpec)
|
|
47581
47846
|
});
|
|
47582
47847
|
}
|
|
47583
47848
|
}
|
|
@@ -65886,8 +66151,38 @@ function getHeadingLevel(heading) {
|
|
|
65886
66151
|
return sequence ? sequence.text.length : 0;
|
|
65887
66152
|
}
|
|
65888
66153
|
/**
|
|
66154
|
+
* CommonMark backslash escapes: a backslash is literal unless it precedes an
|
|
66155
|
+
* ASCII punctuation character, in which case the pair denotes that character.
|
|
66156
|
+
*/
|
|
66157
|
+
const BACKSLASH_ESCAPE_RE = /\\([!-/:-@[-`{-~])/g;
|
|
66158
|
+
/**
|
|
66159
|
+
* Resolve CommonMark backslash escapes in raw micromark source text.
|
|
66160
|
+
*
|
|
66161
|
+
* @remarks
|
|
66162
|
+
* Every rule in this directory has a sibling remark implementation that reads
|
|
66163
|
+
* the parsed mdast tree, where the parser has already resolved escapes, via
|
|
66164
|
+
* `mdast-util-to-string`. Micromark tokens instead carry RAW source. Comparing
|
|
66165
|
+
* raw text against a value the parsed form would produce makes the two
|
|
66166
|
+
* implementations of one documented rule disagree about the same file
|
|
66167
|
+
* (issue #367).
|
|
66168
|
+
*
|
|
66169
|
+
* Applied at the shared extractors below so both implementations judge the
|
|
66170
|
+
* value a reader actually sees, rather than per-rule where the next extractor
|
|
66171
|
+
* added would silently reintroduce the split.
|
|
66172
|
+
*
|
|
66173
|
+
* @internal
|
|
66174
|
+
*/
|
|
66175
|
+
function unescapeMarkdown(raw) {
|
|
66176
|
+
return raw.replace(BACKSLASH_ESCAPE_RE, "$1");
|
|
66177
|
+
}
|
|
66178
|
+
/**
|
|
65889
66179
|
* Get the plain text content of an `atxHeading` token.
|
|
65890
66180
|
*
|
|
66181
|
+
* @remarks
|
|
66182
|
+
* Escape-resolved, so a heading compares equal to the same heading as the
|
|
66183
|
+
* remark rules see it. `getHeadingLevel` needs no equivalent — it counts
|
|
66184
|
+
* sequence characters rather than reading text.
|
|
66185
|
+
*
|
|
65891
66186
|
* @param heading - The `atxHeading` micromark token
|
|
65892
66187
|
* @returns The heading text, or empty string if no text token found
|
|
65893
66188
|
*
|
|
@@ -65895,7 +66190,7 @@ function getHeadingLevel(heading) {
|
|
|
65895
66190
|
*/
|
|
65896
66191
|
function getHeadingText(heading) {
|
|
65897
66192
|
const textToken = heading.children.find((c) => c.type === "atxHeadingText");
|
|
65898
|
-
return textToken ? textToken.text : "";
|
|
66193
|
+
return textToken ? unescapeMarkdown(textToken.text) : "";
|
|
65899
66194
|
}
|
|
65900
66195
|
|
|
65901
66196
|
//#endregion
|
|
@@ -66022,13 +66317,13 @@ const EXPECTED_HEADERS = [
|
|
|
66022
66317
|
* The `tableContent` token has a `.text` property with the cell value.
|
|
66023
66318
|
*
|
|
66024
66319
|
* @param cell - A GFM table cell token (header or data)
|
|
66025
|
-
* @returns The trimmed text content of the cell, or an empty string
|
|
66320
|
+
* @returns The trimmed, escape-resolved text content of the cell, or an empty string
|
|
66026
66321
|
*
|
|
66027
66322
|
* @internal
|
|
66028
66323
|
*/
|
|
66029
66324
|
function getCellText(cell) {
|
|
66030
66325
|
const content = cell.children.find((c) => c.type === "tableContent");
|
|
66031
|
-
return content ? content.text.trim() : "";
|
|
66326
|
+
return content ? unescapeMarkdown(content.text.trim()) : "";
|
|
66032
66327
|
}
|
|
66033
66328
|
/**
|
|
66034
66329
|
* Extract all cell texts from a `tableRow` token.
|