@savvy-web/silk 2.1.0 → 2.1.1

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.
@@ -362,7 +362,7 @@ const ChangesetConfigLive = effect.Layer.effect(ChangesetConfig, effect.Effect.g
362
362
  };
363
363
  }));
364
364
  //#endregion
365
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
365
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogAssemblyError.js
366
366
  /**
367
367
  * Base constant for {@link CatalogAssemblyError}.
368
368
  *
@@ -389,7 +389,7 @@ var CatalogAssemblyError = class extends CatalogAssemblyErrorBase {
389
389
  }
390
390
  };
391
391
  //#endregion
392
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
392
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/CatalogResolutionError.js
393
393
  /**
394
394
  * Base constant for {@link CatalogResolutionError}.
395
395
  *
@@ -415,7 +415,7 @@ var CatalogResolutionError = class extends CatalogResolutionErrorBase {
415
415
  }
416
416
  };
417
417
  //#endregion
418
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
418
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/GitReadError.js
419
419
  /**
420
420
  * Base constant for {@link GitReadError}.
421
421
  *
@@ -440,7 +440,7 @@ var GitReadError = class extends GitReadErrorBase {
440
440
  }
441
441
  };
442
442
  //#endregion
443
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
443
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/PackageNotFoundError.js
444
444
  /**
445
445
  * Base constant for {@link PackageNotFoundError}.
446
446
  *
@@ -491,7 +491,7 @@ var PackageNotFoundError = class extends PackageNotFoundErrorBase {
491
491
  }
492
492
  };
493
493
  //#endregion
494
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
494
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceDiscoveryError.js
495
495
  /**
496
496
  * Base constant for {@link WorkspaceDiscoveryError}.
497
497
  *
@@ -542,7 +542,7 @@ var WorkspaceDiscoveryError = class extends WorkspaceDiscoveryErrorBase {
542
542
  }
543
543
  };
544
544
  //#endregion
545
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
545
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/errors/WorkspaceRootNotFoundError.js
546
546
  /**
547
547
  * Base constant for {@link WorkspaceRootNotFoundError}.
548
548
  *
@@ -592,7 +592,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
592
592
  }
593
593
  };
594
594
  //#endregion
595
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
595
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceDiscovery.js
596
596
  /**
597
597
  * Service for discovering workspace packages in a monorepo.
598
598
  *
@@ -642,7 +642,7 @@ var WorkspaceRootNotFoundError = class extends WorkspaceRootNotFoundErrorBase {
642
642
  */
643
643
  var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceDiscovery")() {};
644
644
  //#endregion
645
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
645
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/WorkspaceRoot.js
646
646
  /**
647
647
  * Service for finding the workspace root directory.
648
648
  *
@@ -689,7 +689,7 @@ var WorkspaceDiscovery = class extends effect.Context.Tag("@spencerbeggs/workspa
689
689
  */
690
690
  var WorkspaceRoot = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/WorkspaceRoot")() {};
691
691
  //#endregion
