@savvy-web/silk 3.3.1 → 3.3.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 +104 -103
- package/changesets-changelog.d.cts +8 -8
- package/changesets-changelog.d.ts +8 -8
- package/changesets-changelog.js +141 -123
- package/changesets-markdownlint.cjs +104 -103
- package/changesets-markdownlint.d.cts +8 -8
- package/changesets-markdownlint.d.ts +8 -8
- package/changesets-markdownlint.js +141 -123
- package/package.json +5 -5
- package/tsconfig/node/dist/tsconfig.tsbuildinfo +1 -1
package/changesets-changelog.js
CHANGED
|
@@ -405,7 +405,7 @@ const trimTrailingSlashes = (s) => {
|
|
|
405
405
|
};
|
|
406
406
|
|
|
407
407
|
//#endregion
|
|
408
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
408
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/limits.js
|
|
409
409
|
/** Hard cap on pattern length. Upstream minimatch's MAX_PATTERN_LENGTH (64KB). */
|
|
410
410
|
const MAX_PATTERN_LENGTH = 65536;
|
|
411
411
|
/** Default brace-expansion output budget. Upstream brace-expansion's EXPANSION_MAX. */
|
|
@@ -440,7 +440,7 @@ const assertCap = (name, value) => {
|
|
|
440
440
|
};
|
|
441
441
|
|
|
442
442
|
//#endregion
|
|
443
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
443
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/unescape.js
|
|
444
444
|
/**
|
|
445
445
|
* Un-escape a string that has been escaped with `escape`.
|
|
446
446
|
*
|
|
@@ -464,12 +464,12 @@ const unescapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = true
|
|
|
464
464
|
};
|
|
465
465
|
|
|
466
466
|
//#endregion
|
|
467
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
467
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/types.js
|
|
468
468
|
/** The globstar marker in a compiled pattern set. */
|
|
469
469
|
const GLOBSTAR = Symbol("globstar **");
|
|
470
470
|
|
|
471
471
|
//#endregion
|
|
472
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
472
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/escape.js
|
|
473
473
|
/**
|
|
474
474
|
* Escape all magic characters in a glob pattern.
|
|
475
475
|
*
|
|
@@ -488,14 +488,14 @@ const escapePattern = (s, { windowsPathsNoEscape = false, magicalBraces = false
|
|
|
488
488
|
};
|
|
489
489
|
|
|
490
490
|
//#endregion
|
|
491
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
491
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/assertValidPattern.js
|
|
492
492
|
const assertValidPattern = (pattern) => {
|
|
493
493
|
if (typeof pattern !== "string") throw new TypeError("invalid pattern");
|
|
494
494
|
if (pattern.length > 65536) throw new GuardExceeded("PatternTooLong", MAX_PATTERN_LENGTH, pattern.length);
|
|
495
495
|
};
|
|
496
496
|
|
|
497
497
|
//#endregion
|
|
498
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
498
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/braceExpressions.js
|
|
499
499
|
const posixClasses = {
|
|
500
500
|
"[:alnum:]": ["\\p{L}\\p{Nl}\\p{Nd}", true],
|
|
501
501
|
"[:alpha:]": ["\\p{L}\\p{Nl}", true],
|
|
@@ -619,7 +619,7 @@ const parseClass = (glob, position) => {
|
|
|
619
619
|
};
|
|
620
620
|
|
|
621
621
|
//#endregion
|
|
622
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
622
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/ast.js
|
|
623
623
|
const types = /* @__PURE__ */ new Set([
|
|
624
624
|
"!",
|
|
625
625
|
"?",
|
|
@@ -1137,7 +1137,7 @@ var AST = class AST {
|
|
|
1137
1137
|
};
|
|
1138
1138
|
|
|
1139
1139
|
//#endregion
|
|
1140
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1140
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/balancedMatch.js
|
|
1141
1141
|
const maybeMatch = (reg, str) => {
|
|
1142
1142
|
const m = str.match(reg);
|
|
1143
1143
|
return m ? m[0] : null;
|
|
@@ -1196,7 +1196,7 @@ const range = (a, b, str) => {
|
|
|
1196
1196
|
};
|
|
1197
1197
|
|
|
1198
1198
|
//#endregion
|
|
1199
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1199
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/braceExpansion.js
|
|
1200
1200
|
const escSlash = `\0SLASH${Math.random()}\0`;
|
|
1201
1201
|
const escOpen = `\0OPEN${Math.random()}\0`;
|
|
1202
1202
|
const escClose = `\0CLOSE${Math.random()}\0`;
|
|
@@ -1344,7 +1344,7 @@ function expand_(str, max, isTopInput, depth) {
|
|
|
1344
1344
|
}
|
|
1345
1345
|
|
|
1346
1346
|
//#endregion
|
|
1347
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1347
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/internal/minimatch.js
|
|
1348
1348
|
const starDotExtRE = /^\*+([^+@!?*[(]*)$/;
|
|
1349
1349
|
const starDotExtTest = (ext) => (f) => !f.startsWith(".") && f.endsWith(ext);
|
|
1350
1350
|
const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
|
|
@@ -1399,7 +1399,8 @@ const twoStarNoDot = "(?:(?!(?:\\/|^)\\.).)*?";
|
|
|
1399
1399
|
const braceExpand = (pattern, options = {}) => {
|
|
1400
1400
|
assertValidPattern(pattern);
|
|
1401
1401
|
if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) return [pattern];
|
|
1402
|
-
|
|
1402
|
+
const opts = options.braceExpandMax === void 0 ? {} : { max: options.braceExpandMax };
|
|
1403
|
+
return expand(pattern, opts);
|
|
1403
1404
|
};
|
|
1404
1405
|
const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
|
|
1405
1406
|
const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
|
|
@@ -1916,7 +1917,7 @@ var Minimatch = class {
|
|
|
1916
1917
|
};
|
|
1917
1918
|
|
|
1918
1919
|
//#endregion
|
|
1919
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
1920
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/GlobPattern.js
|
|
1920
1921
|
/**
|
|
1921
1922
|
* Typed failure raised when a glob pattern trips a compile-time guard:
|
|
1922
1923
|
* over-length, brace-expansion budget exhaustion, or nesting past the depth
|
|
@@ -2196,7 +2197,7 @@ var GlobPattern = class GlobPattern extends Schema.Class("GlobPattern")(Schema.S
|
|
|
2196
2197
|
};
|
|
2197
2198
|
|
|
2198
2199
|
//#endregion
|
|
2199
|
-
//#region ../../node_modules/.pnpm/@effected+glob@0.2.
|
|
2200
|
+
//#region ../../node_modules/.pnpm/@effected+glob@0.2.2_effect@4.0.0-beta.101/node_modules/@effected/glob/GlobSet.js
|
|
2200
2201
|
const exclusionTarget = (pattern) => pattern.startsWith("!") ? pattern.slice(1) : void 0;
|
|
2201
2202
|
const allCompileUnderDefaults = (patterns) => {
|
|
2202
2203
|
for (const pattern of patterns) {
|
|
@@ -2351,7 +2352,7 @@ var GlobSet = class GlobSet extends Schema.Class("GlobSet")(Schema.Struct({ patt
|
|
|
2351
2352
|
};
|
|
2352
2353
|
|
|
2353
2354
|
//#endregion
|
|
2354
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
2355
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/BunExtension.js
|
|
2355
2356
|
/**
|
|
2356
2357
|
* Extension data specific to bun lockfiles, attached to `Lockfile.extension`
|
|
2357
2358
|
* when the format is `"bun"`.
|
|
@@ -2373,7 +2374,7 @@ var BunExtension = class extends Schema.Class("BunExtension")({
|
|
|
2373
2374
|
}) {};
|
|
2374
2375
|
|
|
2375
2376
|
//#endregion
|
|
2376
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
2377
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/CatalogResolver.js
|
|
2377
2378
|
/**
|
|
2378
2379
|
* Contract for resolving pnpm `catalog:` dependency specifiers to concrete
|
|
2379
2380
|
* version ranges.
|
|
@@ -2420,7 +2421,7 @@ var CatalogResolver = class CatalogResolver extends Context.Service()("@effected
|
|
|
2420
2421
|
};
|
|
2421
2422
|
|
|
2422
2423
|
//#endregion
|
|
2423
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
2424
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/WorkspaceResolver.js
|
|
2424
2425
|
/**
|
|
2425
2426
|
* Raised when a `catalog:` or `workspace:` specifier cannot be resolved
|
|
2426
2427
|
* because the resolution mechanism itself failed — not for an ordinary
|
|
@@ -2482,7 +2483,7 @@ var WorkspaceResolver = class WorkspaceResolver extends Context.Service()("@effe
|
|
|
2482
2483
|
};
|
|
2483
2484
|
|
|
2484
2485
|
//#endregion
|
|
2485
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
2486
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/CatalogAssemblyError.js
|
|
2486
2487
|
/**
|
|
2487
2488
|
* Raised when a workspace's catalogs cannot be assembled — a `pnpm-workspace.yaml`
|
|
2488
2489
|
* that is unreadable or not valid YAML, a root `package.json` `workspaces` field
|
|
@@ -2527,7 +2528,7 @@ var CatalogAssemblyError = class extends Schema.TaggedErrorClass()("CatalogAssem
|
|
|
2527
2528
|
};
|
|
2528
2529
|
|
|
2529
2530
|
//#endregion
|
|
2530
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
2531
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/DependencySection.js
|
|
2531
2532
|
/**
|
|
2532
2533
|
* The short dependency kind: which dependency map an entry came from, named the
|
|
2533
2534
|
* way consumers branch on it.
|
|
@@ -2561,7 +2562,7 @@ const KIND_TO_FIELD = {
|
|
|
2561
2562
|
const FIELD_TO_KIND = Object.fromEntries(Object.entries(KIND_TO_FIELD).map(([kind, field]) => [field, kind]));
|
|
2562
2563
|
|
|
2563
2564
|
//#endregion
|
|
2564
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
2565
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/desugar.js
|
|
2565
2566
|
const sv = (major, minor, patch, prerelease = [], build = []) => ({
|
|
2566
2567
|
major,
|
|
2567
2568
|
minor,
|
|
@@ -2651,7 +2652,7 @@ const desugarHyphen = (lower, upper) => {
|
|
|
2651
2652
|
};
|
|
2652
2653
|
|
|
2653
2654
|
//#endregion
|
|
2654
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
2655
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/grammar.js
|
|
2655
2656
|
/** Private control-flow exception; never escapes the entry points. */
|
|
2656
2657
|
var ParseFailure = class {
|
|
2657
2658
|
position;
|
|
@@ -3052,7 +3053,7 @@ const formatComparator = (c) => {
|
|
|
3052
3053
|
const formatRange = (sets) => sets.map((set) => set.map(formatComparator).join(" ")).join(" || ");
|
|
3053
3054
|
|
|
3054
3055
|
//#endregion
|
|
3055
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
3056
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/order.js
|
|
3056
3057
|
/**
|
|
3057
3058
|
* Compare two prerelease identifiers per SemVer 2.0.0 §11: numeric
|
|
3058
3059
|
* identifiers always have lower precedence than alphanumeric ones; numerics
|
|
@@ -3106,7 +3107,7 @@ const compareBuild = (a, b) => {
|
|
|
3106
3107
|
};
|
|
3107
3108
|
|
|
3108
3109
|
//#endregion
|
|
3109
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
3110
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/SemVer.js
|
|
3110
3111
|
/**
|
|
3111
3112
|
* Indicates that a string could not be parsed as a valid SemVer 2.0.0 version.
|
|
3112
3113
|
*
|
|
@@ -3618,7 +3619,7 @@ var SemVerBump = class {
|
|
|
3618
3619
|
};
|
|
3619
3620
|
|
|
3620
3621
|
//#endregion
|
|
3621
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
3622
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/Comparator.js
|
|
3622
3623
|
/**
|
|
3623
3624
|
* Indicates that a string could not be parsed as a single comparator.
|
|
3624
3625
|
*
|
|
@@ -3753,7 +3754,7 @@ var Comparator = class Comparator extends Schema.Class("Comparator")({
|
|
|
3753
3754
|
};
|
|
3754
3755
|
|
|
3755
3756
|
//#endregion
|
|
3756
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
3757
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/internal/normalize.js
|
|
3757
3758
|
const operatorWeight = (op) => {
|
|
3758
3759
|
switch (op) {
|
|
3759
3760
|
case ">=": return 0;
|
|
@@ -3785,7 +3786,7 @@ const normalizeComparatorSet = (set) => sortComparators(removeDuplicates(set));
|
|
|
3785
3786
|
const normalizeSets = (sets) => sets.map(normalizeComparatorSet);
|
|
3786
3787
|
|
|
3787
3788
|
//#endregion
|
|
3788
|
-
//#region ../../node_modules/.pnpm/@effected+semver@0.3.
|
|
3789
|
+
//#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/Range.js
|
|
3789
3790
|
/**
|
|
3790
3791
|
* Indicates that a string could not be parsed as a range expression.
|
|
3791
3792
|
*
|
|
@@ -4114,7 +4115,7 @@ const isComparatorSetSubset = (sub, sup) => {
|
|
|
4114
4115
|
};
|
|
4115
4116
|
|
|
4116
4117
|
//#endregion
|
|
4117
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
4118
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/DependencySpecifier.js
|
|
4118
4119
|
/**
|
|
4119
4120
|
* Indicates that a string could not be parsed as a valid dependency specifier.
|
|
4120
4121
|
*
|
|
@@ -4322,7 +4323,7 @@ const DependencySpecifier = Object.assign(brandedSpecifier, {
|
|
|
4322
4323
|
});
|
|
4323
4324
|
|
|
4324
4325
|
//#endregion
|
|
4325
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
4326
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/IntegrityHash.js
|
|
4326
4327
|
const SRI_RE = /^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/;
|
|
4327
4328
|
const COREPACK_RE = /^(sha1|sha224|sha256|sha384|sha512)\.[0-9a-f]+$/;
|
|
4328
4329
|
const YARN_RE = /^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/;
|
|
@@ -4428,7 +4429,7 @@ const IntegrityHash = Object.assign(brandedIntegrity, {
|
|
|
4428
4429
|
const CorepackIntegrityHash = brandedIntegrity.pipe(Schema.check(Schema.makeFilter((value) => isCorepack(value) ? void 0 : "Expected a corepack (<algo>.<hex>) integrity hash")));
|
|
4429
4430
|
|
|
4430
4431
|
//#endregion
|
|
4431
|
-
//#region ../../node_modules/.pnpm/@effected+commands@0.2.
|
|
4432
|
+
//#region ../../node_modules/.pnpm/@effected+commands@0.2.1_effect@4.0.0-beta.101/node_modules/@effected/commands/LocalExec.js
|
|
4432
4433
|
/**
|
|
4433
4434
|
* The package managers whose project-local exec argv this package knows.
|
|
4434
4435
|
*
|
|
@@ -4637,7 +4638,7 @@ var LocalExec = class LocalExec extends Context.Service()("@effected/commands/Lo
|
|
|
4637
4638
|
};
|
|
4638
4639
|
|
|
4639
4640
|
//#endregion
|
|
4640
|
-
//#region ../../node_modules/.pnpm/@effected+npm@0.8.
|
|
4641
|
+
//#region ../../node_modules/.pnpm/@effected+npm@0.8.1_@effected+semver@0.3.1_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/ReleaseAgeGate.js
|
|
4641
4642
|
const MS_PER_MINUTE = 6e4;
|
|
4642
4643
|
/**
|
|
4643
4644
|
* A source's partial contribution to a {@link ReleaseAgeGate}: the effective
|
|
@@ -4808,7 +4809,7 @@ var ReleaseAgeGate = class ReleaseAgeGate extends Schema.Class("ReleaseAgeGate")
|
|
|
4808
4809
|
};
|
|
4809
4810
|
|
|
4810
4811
|
//#endregion
|
|
4811
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4812
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/ImporterDependency.js
|
|
4812
4813
|
/**
|
|
4813
4814
|
* One declared dependency of one workspace importer, as the lockfile records it.
|
|
4814
4815
|
*
|
|
@@ -4847,7 +4848,7 @@ var ImporterDependency = class extends Schema.Class("ImporterDependency")({
|
|
|
4847
4848
|
}) {};
|
|
4848
4849
|
|
|
4849
4850
|
//#endregion
|
|
4850
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4851
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/LockfileImporter.js
|
|
4851
4852
|
/**
|
|
4852
4853
|
* One workspace importer's declared dependencies, as the lockfile records them.
|
|
4853
4854
|
*
|
|
@@ -4872,7 +4873,7 @@ var LockfileImporter = class extends Schema.Class("LockfileImporter")({
|
|
|
4872
4873
|
}) {};
|
|
4873
4874
|
|
|
4874
4875
|
//#endregion
|
|
4875
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4876
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/ResolvedPackage.js
|
|
4876
4877
|
const EMPTY_DEPENDENCIES = {};
|
|
4877
4878
|
/**
|
|
4878
4879
|
* A package resolved from a lockfile.
|
|
@@ -4908,7 +4909,7 @@ var ResolvedPackage = class extends Schema.Class("ResolvedPackage")({
|
|
|
4908
4909
|
}) {};
|
|
4909
4910
|
|
|
4910
4911
|
//#endregion
|
|
4911
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4912
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/WorkspaceDependency.js
|
|
4912
4913
|
/**
|
|
4913
4914
|
* A directed dependency edge between two workspace packages as recorded in
|
|
4914
4915
|
* the lockfile.
|
|
@@ -4931,7 +4932,7 @@ var WorkspaceDependency = class extends Schema.Class("WorkspaceDependency")({
|
|
|
4931
4932
|
}) {};
|
|
4932
4933
|
|
|
4933
4934
|
//#endregion
|
|
4934
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4935
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/PnpmExtension.js
|
|
4935
4936
|
/**
|
|
4936
4937
|
* Extension data specific to pnpm lockfiles, attached to `Lockfile.extension`
|
|
4937
4938
|
* when the format is `"pnpm"`.
|
|
@@ -4957,7 +4958,7 @@ var PnpmExtension = class extends Schema.Class("PnpmExtension")({
|
|
|
4957
4958
|
}) {};
|
|
4958
4959
|
|
|
4959
4960
|
//#endregion
|
|
4960
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
4961
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/LockfileFormat.js
|
|
4961
4962
|
/**
|
|
4962
4963
|
* The lockfile formats this package parses: bun's `bun.lock` (JSONC), npm's
|
|
4963
4964
|
* `package-lock.json` (v2/v3 JSON), pnpm's `pnpm-lock.yaml` and yarn Berry's
|
|
@@ -4996,7 +4997,7 @@ const FILENAMES = {
|
|
|
4996
4997
|
const filenameFor = (format) => FILENAMES[format][0];
|
|
4997
4998
|
|
|
4998
4999
|
//#endregion
|
|
4999
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
5000
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/shared.js
|
|
5000
5001
|
/**
|
|
5001
5002
|
* The four dependency sections of a manifest, in a stable order — the shared
|
|
5002
5003
|
* dependency-sections table (v3's `DEP_SECTIONS`). Each entry is both the
|
|
@@ -5155,7 +5156,7 @@ const extractWorkspaceDeps = (workspaces, workspaceNames) => {
|
|
|
5155
5156
|
};
|
|
5156
5157
|
|
|
5157
5158
|
//#endregion
|
|
5158
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5159
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncNode.js
|
|
5159
5160
|
/**
|
|
5160
5161
|
* Discriminator values for JSONC AST node types: the JSON value types
|
|
5161
5162
|
* (`string`/`number`/`boolean`/`null`), the structural types
|
|
@@ -5331,7 +5332,7 @@ function evaluateNode(node, depth) {
|
|
|
5331
5332
|
}
|
|
5332
5333
|
|
|
5333
5334
|
//#endregion
|
|
5334
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5335
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/scanner.js
|
|
5335
5336
|
const isWhitespace = (ch) => ch === 32 || ch === 9 || ch === 11 || ch === 12 || ch === 160 || ch === 65279;
|
|
5336
5337
|
const isLineBreak$1 = (ch) => ch === 10 || ch === 13 || ch === 8232 || ch === 8233;
|
|
5337
5338
|
const isDigit$1 = (ch) => ch >= 48 && ch <= 57;
|
|
@@ -5626,7 +5627,7 @@ const createScanner$2 = (text, ignoreTrivia = false) => {
|
|
|
5626
5627
|
};
|
|
5627
5628
|
|
|
5628
5629
|
//#endregion
|
|
5629
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5630
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/skip.js
|
|
5630
5631
|
/**
|
|
5631
5632
|
* Iteratively consume the value beginning at the cursor's current token and
|
|
5632
5633
|
* return its tight end offset (excludes trailing whitespace/comments).
|
|
@@ -5657,7 +5658,7 @@ const skipBalancedValue = (cursor) => {
|
|
|
5657
5658
|
};
|
|
5658
5659
|
|
|
5659
5660
|
//#endregion
|
|
5660
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
5661
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/parser.js
|
|
5661
5662
|
/**
|
|
5662
5663
|
* The public parse-error code vocabulary. The facade builds its `@public`
|
|
5663
5664
|
* `JsoncParseErrorCode` schema from this array; the parser produces these codes
|
|
@@ -6071,7 +6072,7 @@ const parseTree$2 = (text, flags) => {
|
|
|
6071
6072
|
};
|
|
6072
6073
|
|
|
6073
6074
|
//#endregion
|
|
6074
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6075
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/Jsonc.js
|
|
6075
6076
|
/**
|
|
6076
6077
|
* The single public parse-error code vocabulary, appearing as the `code` field
|
|
6077
6078
|
* of {@link JsoncParseErrorDetail}.
|
|
@@ -6640,7 +6641,7 @@ var Jsonc = class Jsonc {
|
|
|
6640
6641
|
};
|
|
6641
6642
|
|
|
6642
6643
|
//#endregion
|
|
6643
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6644
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncEdit.js
|
|
6644
6645
|
/**
|
|
6645
6646
|
* A range within a JSONC document, expressed as a zero-based character
|
|
6646
6647
|
* `offset` and a `length` in UTF-16 code units. Pass to `JsoncFormatter.format`
|
|
@@ -6711,7 +6712,7 @@ var JsoncEdit = class extends Schema.Class("JsoncEdit")({
|
|
|
6711
6712
|
};
|
|
6712
6713
|
|
|
6713
6714
|
//#endregion
|
|
6714
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6715
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/internal/navigate.js
|
|
6715
6716
|
/**
|
|
6716
6717
|
* Resolve `path` against `text`, returning where the target is (or where it
|
|
6717
6718
|
* would be inserted). `path` must be non-empty — the whole-document case is
|
|
@@ -6839,7 +6840,7 @@ function navigate(text, path) {
|
|
|
6839
6840
|
}
|
|
6840
6841
|
|
|
6841
6842
|
//#endregion
|
|
6842
|
-
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.
|
|
6843
|
+
//#region ../../node_modules/.pnpm/@effected+jsonc@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/jsonc/JsoncModifier.js
|
|
6843
6844
|
/**
|
|
6844
6845
|
* Raised when `JsoncModifier.modify` cannot navigate the requested path: the
|
|
6845
6846
|
* value at `depth` is not the container kind (`expected`) the next path segment
|
|
@@ -6968,7 +6969,7 @@ var JsoncModifier = class {
|
|
|
6968
6969
|
};
|
|
6969
6970
|
|
|
6970
6971
|
//#endregion
|
|
6971
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
6972
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/bun.js
|
|
6972
6973
|
const DepRecord$2 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
6973
6974
|
const BunWorkspaceEntry = Schema.Struct({
|
|
6974
6975
|
name: Schema.optionalKey(Schema.String),
|
|
@@ -7062,7 +7063,7 @@ const toFields$3 = (raw) => Effect.gen(function* () {
|
|
|
7062
7063
|
});
|
|
7063
7064
|
|
|
7064
7065
|
//#endregion
|
|
7065
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
7066
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/npm.js
|
|
7066
7067
|
const DepRecord$1 = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
7067
7068
|
const NpmPackageEntry = Schema.Struct({
|
|
7068
7069
|
name: Schema.optionalKey(Schema.String),
|
|
@@ -7161,7 +7162,7 @@ const toFields$2 = (raw) => Effect.gen(function* () {
|
|
|
7161
7162
|
});
|
|
7162
7163
|
|
|
7163
7164
|
//#endregion
|
|
7164
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
7165
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/YamlNode.js
|
|
7165
7166
|
/**
|
|
7166
7167
|
* YAML scalar presentation styles.
|
|
7167
7168
|
*
|
|
@@ -7564,7 +7565,7 @@ function nodeToValue(node, anchors, budget, counting = false) {
|
|
|
7564
7565
|
}
|
|
7565
7566
|
|
|
7566
7567
|
//#endregion
|
|
7567
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
7568
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/diagnostics.js
|
|
7568
7569
|
/** Error codes emitted by the lexer stage. */
|
|
7569
7570
|
const YAML_LEX_ERROR_CODES = [
|
|
7570
7571
|
"UnexpectedCharacter",
|
|
@@ -7643,7 +7644,7 @@ function isFatalCode(code) {
|
|
|
7643
7644
|
}
|
|
7644
7645
|
|
|
7645
7646
|
//#endregion
|
|
7646
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
7647
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/YamlDiagnostic.js
|
|
7647
7648
|
/**
|
|
7648
7649
|
* Error codes emitted by the lexer stage.
|
|
7649
7650
|
*
|
|
@@ -7765,7 +7766,7 @@ function lineChar(text, offset) {
|
|
|
7765
7766
|
}
|
|
7766
7767
|
|
|
7767
7768
|
//#endregion
|
|
7768
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
7769
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/anchors.js
|
|
7769
7770
|
/**
|
|
7770
7771
|
* Check if a pending anchor is being applied to an alias node (invalid in YAML 1.2 §3.2.2).
|
|
7771
7772
|
* Aliases represent references to existing anchored nodes and cannot have their own anchors.
|
|
@@ -7859,7 +7860,7 @@ function collectAnchors(node, anchors) {
|
|
|
7859
7860
|
}
|
|
7860
7861
|
|
|
7861
7862
|
//#endregion
|
|
7862
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
7863
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/lexer.js
|
|
7863
7864
|
/**
|
|
7864
7865
|
* Create a new YAML scanner for the given source text.
|
|
7865
7866
|
*
|
|
@@ -8817,7 +8818,7 @@ function lexAll(text) {
|
|
|
8817
8818
|
}
|
|
8818
8819
|
|
|
8819
8820
|
//#endregion
|
|
8820
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
8821
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/cst-parser.js
|
|
8821
8822
|
/**
|
|
8822
8823
|
* Hardening: cap CST nesting so hostile inputs cannot overflow the stack
|
|
8823
8824
|
* while the tree is being BUILT. Set slightly above the composer's
|
|
@@ -9530,7 +9531,7 @@ function parseCSTAll(text) {
|
|
|
9530
9531
|
}
|
|
9531
9532
|
|
|
9532
9533
|
//#endregion
|
|
9533
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
9534
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/state.js
|
|
9534
9535
|
let lineStartsText;
|
|
9535
9536
|
let lineStartsCache = [];
|
|
9536
9537
|
function getLineStarts(text) {
|
|
@@ -9637,7 +9638,7 @@ function exitNesting(state) {
|
|
|
9637
9638
|
}
|
|
9638
9639
|
|
|
9639
9640
|
//#endregion
|
|
9640
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
9641
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/tags.js
|
|
9641
9642
|
/**
|
|
9642
9643
|
* Resolve a tag shorthand using the document's %TAG directives.
|
|
9643
9644
|
* For example, with `%TAG !! tag:example.com,2000:app/`, the tag `!!int`
|
|
@@ -9724,7 +9725,7 @@ function validateTagHandlesInDocument(docCst, state) {
|
|
|
9724
9725
|
}
|
|
9725
9726
|
|
|
9726
9727
|
//#endregion
|
|
9727
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
9728
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/scalars.js
|
|
9728
9729
|
const NULL_RE$1 = /^(?:null|Null|NULL|~)$/;
|
|
9729
9730
|
const TRUE_RE$1 = /^(?:true|True|TRUE)$/;
|
|
9730
9731
|
const FALSE_RE$1 = /^(?:false|False|FALSE)$/;
|
|
@@ -10603,7 +10604,7 @@ function shouldPreserveRaw(rawValue, value) {
|
|
|
10603
10604
|
}
|
|
10604
10605
|
|
|
10605
10606
|
//#endregion
|
|
10606
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
10607
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/block.js
|
|
10607
10608
|
/**
|
|
10608
10609
|
* Compose a block map from its CST children, with an optional external first key.
|
|
10609
10610
|
*
|
|
@@ -10639,11 +10640,12 @@ function composeBlockMapInner(blockMapCst, state, externalFirstKey, meta) {
|
|
|
10639
10640
|
if (state.options.uniqueKeys) checkDuplicateKeys(pairs, state);
|
|
10640
10641
|
checkMultilineImplicitKeys(pairs, state);
|
|
10641
10642
|
const offset = externalFirstKey ? "offset" in externalFirstKey ? externalFirstKey.offset : blockMapCst.offset : blockMapCst.offset;
|
|
10643
|
+
const length = blockMapCst.offset + blockMapCst.length - offset;
|
|
10642
10644
|
const map = new YamlMap({
|
|
10643
10645
|
items: pairs,
|
|
10644
10646
|
style: "block",
|
|
10645
10647
|
offset,
|
|
10646
|
-
length
|
|
10648
|
+
length,
|
|
10647
10649
|
...meta?.tag !== void 0 ? { tag: meta.tag } : {},
|
|
10648
10650
|
...meta?.anchor !== void 0 ? { anchor: meta.anchor } : {},
|
|
10649
10651
|
...meta?.comment !== void 0 ? { comment: meta.comment } : {}
|
|
@@ -10735,11 +10737,12 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
10735
10737
|
const firstC = findFirstContent(sliceChildren);
|
|
10736
10738
|
const lastC = findLastContent(sliceChildren);
|
|
10737
10739
|
const innerOffset = firstC ? firstC.offset : child.offset;
|
|
10740
|
+
const innerEnd = lastC ? lastC.offset + lastC.length : child.offset + child.length;
|
|
10738
10741
|
pushNode(new YamlMap({
|
|
10739
10742
|
items: innerPairs,
|
|
10740
10743
|
style: "block",
|
|
10741
10744
|
offset: innerOffset,
|
|
10742
|
-
length:
|
|
10745
|
+
length: innerEnd - innerOffset
|
|
10743
10746
|
}), innerOffset);
|
|
10744
10747
|
i = lookahead.endIdx - 1;
|
|
10745
10748
|
continue;
|
|
@@ -10750,8 +10753,9 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
10750
10753
|
validateNoTabAfterContinuationValueSep(child, children, i, state);
|
|
10751
10754
|
const flushMeta = combinedPending();
|
|
10752
10755
|
if (hasMeta(flushMeta)) {
|
|
10756
|
+
const value = resolveScalar("", "plain", flushMeta.tag, state);
|
|
10753
10757
|
const scalar = new YamlScalar({
|
|
10754
|
-
value
|
|
10758
|
+
value,
|
|
10755
10759
|
style: "plain",
|
|
10756
10760
|
offset: child.offset,
|
|
10757
10761
|
length: 0,
|
|
@@ -10811,8 +10815,9 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
10811
10815
|
if (afterValueSep && sepOnSameLine) {
|
|
10812
10816
|
const flushMeta = combinedPending();
|
|
10813
10817
|
if (hasMeta(flushMeta)) {
|
|
10818
|
+
const value = resolveScalar("", "plain", flushMeta.tag, state);
|
|
10814
10819
|
const scalar = new YamlScalar({
|
|
10815
|
-
value
|
|
10820
|
+
value,
|
|
10816
10821
|
style: "plain",
|
|
10817
10822
|
offset: child.offset,
|
|
10818
10823
|
length: 0,
|
|
@@ -10877,8 +10882,9 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
10877
10882
|
if (isExplicitKey) {
|
|
10878
10883
|
const { value: keyValue, nextIdx: keyNextIdx } = collectMultilineKey(children, i);
|
|
10879
10884
|
const keyMeta = combinedPending();
|
|
10885
|
+
const resolved = resolveScalar(keyValue, "plain", keyMeta.tag, state);
|
|
10880
10886
|
const scalar = new YamlScalar({
|
|
10881
|
-
value:
|
|
10887
|
+
value: resolved,
|
|
10882
10888
|
style: "plain",
|
|
10883
10889
|
offset: child.offset,
|
|
10884
10890
|
length: child.length,
|
|
@@ -10986,7 +10992,8 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
10986
10992
|
i = nextAlias.idx;
|
|
10987
10993
|
continue;
|
|
10988
10994
|
}
|
|
10989
|
-
|
|
10995
|
+
const aliasMeta = combinedPending();
|
|
10996
|
+
checkAnchorOnAlias(aliasMeta, child, state);
|
|
10990
10997
|
const alias = makeAlias(child, state);
|
|
10991
10998
|
resetAllMeta();
|
|
10992
10999
|
pushNode(alias);
|
|
@@ -11051,8 +11058,9 @@ function flattenBlockMapChildren(children, state, externalKeyColumn, externalKey
|
|
|
11051
11058
|
}
|
|
11052
11059
|
const trailingMeta = combinedPending();
|
|
11053
11060
|
if (hasMeta(trailingMeta)) {
|
|
11061
|
+
const value = resolveScalar("", "plain", trailingMeta.tag, state);
|
|
11054
11062
|
const scalar = new YamlScalar({
|
|
11055
|
-
value
|
|
11063
|
+
value,
|
|
11056
11064
|
style: "plain",
|
|
11057
11065
|
offset: 0,
|
|
11058
11066
|
length: 0,
|
|
@@ -11243,7 +11251,8 @@ function keyIdentity(key, text) {
|
|
|
11243
11251
|
case "string": return `s:${v}`;
|
|
11244
11252
|
case "bigint": return `i:${v.toString()}`;
|
|
11245
11253
|
case "number": {
|
|
11246
|
-
|
|
11254
|
+
const raw = text.slice(key.offset, key.offset + key.length).trim();
|
|
11255
|
+
let kind = classifyPlainNumeric(raw);
|
|
11247
11256
|
if (key.tag !== void 0) {
|
|
11248
11257
|
if (key.tag.includes("float")) kind = "float";
|
|
11249
11258
|
else if (key.tag.includes("int")) kind = "int";
|
|
@@ -11612,8 +11621,9 @@ function composeBlockSeqInner(cst, state, meta) {
|
|
|
11612
11621
|
if (child.type === "flow-scalar" && getScalarStyle(child) === "plain") {
|
|
11613
11622
|
const { value: merged, nextIdx: mergeEnd, partsCount, endOffset } = collectMultilinePlainScalar(children, ci, void 0, state.text);
|
|
11614
11623
|
if (partsCount > 1) {
|
|
11624
|
+
const resolved = resolveScalar(merged, "plain", pendingMeta.tag, state);
|
|
11615
11625
|
const scalar = new YamlScalar({
|
|
11616
|
-
value:
|
|
11626
|
+
value: resolved,
|
|
11617
11627
|
style: "plain",
|
|
11618
11628
|
offset: child.offset,
|
|
11619
11629
|
length: endOffset - child.offset,
|
|
@@ -11700,8 +11710,9 @@ function composeBlockSeqInner(cst, state, meta) {
|
|
|
11700
11710
|
length: 0
|
|
11701
11711
|
}));
|
|
11702
11712
|
if (hasMeta(pendingMeta)) {
|
|
11713
|
+
const value = resolveScalar("", "plain", pendingMeta.tag, state);
|
|
11703
11714
|
const scalar = new YamlScalar({
|
|
11704
|
-
value
|
|
11715
|
+
value,
|
|
11705
11716
|
style: "plain",
|
|
11706
11717
|
offset: 0,
|
|
11707
11718
|
length: 0,
|
|
@@ -11738,11 +11749,12 @@ function composeFlatBlockMap(children, startIdx, parentCst, state, externalFirst
|
|
|
11738
11749
|
if (state.options.uniqueKeys) checkDuplicateKeys(pairs, state);
|
|
11739
11750
|
checkMultilineImplicitKeys(pairs, state);
|
|
11740
11751
|
const offset = "offset" in externalFirstKey ? externalFirstKey.offset : parentCst.offset;
|
|
11752
|
+
const end = parentCst.offset + parentCst.length;
|
|
11741
11753
|
const map = new YamlMap({
|
|
11742
11754
|
items: pairs,
|
|
11743
11755
|
style: "block",
|
|
11744
11756
|
offset,
|
|
11745
|
-
length:
|
|
11757
|
+
length: end - offset,
|
|
11746
11758
|
...meta?.tag !== void 0 ? { tag: meta.tag } : {},
|
|
11747
11759
|
...meta?.anchor !== void 0 ? { anchor: meta.anchor } : {},
|
|
11748
11760
|
...meta?.comment !== void 0 ? { comment: meta.comment } : {}
|
|
@@ -11752,7 +11764,7 @@ function composeFlatBlockMap(children, startIdx, parentCst, state, externalFirst
|
|
|
11752
11764
|
}
|
|
11753
11765
|
|
|
11754
11766
|
//#endregion
|
|
11755
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
11767
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/flow.js
|
|
11756
11768
|
/**
|
|
11757
11769
|
* Validate that flow collection entries are separated by commas.
|
|
11758
11770
|
*
|
|
@@ -11864,7 +11876,8 @@ function composeFlowMapInner(cst, state, meta, parentBlockColumn) {
|
|
|
11864
11876
|
});
|
|
11865
11877
|
validateFlowContentIndent(cst, state, parentBlockColumn);
|
|
11866
11878
|
validateFlowSeparators(children, state, "{", "}");
|
|
11867
|
-
|
|
11879
|
+
const items = flattenFlowChildren(children.filter((c) => !(c.type === "whitespace" && (c.source === "{" || c.source === "}" || c.source.trim() === ""))), state);
|
|
11880
|
+
buildPairs(items, pairs, state.text);
|
|
11868
11881
|
if (state.options.uniqueKeys) checkDuplicateKeys(pairs, state);
|
|
11869
11882
|
const map = new YamlMap({
|
|
11870
11883
|
items: pairs,
|
|
@@ -11888,8 +11901,9 @@ function flattenFlowChildren(children, state) {
|
|
|
11888
11901
|
if (child.type === "whitespace") {
|
|
11889
11902
|
if (child.source === ",") {
|
|
11890
11903
|
if (hasMeta(pendingMeta)) {
|
|
11904
|
+
const value = resolveScalar("", "plain", pendingMeta.tag, state);
|
|
11891
11905
|
const scalar = new YamlScalar({
|
|
11892
|
-
value
|
|
11906
|
+
value,
|
|
11893
11907
|
style: "plain",
|
|
11894
11908
|
offset: child.offset,
|
|
11895
11909
|
length: 0,
|
|
@@ -11907,8 +11921,9 @@ function flattenFlowChildren(children, state) {
|
|
|
11907
11921
|
}
|
|
11908
11922
|
if (child.source === ":") {
|
|
11909
11923
|
if (hasMeta(pendingMeta)) {
|
|
11924
|
+
const value = resolveScalar("", "plain", pendingMeta.tag, state);
|
|
11910
11925
|
const scalar = new YamlScalar({
|
|
11911
|
-
value
|
|
11926
|
+
value,
|
|
11912
11927
|
style: "plain",
|
|
11913
11928
|
offset: child.offset,
|
|
11914
11929
|
length: 0,
|
|
@@ -11973,8 +11988,9 @@ function flattenFlowChildren(children, state) {
|
|
|
11973
11988
|
if (child.type === "flow-scalar" && getScalarStyle(child) === "plain") {
|
|
11974
11989
|
if (hasValueSepThroughPlainScalars(children, i + 1)) {
|
|
11975
11990
|
const { value, nextIdx } = collectMultilineKey(children, i);
|
|
11991
|
+
const resolved = resolveScalar(value, "plain", pendingMeta.tag, state);
|
|
11976
11992
|
const scalar = new YamlScalar({
|
|
11977
|
-
value:
|
|
11993
|
+
value: resolved,
|
|
11978
11994
|
style: "plain",
|
|
11979
11995
|
offset: child.offset,
|
|
11980
11996
|
length: child.length,
|
|
@@ -11991,8 +12007,9 @@ function flattenFlowChildren(children, state) {
|
|
|
11991
12007
|
continue;
|
|
11992
12008
|
}
|
|
11993
12009
|
const { value, nextIdx, partsCount, endOffset } = collectMultilinePlainScalar(children, i, void 0, state.text);
|
|
12010
|
+
const resolved = resolveScalar(value, "plain", pendingMeta.tag, state);
|
|
11994
12011
|
const scalar = new YamlScalar({
|
|
11995
|
-
value:
|
|
12012
|
+
value: resolved,
|
|
11996
12013
|
style: "plain",
|
|
11997
12014
|
offset: child.offset,
|
|
11998
12015
|
length: partsCount > 1 ? endOffset - child.offset : child.length,
|
|
@@ -12045,8 +12062,9 @@ function flattenFlowChildren(children, state) {
|
|
|
12045
12062
|
}
|
|
12046
12063
|
}
|
|
12047
12064
|
if (hasMeta(pendingMeta)) {
|
|
12065
|
+
const value = resolveScalar("", "plain", pendingMeta.tag, state);
|
|
12048
12066
|
const scalar = new YamlScalar({
|
|
12049
|
-
value
|
|
12067
|
+
value,
|
|
12050
12068
|
style: "plain",
|
|
12051
12069
|
offset: 0,
|
|
12052
12070
|
length: 0,
|
|
@@ -12145,7 +12163,7 @@ function composeFlowSeqInner(cst, state, meta, parentBlockColumn) {
|
|
|
12145
12163
|
}
|
|
12146
12164
|
|
|
12147
12165
|
//#endregion
|
|
12148
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
12166
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/composer/document.js
|
|
12149
12167
|
/** The flow-composer dispatch wired into every state this module creates. */
|
|
12150
12168
|
const FLOW = {
|
|
12151
12169
|
composeFlowMap,
|
|
@@ -12812,7 +12830,7 @@ function composeAllDocuments(text, options) {
|
|
|
12812
12830
|
}
|
|
12813
12831
|
|
|
12814
12832
|
//#endregion
|
|
12815
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
12833
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/fold.js
|
|
12816
12834
|
/**
|
|
12817
12835
|
* Column-based line folding for a single logical scalar line (YAML 1.2 flow
|
|
12818
12836
|
* folding, §7.3 / §8.2.1). Breaks the content at "safe" single-space
|
|
@@ -13049,7 +13067,7 @@ function renderBlockFolded(s, indent) {
|
|
|
13049
13067
|
}
|
|
13050
13068
|
|
|
13051
13069
|
//#endregion
|
|
13052
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
13070
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/internal/stringifier.js
|
|
13053
13071
|
/**
|
|
13054
13072
|
* Thrown by the stringifier on its failure paths (circular references). The
|
|
13055
13073
|
* facade catches this and materializes the public stringify error.
|
|
@@ -13421,7 +13439,7 @@ function stringifyValue(value, options) {
|
|
|
13421
13439
|
}
|
|
13422
13440
|
|
|
13423
13441
|
//#endregion
|
|
13424
|
-
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.
|
|
13442
|
+
//#region ../../node_modules/.pnpm/@effected+yaml@0.6.1_effect@4.0.0-beta.101/node_modules/@effected/yaml/Yaml.js
|
|
13425
13443
|
/**
|
|
13426
13444
|
* Options controlling parse behavior. All fields are omissible; absent fields
|
|
13427
13445
|
* resolve to `strict` `true`, `maxAliasCount` `100` (the alias-based
|
|
@@ -14073,7 +14091,7 @@ function deepEqualValues(a, b) {
|
|
|
14073
14091
|
}
|
|
14074
14092
|
|
|
14075
14093
|
//#endregion
|
|
14076
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
14094
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/documents.js
|
|
14077
14095
|
/**
|
|
14078
14096
|
* An empty YAML document composes to `null` (`Yaml.parseAll("")` is `[null]`,
|
|
14079
14097
|
* and the trailing document of an env-only `pnpm-lock.yaml` is `null` too).
|
|
@@ -14144,7 +14162,7 @@ const selectSoleDocument = (content) => Effect.gen(function* () {
|
|
|
14144
14162
|
});
|
|
14145
14163
|
|
|
14146
14164
|
//#endregion
|
|
14147
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
14165
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/pnpm.js
|
|
14148
14166
|
const PnpmImporterDeps = Schema.optionalKey(Schema.Record(Schema.String, Schema.Struct({
|
|
14149
14167
|
specifier: Schema.String,
|
|
14150
14168
|
version: Schema.String
|
|
@@ -14270,7 +14288,7 @@ const toFields$1 = (raw) => Effect.gen(function* () {
|
|
|
14270
14288
|
});
|
|
14271
14289
|
|
|
14272
14290
|
//#endregion
|
|
14273
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
14291
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/internal/yarn.js
|
|
14274
14292
|
const YarnLockfileRaw = Schema.Record(Schema.String, Schema.Unknown);
|
|
14275
14293
|
const DepRecord = Schema.optionalKey(Schema.Record(Schema.String, Schema.String));
|
|
14276
14294
|
const YarnEntry = Schema.Struct({
|
|
@@ -14394,7 +14412,7 @@ const cleanYarnDeps = (deps) => {
|
|
|
14394
14412
|
};
|
|
14395
14413
|
|
|
14396
14414
|
//#endregion
|
|
14397
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
14415
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/Lockfile.js
|
|
14398
14416
|
const EMPTY_IMPORTERS = [];
|
|
14399
14417
|
/**
|
|
14400
14418
|
* Failure of `Lockfile.parse`: the given content is not a valid lockfile of
|
|
@@ -14639,7 +14657,7 @@ var Lockfile = class Lockfile extends Schema.Class("Lockfile")({
|
|
|
14639
14657
|
};
|
|
14640
14658
|
|
|
14641
14659
|
//#endregion
|
|
14642
|
-
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.
|
|
14660
|
+
//#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.1_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._76c3c4c2d3d6f22fa84df3beea811625/node_modules/@effected/lockfiles/LockfileIntegrity.js
|
|
14643
14661
|
/**
|
|
14644
14662
|
* The minimal manifest shape {@link LockfileIntegrity.compare} checks a
|
|
14645
14663
|
* lockfile against: a package name plus the four optional dependency maps.
|
|
@@ -14756,7 +14774,7 @@ var LockfileIntegrity = class LockfileIntegrity extends Schema.Class("LockfileIn
|
|
|
14756
14774
|
};
|
|
14757
14775
|
|
|
14758
14776
|
//#endregion
|
|
14759
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
14777
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/Dependency.js
|
|
14760
14778
|
/**
|
|
14761
14779
|
* A resolved dependency entry pairing a package name with its version
|
|
14762
14780
|
* specifier and the `kind` of map it came from (`@effected/npm`'s
|
|
@@ -14821,7 +14839,7 @@ var Dependency = class extends Schema.Class("Dependency")({
|
|
|
14821
14839
|
};
|
|
14822
14840
|
|
|
14823
14841
|
//#endregion
|
|
14824
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
14842
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/DevEngines.js
|
|
14825
14843
|
/**
|
|
14826
14844
|
* A single `devEngines` constraint with a name and optional `version` / `onFail`.
|
|
14827
14845
|
*
|
|
@@ -14860,7 +14878,7 @@ const DevEnginesSchema = Schema.Struct({
|
|
|
14860
14878
|
});
|
|
14861
14879
|
|
|
14862
14880
|
//#endregion
|
|
14863
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
14881
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/licenseIds.js
|
|
14864
14882
|
/** @internal */
|
|
14865
14883
|
const ACTIVE_LICENSE_IDS = [
|
|
14866
14884
|
"0BSD",
|
|
@@ -15594,7 +15612,7 @@ const LICENSE_IDS = new Set(ACTIVE_LICENSE_IDS);
|
|
|
15594
15612
|
const DEPRECATED_LICENSE_IDS = new Set(DEPRECATED_LICENSE_ID_LIST);
|
|
15595
15613
|
|
|
15596
15614
|
//#endregion
|
|
15597
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15615
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/License.js
|
|
15598
15616
|
/**
|
|
15599
15617
|
* Indicates that a string is not a valid SPDX expression fragment: an
|
|
15600
15618
|
* unrecognized license or exception identifier, or a malformed
|
|
@@ -15764,7 +15782,7 @@ var License = class License extends Schema.Class("License")({
|
|
|
15764
15782
|
};
|
|
15765
15783
|
|
|
15766
15784
|
//#endregion
|
|
15767
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15785
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/exceptions.js
|
|
15768
15786
|
/** @internal */
|
|
15769
15787
|
const ACTIVE_EXCEPTION_IDS = [
|
|
15770
15788
|
"389-exception",
|
|
@@ -15842,7 +15860,7 @@ const EXCEPTION_IDS = new Set(ACTIVE_EXCEPTION_IDS);
|
|
|
15842
15860
|
const DEPRECATED_EXCEPTION_IDS = new Set(DEPRECATED_EXCEPTION_ID_LIST);
|
|
15843
15861
|
|
|
15844
15862
|
//#endregion
|
|
15845
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15863
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/LicenseException.js
|
|
15846
15864
|
/**
|
|
15847
15865
|
* A validated SPDX license-exception identifier: an Effect `Schema.Class` whose
|
|
15848
15866
|
* `id` is a member of the SPDX exception list. The class doubles as its own
|
|
@@ -15963,7 +15981,7 @@ var LicenseException = class LicenseException extends Schema.Class("LicenseExcep
|
|
|
15963
15981
|
};
|
|
15964
15982
|
|
|
15965
15983
|
//#endregion
|
|
15966
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
15984
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/internal/parser.js
|
|
15967
15985
|
const TOKEN_OPEN_PAREN = 0;
|
|
15968
15986
|
const TOKEN_CLOSE_PAREN = 1;
|
|
15969
15987
|
const TOKEN_PLUS = 2;
|
|
@@ -16193,7 +16211,7 @@ function parse$2(input) {
|
|
|
16193
16211
|
}
|
|
16194
16212
|
|
|
16195
16213
|
//#endregion
|
|
16196
|
-
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.
|
|
16214
|
+
//#region ../../node_modules/.pnpm/@effected+spdx@0.1.2_effect@4.0.0-beta.101/node_modules/@effected/spdx/SpdxExpression.js
|
|
16197
16215
|
/**
|
|
16198
16216
|
* Serialize a tagged SPDX AST node — a class instance OR its encoded POJO — to
|
|
16199
16217
|
* the canonical, fully-parenthesized SPDX string. This is the single source of
|
|
@@ -16419,7 +16437,7 @@ const SpdxExpression = {
|
|
|
16419
16437
|
};
|
|
16420
16438
|
|
|
16421
16439
|
//#endregion
|
|
16422
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16440
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/License.js
|
|
16423
16441
|
/**
|
|
16424
16442
|
* Indicates that a string is not a valid SPDX license identifier or expression.
|
|
16425
16443
|
*
|
|
@@ -16455,7 +16473,7 @@ const isValidSpdx = (value) => {
|
|
|
16455
16473
|
const SpdxLicense = Schema.String.pipe(Schema.check(Schema.makeFilter((value) => isValidSpdx(value) ? void 0 : "Expected a valid SPDX license expression")), Schema.brand("SpdxLicense"));
|
|
16456
16474
|
|
|
16457
16475
|
//#endregion
|
|
16458
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16476
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/PackageManager.js
|
|
16459
16477
|
const PACKAGE_MANAGER_NAME_RE = /^[a-z]+$/;
|
|
16460
16478
|
const invalid$1 = (input, message) => Effect.fail(new SchemaIssue.InvalidValue(Option.some(input), { message }));
|
|
16461
16479
|
/**
|
|
@@ -16567,7 +16585,7 @@ var PackageManager = class PackageManager extends Schema.Class("PackageManager")
|
|
|
16567
16585
|
};
|
|
16568
16586
|
|
|
16569
16587
|
//#endregion
|
|
16570
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16588
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/PackageName.js
|
|
16571
16589
|
/**
|
|
16572
16590
|
* Indicates that a string could not be used as a valid npm package name.
|
|
16573
16591
|
*
|
|
@@ -16626,7 +16644,7 @@ const PackageName = Object.assign(Schema.Union([ScopedPackageName, UnscopedPacka
|
|
|
16626
16644
|
});
|
|
16627
16645
|
|
|
16628
16646
|
//#endregion
|
|
16629
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16647
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/Person.js
|
|
16630
16648
|
const parsePersonString = (input) => {
|
|
16631
16649
|
const emailMatch = input.match(/<([^>]+)>/);
|
|
16632
16650
|
const urlMatch = input.match(/\(([^)]+)\)/);
|
|
@@ -16773,7 +16791,7 @@ var Person = class Person extends Schema.Class("Person")({
|
|
|
16773
16791
|
};
|
|
16774
16792
|
|
|
16775
16793
|
//#endregion
|
|
16776
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16794
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/Repository.js
|
|
16777
16795
|
/** The shorthand hosts npm resolves without a scheme. */
|
|
16778
16796
|
const SHORTHAND_HOSTS = /* @__PURE__ */ new Map([
|
|
16779
16797
|
["github", "https://github.com"],
|
|
@@ -16949,7 +16967,7 @@ var Bugs = class Bugs extends Schema.Class("Bugs")({
|
|
|
16949
16967
|
};
|
|
16950
16968
|
|
|
16951
16969
|
//#endregion
|
|
16952
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
16970
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/internal/format.js
|
|
16953
16971
|
const KEY_INDEX = new Map([
|
|
16954
16972
|
"$schema",
|
|
16955
16973
|
"name",
|
|
@@ -17173,7 +17191,7 @@ const renderJson = (raw, options) => {
|
|
|
17173
17191
|
};
|
|
17174
17192
|
|
|
17175
17193
|
//#endregion
|
|
17176
|
-
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.
|
|
17194
|
+
//#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/Package.js
|
|
17177
17195
|
const toHashMap = SchemaTransformation.transform({
|
|
17178
17196
|
decode: (record) => HashMap.fromIterable(Object.entries(record)),
|
|
17179
17197
|
encode: (map) => Object.fromEntries(HashMap.toEntries(map))
|
|
@@ -17500,7 +17518,7 @@ var Package = class Package extends Schema.Class("Package")({
|
|
|
17500
17518
|
};
|
|
17501
17519
|
|
|
17502
17520
|
//#endregion
|
|
17503
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
17521
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspacePackage.js
|
|
17504
17522
|
const EMPTY$1 = Object.freeze(Object.create(null));
|
|
17505
17523
|
const EMPTY_MANIFEST = Object.freeze(Object.create(null));
|
|
17506
17524
|
/**
|
|
@@ -17780,7 +17798,7 @@ var WorkspacePackage = class WorkspacePackage extends Schema.Class("WorkspacePac
|
|
|
17780
17798
|
};
|
|
17781
17799
|
|
|
17782
17800
|
//#endregion
|
|
17783
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
17801
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.4_@effected+glob@0.2.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Descend.js
|
|
17784
17802
|
/**
|
|
17785
17803
|
* Typed failure raised by {@link descend}: a directory mid-walk was unreadable
|
|
17786
17804
|
* (under `onUnreadable: "fail"`), or the walk descended past `maxDepth`. Depth
|
|
@@ -17916,7 +17934,7 @@ const descend = Effect.fn("Walker.descend")(function* (pattern, options) {
|
|
|
17916
17934
|
});
|
|
17917
17935
|
|
|
17918
17936
|
//#endregion
|
|
17919
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
17937
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.4_@effected+glob@0.2.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Expand.js
|
|
17920
17938
|
/**
|
|
17921
17939
|
* Typed failure raised by {@link compileAndExpand}: the single error the
|
|
17922
17940
|
* compile+expand recipe fails with, so a caller catches one tag rather than
|
|
@@ -18007,7 +18025,7 @@ const compileAndExpand = Effect.fn("Walker.compileAndExpand")(function* (pattern
|
|
|
18007
18025
|
});
|
|
18008
18026
|
|
|
18009
18027
|
//#endregion
|
|
18010
|
-
//#region ../../node_modules/.pnpm/@effected+walker@0.3.
|
|
18028
|
+
//#region ../../node_modules/.pnpm/@effected+walker@0.3.4_@effected+glob@0.2.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/walker/Walker.js
|
|
18011
18029
|
const ascend = (start, options) => Effect.gen(function* () {
|
|
18012
18030
|
const path = yield* Path.Path;
|
|
18013
18031
|
const maxDepth = options?.maxDepth ?? 256;
|
|
@@ -18102,7 +18120,7 @@ var Walker$1 = class {
|
|
|
18102
18120
|
};
|
|
18103
18121
|
|
|
18104
18122
|
//#endregion
|
|
18105
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18123
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceRoot.js
|
|
18106
18124
|
/**
|
|
18107
18125
|
* The marker filenames {@link WorkspaceRoot} probes for, in priority order.
|
|
18108
18126
|
*
|
|
@@ -18290,7 +18308,7 @@ var WorkspaceRoot = class WorkspaceRoot extends Context.Service()("@effected/wor
|
|
|
18290
18308
|
};
|
|
18291
18309
|
|
|
18292
18310
|
//#endregion
|
|
18293
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18311
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/limits.js
|
|
18294
18312
|
/**
|
|
18295
18313
|
* Hard ceiling on directories the enumerator will visit for one pattern set.
|
|
18296
18314
|
* Guards the pathological case a depth cap alone does not: a wide, shallow
|
|
@@ -18309,7 +18327,7 @@ const MAX_ENUMERATION_ENTRIES = 1e5;
|
|
|
18309
18327
|
const PRUNED_DIRECTORIES = /* @__PURE__ */ new Set([".git", "node_modules"]);
|
|
18310
18328
|
|
|
18311
18329
|
//#endregion
|
|
18312
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18330
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/traverse.js
|
|
18313
18331
|
/** Directory names never descended into. */
|
|
18314
18332
|
const isPruned = (entry) => PRUNED_DIRECTORIES.has(entry);
|
|
18315
18333
|
/** Join root-relative POSIX segments; `""` is the root itself. */
|
|
@@ -18400,7 +18418,7 @@ var Traversal = class {
|
|
|
18400
18418
|
};
|
|
18401
18419
|
|
|
18402
18420
|
//#endregion
|
|
18403
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18421
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/enumerate.js
|
|
18404
18422
|
/** Strip a trailing slash from `GlobPattern.enumerationPrefix` to get a relative directory. */
|
|
18405
18423
|
const baseOf = (pattern) => pattern.enumerationPrefix.replace(/\/$/, "");
|
|
18406
18424
|
/**
|
|
@@ -18471,7 +18489,7 @@ const enumerate = (root, globs, options) => Effect.gen(function* () {
|
|
|
18471
18489
|
});
|
|
18472
18490
|
|
|
18473
18491
|
//#endregion
|
|
18474
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18492
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/patterns.js
|
|
18475
18493
|
const stringsOf = (value) => Array.isArray(value) ? value.filter((entry) => typeof entry === "string") : void 0;
|
|
18476
18494
|
/** The `packages:` list of a `pnpm-workspace.yaml` document. Total on a parsed document. */
|
|
18477
18495
|
const pnpmPatternsOf = (document) => {
|
|
@@ -18529,7 +18547,7 @@ const readPatterns = (root) => Effect.gen(function* () {
|
|
|
18529
18547
|
});
|
|
18530
18548
|
|
|
18531
18549
|
//#endregion
|
|
18532
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18550
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceDiscovery.js
|
|
18533
18551
|
/**
|
|
18534
18552
|
* Raised when a workspace member's `package.json` cannot be read, parsed, or
|
|
18535
18553
|
* used — it is missing, malformed, or lacks a `name` or `version`.
|
|
@@ -18968,7 +18986,7 @@ var WorkspaceDiscovery = class WorkspaceDiscovery extends Context.Service()("@ef
|
|
|
18968
18986
|
const isStringRecord$2 = (value) => value !== null && typeof value === "object" && !Array.isArray(value) && Object.values(value).every((entry) => typeof entry === "string");
|
|
18969
18987
|
|
|
18970
18988
|
//#endregion
|
|
18971
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
18989
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/DependencyGraph.js
|
|
18972
18990
|
/**
|
|
18973
18991
|
* Raised when the workspace dependency graph cannot be topologically ordered
|
|
18974
18992
|
* because it contains a cycle.
|
|
@@ -19202,7 +19220,7 @@ const kahn = (edges) => {
|
|
|
19202
19220
|
};
|
|
19203
19221
|
|
|
19204
19222
|
//#endregion
|
|
19205
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.5.
|
|
19223
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/git/GitCommand.js
|
|
19206
19224
|
/**
|
|
19207
19225
|
* Builds a `git` `ChildProcess.StandardCommand` with the argv this package
|
|
19208
19226
|
* classifies against.
|
|
@@ -19575,7 +19593,7 @@ var GitCommand = class {
|
|
|
19575
19593
|
};
|
|
19576
19594
|
|
|
19577
19595
|
//#endregion
|
|
19578
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.5.
|
|
19596
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/git/internal/run.js
|
|
19579
19597
|
/**
|
|
19580
19598
|
* Spawns `command` and collects its stdout, stderr, and exit code as a single
|
|
19581
19599
|
* triple.
|
|
@@ -19603,7 +19621,7 @@ const runCollected = (command) => Effect.scoped(Effect.gen(function* () {
|
|
|
19603
19621
|
}));
|
|
19604
19622
|
|
|
19605
19623
|
//#endregion
|
|
19606
|
-
//#region ../../node_modules/.pnpm/@effected+git@0.5.
|
|
19624
|
+
//#region ../../node_modules/.pnpm/@effected+git@0.5.2_effect@4.0.0-beta.101/node_modules/@effected/git/Git.js
|
|
19607
19625
|
/** git's own ceiling: a run that has not answered in 30s is not going to. */
|
|
19608
19626
|
const GIT_TIMEOUT = Duration.seconds(30);
|
|
19609
19627
|
/**
|
|
@@ -20614,7 +20632,7 @@ var Git = class Git extends Context.Service()("@effected/git/Git") {
|
|
|
20614
20632
|
};
|
|
20615
20633
|
|
|
20616
20634
|
//#endregion
|
|
20617
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
20635
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/ChangeDetector.js
|
|
20618
20636
|
/**
|
|
20619
20637
|
* Which git refs to compare, and whether to fold in the working tree.
|
|
20620
20638
|
*
|
|
@@ -20896,7 +20914,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
|
|
|
20896
20914
|
}
|
|
20897
20915
|
|
|
20898
20916
|
//#endregion
|
|
20899
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
20917
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/catalogs.js
|
|
20900
20918
|
/** Project a pnpm-workspace manifest's `catalog` / `catalogs` fields into a `Catalogs` map. */
|
|
20901
20919
|
const inlineCatalogs = (manifest) => {
|
|
20902
20920
|
if (manifest.catalog === void 0 && manifest.catalogs === void 0) return {};
|
|
@@ -20962,7 +20980,7 @@ const rangeOf = (catalogs, dependency, specifier) => {
|
|
|
20962
20980
|
};
|
|
20963
20981
|
|
|
20964
20982
|
//#endregion
|
|
20965
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
20983
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/ConfigDependencyHooks.js
|
|
20966
20984
|
/** Whether `value` is a non-null, non-array object. */
|
|
20967
20985
|
const isObject$2 = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
20968
20986
|
/**
|
|
@@ -21150,7 +21168,7 @@ var ConfigDependencyHooks = class ConfigDependencyHooks extends Context.Service(
|
|
|
21150
21168
|
};
|
|
21151
21169
|
|
|
21152
21170
|
//#endregion
|
|
21153
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
21171
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/PackageManagerName.js
|
|
21154
21172
|
/**
|
|
21155
21173
|
* The four package managers this package understands.
|
|
21156
21174
|
*
|
|
@@ -21479,7 +21497,7 @@ var PackageManagerDetector = class PackageManagerDetector extends Context.Servic
|
|
|
21479
21497
|
};
|
|
21480
21498
|
|
|
21481
21499
|
//#endregion
|
|
21482
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
21500
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/LockfileReader.js
|
|
21483
21501
|
/**
|
|
21484
21502
|
* Raised when the workspace's lockfile cannot be read off disk.
|
|
21485
21503
|
*
|
|
@@ -21660,7 +21678,7 @@ var LockfileReader = class LockfileReader extends Context.Service()("@effected/w
|
|
|
21660
21678
|
};
|
|
21661
21679
|
|
|
21662
21680
|
//#endregion
|
|
21663
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
21681
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/Publishability.js
|
|
21664
21682
|
/** The public npm registry, used when `publishConfig.registry` says nothing. */
|
|
21665
21683
|
const DEFAULT_REGISTRY = "https://registry.npmjs.org/";
|
|
21666
21684
|
/**
|
|
@@ -21820,7 +21838,7 @@ var PublishabilityDetector = class extends Context.Service()("@effected/workspac
|
|
|
21820
21838
|
};
|
|
21821
21839
|
|
|
21822
21840
|
//#endregion
|
|
21823
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
21841
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/internal/importerVersions.js
|
|
21824
21842
|
/**
|
|
21825
21843
|
* Strip pnpm's peer-disambiguation suffix from a recorded importer version.
|
|
21826
21844
|
*
|
|
@@ -21907,7 +21925,7 @@ const unanimousVersionOf = (index, dependency) => {
|
|
|
21907
21925
|
};
|
|
21908
21926
|
|
|
21909
21927
|
//#endregion
|
|
21910
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
21928
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceCatalogs.js
|
|
21911
21929
|
/**
|
|
21912
21930
|
* An immutable, fully-normalized catalog collection — the one catalog
|
|
21913
21931
|
* resolution semantic in the package.
|
|
@@ -22417,7 +22435,7 @@ var WorkspaceCatalogs = class WorkspaceCatalogs extends Context.Service()("@effe
|
|
|
22417
22435
|
};
|
|
22418
22436
|
|
|
22419
22437
|
//#endregion
|
|
22420
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
22438
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceStateSnapshot.js
|
|
22421
22439
|
const EMPTY = Object.freeze(Object.create(null));
|
|
22422
22440
|
const DependencyMap = Schema.Record(Schema.String, Schema.String).pipe(Schema.withDecodingDefaultKey(Effect.succeed(EMPTY)), Schema.withConstructorDefault(Effect.succeed(EMPTY)));
|
|
22423
22441
|
/**
|
|
@@ -22641,7 +22659,7 @@ var WorkspaceStateSnapshot = class extends Schema.Class("WorkspaceStateSnapshot"
|
|
|
22641
22659
|
};
|
|
22642
22660
|
|
|
22643
22661
|
//#endregion
|
|
22644
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
22662
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/WorkspaceSnapshots.js
|
|
22645
22663
|
/** Whether `value` is a non-null, non-array object. */
|
|
22646
22664
|
const isObject = (value) => typeof value === "object" && value !== null && !Array.isArray(value);
|
|
22647
22665
|
/** Whether every value in a record is a string — a usable dependency map. */
|
|
@@ -22919,7 +22937,7 @@ var WorkspaceSnapshots = class WorkspaceSnapshots extends Context.Service()("@ef
|
|
|
22919
22937
|
};
|
|
22920
22938
|
|
|
22921
22939
|
//#endregion
|
|
22922
|
-
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.
|
|
22940
|
+
//#region ../../node_modules/.pnpm/@effected+workspaces@0.9.4_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/Workspaces.js
|
|
22923
22941
|
const compose = (options, catalogsFactory) => {
|
|
22924
22942
|
const roots = WorkspaceRoot.layer;
|
|
22925
22943
|
const detector = PackageManagerDetector.layer;
|