692
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/errors/YamlComposerError.js
692
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlComposerError.js
693
693
  /**
694
694
  * YAML composer error type.
695
695
  *
@@ -747,7 +747,7 @@ var YamlComposerError = class extends YamlComposerErrorBase {
747
747
  }
748
748
  };
749
749
  //#endregion
750
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/errors/YamlErrorDetail.js
750
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/errors/YamlErrorDetail.js
751
751
  /**
752
752
  * YAML error detail schema and error code types.
753
753
  *
@@ -800,7 +800,7 @@ var YamlErrorDetail = class extends effect.Schema.Class("YamlErrorDetail")({
800
800
  column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
801
801
  }) {};
802
802
  //#endregion
803
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/schemas/CstNode.js
803
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/CstNode.js
804
804
  /**
805
805
  * YAML CST node schema and node type literal union.
806
806
  *
@@ -836,7 +836,7 @@ var CstNode = class CstNode extends effect.Schema.Class("CstNode")({
836
836
  children: effect.Schema.optional(effect.Schema.Array(effect.Schema.suspend(() => CstNode)))
837
837
  }) {};
838
838
  //#endregion
839
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/schemas/YamlShared.js
839
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlShared.js
840
840
  /**
841
841
  * Shared YAML structural types used across the parse/stringify/format pipeline.
842
842
  *
@@ -864,7 +864,7 @@ effect.Schema.Class("YamlEdit")({
864
864
  content: effect.Schema.String
865
865
  });
866
866
  //#endregion
867
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/schemas/YamlAstNodes.js
867
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlAstNodes.js
868
868
  /**
869
869
  * Internal module defining all mutually-referential YAML AST node schemas in
870
870
  * one place to avoid circular import cycles between individual schema files.
@@ -1075,7 +1075,7 @@ var YamlSeq = class extends effect.Schema.TaggedClass()("YamlSeq", {
1075
1075
  length: effect.Schema.Int.pipe(effect.Schema.nonNegative())
1076
1076
  }) {};
1077
1077
  //#endregion
1078
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/schemas/YamlDocument.js
1078
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlDocument.js
1079
1079
  /**
1080
1080
  * YAML document and directive schemas.
1081
1081
  *
@@ -1153,7 +1153,7 @@ var YamlDocument = class extends effect.Schema.Class("YamlDocument")({
1153
1153
  hasDocumentStartTab: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
1154
1154
  }) {};
1155
1155
  //#endregion
1156
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/schemas/YamlToken.js
1156
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/schemas/YamlToken.js
1157
1157
  /**
1158
1158
  * YAML token schema and token kind literal union.
1159
1159
  *
@@ -1188,7 +1188,7 @@ var YamlToken = class extends effect.Schema.Class("YamlToken")({
1188
1188
  column: effect.Schema.Int.pipe(effect.Schema.nonNegative())
1189
1189
  }) {};
1190
1190
  //#endregion
1191
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/utils/lexer.js
1191
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/lexer.js
1192
1192
  /**
1193
1193
  * YAML 1.2 lexer — tokenizes raw YAML text into a stream of {@link YamlToken} values.
1194
1194
  *
@@ -2193,7 +2193,7 @@ function lexAll(text) {
2193
2193
  return effect.Stream.runCollect(lex(text)).pipe(effect.Effect.map((chunk) => [...chunk]));
2194
2194
  }
2195
2195
  //#endregion
2196
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/utils/parser.js
2196
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/parser.js
2197
2197
  /**
2198
2198
  * YAML 1.2 CST parser — transforms a token stream into a Concrete Syntax Tree.
2199
2199
  *
@@ -2838,7 +2838,7 @@ function parseCSTAll(text) {
2838
2838
  return lexAll(text).pipe(effect.Effect.map((tokens) => parseDocuments(tokens, text)));
2839
2839
  }
2840
2840
  //#endregion
2841
- //#region ../../node_modules/.pnpm/yaml-effect@0.7.0_effect@3.21.4/node_modules/yaml-effect/utils/composer.js
2841
+ //#region ../../node_modules/.pnpm/yaml-effect@0.7.2_effect@3.21.4/node_modules/yaml-effect/utils/composer.js
2842
2842
  /**
2843
2843
  * YAML 1.2 Composer — transforms CST nodes into AST nodes with typed values.
2844
2844
  *
@@ -2847,16 +2847,29 @@ function parseCSTAll(text) {
2847
2847
  *
2848
2848
  * @packageDocumentation
2849
2849
  */
2850
+ let lineStartsText;
2851
+ let lineStartsCache = [];
2852
+ function getLineStarts(text) {
2853
+ if (lineStartsText === text) return lineStartsCache;
2854
+ const starts = [0];
2855
+ for (let i = 0; i < text.length; i++) if (text[i] === "\n") starts.push(i + 1);
2856
+ lineStartsText = text;
2857
+ lineStartsCache = starts;
2858
+ return starts;
2859
+ }
2850
2860
  function lineCol(text, offset) {
2851
- let line = 0;
2852
- let column = 0;
2853
- for (let i = 0; i < offset && i < text.length; i++) if (text[i] === "\n") {
2854
- line++;
2855
- column = 0;
2856
- } else column++;
2861
+ const starts = getLineStarts(text);
2862
+ const pos = Math.min(Math.max(offset, 0), text.length);
2863
+ let lo = 0;
2864
+ let hi = starts.length - 1;
2865
+ while (lo < hi) {
2866
+ const mid = lo + hi + 1 >> 1;
2867
+ if (starts[mid] <= pos) lo = mid;
2868
+ else hi = mid - 1;
2869
+ }
2857
2870
  return {
2858
- line,
2859
- column
2871
+ line: lo,
2872
+ column: pos - starts[lo]
2860
2873
  };
2861
2874
  }
2862
2875
  const NULL_RE = /^(?:null|Null|NULL|~)$/;
@@ -6315,7 +6328,7 @@ function parse$2(text, options) {
6315
6328
  }));
6316
6329
  }
6317
6330
  //#endregion
6318
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
6331
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/workspace-manifest.js
6319
6332
  /**
6320
6333
  * Parse a pnpm-workspace.yaml text into its catalog/config-dependency/packages
6321
6334
  * slice. Pure with respect to the filesystem.
@@ -6383,7 +6396,7 @@ function checkDefaultCatalogIsDefinedOnce(manifest) {
6383
6396
  if (manifest.catalog != null && manifest.catalogs?.default != null) throw new PnpmError("INVALID_CATALOGS_CONFIGURATION", "The 'default' catalog was defined multiple times. Use the 'catalog' field or 'catalogs.default', but not both.");
6384
6397
  }
6385
6398
  //#endregion
6386
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
6399
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/assemble.js
6387
6400
  /** Merge catalog sources; later sources win per dependency within a catalog. */
6388
6401
  function mergeCatalogs(...sources) {
6389
6402
  const result = {};
@@ -6464,7 +6477,7 @@ function resolveFromCatalog(catalogs, wantedDependency) {
6464
6477
  };
6465
6478
  }
6466
6479
  //#endregion
6467
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
6480
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/catalog/resolve.js
6468
6481
  const DEP_FIELDS = [
6469
6482
  "dependencies",
6470
6483
  "devDependencies",
@@ -6534,7 +6547,7 @@ function resolveManifest(catalogs, workspaceVersions, manifest) {
6534
6547
  return out;
6535
6548
  }
6536
6549
  //#endregion
6537
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
6550
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/CatalogSet.js
6538
6551
  /**
6539
6552
  * An immutable, fully-normalized catalog collection with the one
6540
6553
  * resolution semantic shared by live and point-in-time resolution.
@@ -6624,7 +6637,7 @@ var CatalogSet = class CatalogSet extends effect.Schema.Class("CatalogSet")({ en
6624
6637
  }
6625
6638
  };
6626
6639
  //#endregion
6627
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
6640
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/worktree-catalogs.js
6628
6641
  /**
6629
6642
  * The ONE code path that reads the working tree's catalog sources
6630
6643
  * (`pnpm-workspace.yaml` + `pnpm-lock.yaml`). Consumed by
@@ -8169,7 +8182,7 @@ minimatch.Minimatch = Minimatch;
8169
8182
  minimatch.escape = escape;
8170
8183
  minimatch.unescape = unescape;
8171
8184
  //#endregion
8172
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
8185
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/core.js
8173
8186
  /**
8174
8187
  * Schema for supported package manager identifiers.
8175
8188
  *
@@ -8431,7 +8444,7 @@ effect.Schema.Class("WorkspaceInfo")({
8431
8444
  patterns: effect.Schema.Array(effect.Schema.String)
8432
8445
  });
8433
8446
  //#endregion
8434
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
8447
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/WorkspaceStateSnapshot.js
8435
8448
  const DepRecord = effect.Schema.optionalWith(effect.Schema.Record({
8436
8449
  key: effect.Schema.String,
8437
8450
  value: effect.Schema.String
@@ -8500,7 +8513,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
8500
8513
  }
8501
8514
  };
8502
8515
  //#endregion
8503
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
8516
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PointInTimeWorkspace.js
8504
8517
  /**
8505
8518
  * Service for reading a monorepo's workspace state at a specific moment: any
8506
8519
  * git ref (via `git show`/`git ls-tree`, without checking the ref out) or the
@@ -8527,7 +8540,7 @@ var WorkspaceStateSnapshot = class extends effect.Schema.Class("WorkspaceStateSn
8527
8540
  */
8528
8541
  var PointInTimeWorkspace = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PointInTimeWorkspace")() {};
8529
8542
  //#endregion
8530
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
8543
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/discovery/glob-core.js
8531
8544
  const normalize$1 = (pattern) => pattern.replace(/\/\*\*$/, "/*");
8532
8545
  const toRegex = (glob) => new RegExp(`^${glob.replace(/[.+^${}()|[\]\\]/g, "\\$&").replace(/\*/g, "[^/]*").replace(/\?/g, "[^/]")}$`);
8533
8546
  /**
@@ -8570,7 +8583,7 @@ const compileWorkspaceGlobs = (patterns) => {
8570
8583
  };
8571
8584
  };
8572
8585
  //#endregion
8573
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
8586
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/point-in-time/git.js
8574
8587
  /**
8575
8588
  * Stderr shapes that mean "the path is not present at this ref" rather than
8576
8589
  * "the git command failed."
@@ -8662,7 +8675,7 @@ const makeGitReader = (executor, options) => {
8662
8675
  };
8663
8676
  };
8664
8677
  //#endregion
8665
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
8678
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PointInTimeWorkspaceLive.js
8666
8679
  /**
8667
8680
  * Live layer for the {@link PointInTimeWorkspace} service.
8668
8681
  *
@@ -8803,7 +8816,7 @@ const PointInTimeWorkspaceLive = effect.Layer.effect(PointInTimeWorkspace, effec
8803
8816
  });
8804
8817
  }));
8805
8818
  //#endregion
8806
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
8819
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/schemas/publish.js
8807
8820
  /**
8808
8821
  * Schema for package publish targets.
8809
8822
  *
@@ -8846,7 +8859,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
8846
8859
  provenance: effect.Schema.optionalWith(effect.Schema.Boolean, { default: () => false })
8847
8860
  }) {};
8848
8861
  //#endregion
8849
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
8862
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/services/PublishabilityDetector.js
8850
8863
  /**
8851
8864
  * Service for detecting whether a workspace package is publishable and
8852
8865
  * identifying its publish targets (npm, GitHub Packages, etc.).
@@ -8908,7 +8921,7 @@ var PublishTarget = class extends effect.Schema.Class("PublishTarget")({
8908
8921
  */
8909
8922
  var PublishabilityDetector = class extends effect.Context.Tag("@spencerbeggs/workspaces-effect/PublishabilityDetector")() {};
8910
8923
  //#endregion
8911
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
8924
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/PublishabilityDetectorLive.js
8912
8925
  /**
8913
8926
  * Default live implementation of the {@link PublishabilityDetector} service.
8914
8927
  *
@@ -8980,7 +8993,7 @@ const PublishabilityDetectorLive = effect.Layer.succeed(PublishabilityDetector,
8980
8993
  return targets;
8981
8994
  }).pipe(effect.Effect.withSpan("PublishabilityDetector.detect", { attributes: { "workspace.package": pkg.name } })) });
8982
8995
  //#endregion
8983
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
8996
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceDiscoveryLive.js
8984
8997
  /**
8985
8998
  * Live implementation of the {@link WorkspaceDiscovery} service.
8986
8999
  *
@@ -9267,7 +9280,7 @@ const WorkspaceDiscoveryLive = effect.Layer.effect(WorkspaceDiscovery, effect.Ef
9267
9280
  };
9268
9281
  }));
9269
9282
  //#endregion
9270
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
9283
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/layers/WorkspaceRootLive.js
9271
9284
  /**
9272
9285
  * Live implementation of the {@link WorkspaceRoot} service.
9273
9286
  *
@@ -34056,7 +34069,7 @@ var ChangelogTransformer = class ChangelogTransformer {
34056
34069
  }
34057
34070
  };
34058
34071
  //#endregion
34059
- //#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.4/node_modules/fdir/dist/index.mjs
34072
+ //#region ../../node_modules/.pnpm/fdir@6.5.0_picomatch@4.0.5/node_modules/fdir/dist/index.mjs
34060
34073
  var __require = /* @__PURE__ */ (0, module$1.createRequire)(require("url").pathToFileURL(__filename).href);
34061
34074
  function cleanPath(path$11) {
34062
34075
  let normalized = (0, path.normalize)(path$11);
@@ -34564,7 +34577,7 @@ var Builder = class {
34564
34577
  }
34565
34578
  };
34566
34579
  //#endregion
34567
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/constants.js
34580
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/constants.js
34568
34581
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34569
34582
  const WIN_SLASH = "\\\\/";
34570
34583
  const WIN_NO_SLASH = `[^${WIN_SLASH}]`;
@@ -34733,7 +34746,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34733
34746
  };
34734
34747
  }));
34735
34748
  //#endregion
34736
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/utils.js
34749
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/utils.js
34737
34750
  var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
34738
34751
  const { REGEX_BACKSLASH, REGEX_REMOVE_BACKSLASH, REGEX_SPECIAL_CHARS, REGEX_SPECIAL_CHARS_GLOBAL } = require_constants();
34739
34752
  exports.isObject = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
@@ -34781,7 +34794,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
34781
34794
  };
34782
34795
  }));
34783
34796
  //#endregion
34784
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/scan.js
34797
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/scan.js
34785
34798
  var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34786
34799
  const utils = require_utils$1();
34787
34800
  const { CHAR_ASTERISK, CHAR_AT, CHAR_BACKWARD_SLASH, CHAR_COMMA, CHAR_DOT, CHAR_EXCLAMATION_MARK, CHAR_FORWARD_SLASH, CHAR_LEFT_CURLY_BRACE, CHAR_LEFT_PARENTHESES, CHAR_LEFT_SQUARE_BRACKET, CHAR_PLUS, CHAR_QUESTION_MARK, CHAR_RIGHT_CURLY_BRACE, CHAR_RIGHT_PARENTHESES, CHAR_RIGHT_SQUARE_BRACKET } = require_constants();
@@ -35068,7 +35081,7 @@ var require_scan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35068
35081
  module.exports = scan;
35069
35082
  }));
35070
35083
  //#endregion
35071
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/parse.js
35084
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/parse.js
35072
35085
  var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35073
35086
  const constants = require_constants();
35074
35087
  const utils = require_utils$1();
@@ -35223,7 +35236,10 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35223
35236
  }
35224
35237
  }
35225
35238
  };
35226
- const getStarExtglobSequenceOutput = (pattern) => {
35239
+ const buildCharClassStar = (chars) => {
35240
+ return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
35241
+ };
35242
+ const getStarExtglobSequenceChars = (pattern) => {
35227
35243
  let index = 0;
35228
35244
  const chars = [];
35229
35245
  while (index < pattern.length) {
@@ -35237,7 +35253,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35237
35253
  index += match.end + 1;
35238
35254
  }
35239
35255
  if (chars.length < 1) return;
35240
- return `${chars.length === 1 ? utils.escapeRegex(chars[0]) : `[${chars.map((ch) => utils.escapeRegex(ch)).join("")}]`}*`;
35256
+ return chars;
35241
35257
  };
35242
35258
  const repeatedExtglobRecursion = (pattern) => {
35243
35259
  let depth = 0;
@@ -35257,14 +35273,28 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35257
35273
  if (branches.length > 1) {
35258
35274
  if (branches.some((branch) => branch === "") || branches.some((branch) => /^[*?]+$/.test(branch)) || hasRepeatedCharPrefixOverlap(branches)) return { risky: true };
35259
35275
  }
35276
+ const safeChars = [];
35277
+ let sawStarSequence = false;
35278
+ let combinable = true;
35260
35279
  for (const branch of branches) {
35261
- const safeOutput = getStarExtglobSequenceOutput(branch);
35262
- if (safeOutput) return {
35263
- risky: true,
35264
- safeOutput
35265
- };
35280
+ const chars = getStarExtglobSequenceChars(branch);
35281
+ if (chars) {
35282
+ sawStarSequence = true;
35283
+ safeChars.push(...chars);
35284
+ continue;
35285
+ }
35286
+ const literal = normalizeSimpleBranch(branch);
35287
+ if (literal && literal.length === 1) {
35288
+ safeChars.push(literal);
35289
+ continue;
35290
+ }
35291
+ combinable = false;
35266
35292
  if (repeatedExtglobRecursion(branch) > max) return { risky: true };
35267
35293
  }
35294
+ if (sawStarSequence) return combinable ? {
35295
+ risky: true,
35296
+ safeOutput: buildCharClassStar([...new Set(safeChars)])
35297
+ } : { risky: true };
35268
35298
  return { risky: false };
35269
35299
  };
35270
35300
  /**
@@ -36125,7 +36155,7 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
36125
36155
  module.exports = parse;
36126
36156
  }));
36127
36157
  //#endregion
36128
- //#region ../../node_modules/.pnpm/picomatch@4.0.4/node_modules/picomatch/lib/picomatch.js
36158
+ //#region ../../node_modules/.pnpm/picomatch@4.0.5/node_modules/picomatch/lib/picomatch.js
36129
36159
  var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
36130
36160
  const scan = require_scan();
36131
36161
  const parse = require_parse$1();
@@ -36146,6 +36176,18 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
36146
36176
  * const isMatch = picomatch('*.!(*a)');
36147
36177
  * console.log(isMatch('a.a')); //=> false
36148
36178
  * console.log(isMatch('a.b')); //=> true
36179
+ *
36180
+ * // For environments without `node.js`, `picomatch/posix` provides you a dependency-free matcher, without automatic OS detection.
36181
+ * const picomatch = require('picomatch/posix');
36182
+ * // the same API, defaulting to posix paths
36183
+ * const isMatch = picomatch('a/*');
36184
+ * console.log(isMatch('a\\b')); //=> false
36185
+ * console.log(isMatch('a/b')); //=> true
36186
+ *
36187
+ * // you can still configure the matcher function to accept windows paths
36188
+ * const isMatch = picomatch('a/*', { options: windows });
36189
+ * console.log(isMatch('a\\b')); //=> true
36190
+ * console.log(isMatch('a/b')); //=> true
36149
36191
  * ```
36150
36192
  * @name picomatch
36151
36193
  * @param {String|Array} `globs` One or more glob patterns.
@@ -36264,8 +36306,8 @@ var require_picomatch$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
36264
36306
  * @return {Boolean}
36265
36307
  * @api public
36266
36308
  */
36267
- picomatch.matchBase = (input, glob, options) => {
36268
- return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input));
36309
+ picomatch.matchBase = (input, glob, options, posix = options && options.windows) => {
36310
+ return (glob instanceof RegExp ? glob : picomatch.makeRe(glob, options)).test(utils.basename(input, { windows: posix }));
36269
36311
  };
36270
36312
  /**
36271
36313
  * Returns true if **any** of the given glob `patterns` match the specified `string`.
@@ -3325,7 +3325,7 @@ interface Catalog {
3325
3325
  readonly [dependencyName: string]: string | undefined;
3326
3326
  }
3327
3327
  //#endregion
3328
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3328
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3329
3329
  //#region src/errors/CatalogAssemblyError.d.ts
3330
3330
  /**
3331
3331
  * Base constant for {@link CatalogAssemblyError}.
@@ -3325,7 +3325,7 @@ interface Catalog {
3325
3325
  readonly [dependencyName: string]: string | undefined;
3326
3326
  }
3327
3327
  //#endregion
3328
- //#region ../../node_modules/.pnpm/workspaces-effect@2.0.1_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3328
+ //#region ../../node_modules/.pnpm/workspaces-effect@2.0.2_@effect+platform@0.96.2_effect@3.21.4__effect@3.21.4/node_modules/workspaces-effect/index.d.ts
3329
3329
  //#region src/errors/CatalogAssemblyError.d.ts
3330
3330
  /**
3331
3331
  * Base constant for {@link CatalogAssemblyError}.