@savvy-web/silk 3.3.2 → 3.4.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.
@@ -3711,7 +3711,7 @@ declare class Git extends Git_base {
3711
3711
  static readonly layerTest: (overrides?: Partial<GitShape>) => Layer.Layer<Git>;
3712
3712
  }
3713
3713
  //#endregion
3714
- //#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3714
+ //#region ../../node_modules/.pnpm/@effected+semver@0.3.2_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3715
3715
  //#region src/SemVer.d.ts
3716
3716
  declare const InvalidVersionError_base: Schema.Class<InvalidVersionError, Schema.TaggedStruct<"InvalidVersionError", {
3717
3717
  /** The raw input string that failed to parse. */
@@ -4225,22 +4225,59 @@ declare class Range extends Range_base {
4225
4225
  /**
4226
4226
  * Test whether a version satisfies a range; see {@link Range.test} for the
4227
4227
  * prerelease matching rule. Dual API.
4228
+ *
4229
+ * @remarks
4230
+ * **Data-first order is `(version, range)`** — the version being tested
4231
+ * comes first, the range it is tested against second. The data-last form
4232
+ * takes the range: `Range.satisfies(range)` applied to a version.
4233
+ *
4234
+ * Worth stating because the two parameters are distinct classes and the
4235
+ * order is not recoverable from the call site. TypeScript rejects a flipped
4236
+ * call outright, so this only bites callers without type checking — which
4237
+ * includes the untyped `node --input-type=module` probes this repo's own
4238
+ * evidence ladder calls for. There, `Range.satisfies(range, version)`
4239
+ * dispatches data-first, binds the `Range` to `version`, and dies with
4240
+ * `TypeError: range.test is not a function` — a message naming the
4241
+ * parameter that received the *version*, so it reads as a defect inside
4242
+ * this package rather than a caller error.
4243
+ *
4244
+ * The same order and the same hazard apply to `Range.filter`,
4245
+ * {@link Range.maxSatisfying} and {@link Range.minSatisfying}: subject
4246
+ * first, range second.
4228
4247
  */
4229
4248
  static readonly satisfies: {
4230
4249
  (range: Range): (version: SemVer) => boolean;
4231
4250
  (version: SemVer, range: Range): boolean;
4232
4251
  };
4233
- /** Filter versions that satisfy a range, preserving order. Dual API. */
4252
+ /**
4253
+ * Filter versions that satisfy a range, preserving order. Dual API.
4254
+ *
4255
+ * @remarks
4256
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4257
+ * for why the order is spelled out.
4258
+ */
4234
4259
  static readonly filter: {
4235
4260
  (range: Range): (versions: ReadonlyArray<SemVer>) => ReadonlyArray<SemVer>;
4236
4261
  (versions: ReadonlyArray<SemVer>, range: Range): ReadonlyArray<SemVer>;
4237
4262
  };
4238
- /** Highest satisfying version, or `Option.none()`. Dual API. */
4263
+ /**
4264
+ * Highest satisfying version, or `Option.none()`. Dual API.
4265
+ *
4266
+ * @remarks
4267
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4268
+ * for why the order is spelled out.
4269
+ */
4239
4270
  static readonly maxSatisfying: {
4240
4271
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4241
4272
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
4242
4273
  };
4243
- /** Lowest satisfying version, or `Option.none()`. Dual API. */
4274
+ /**
4275
+ * Lowest satisfying version, or `Option.none()`. Dual API.
4276
+ *
4277
+ * @remarks
4278
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4279
+ * for why the order is spelled out.
4280
+ */
4244
4281
  static readonly minSatisfying: {
4245
4282
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4246
4283
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
@@ -4358,7 +4395,7 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
4358
4395
  get message(): string;
4359
4396
  }
4360
4397
  //#endregion
4361
- //#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/index.d.ts
4398
+ //#region ../../node_modules/.pnpm/@effected+npm@0.8.2_@effected+semver@0.3.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
4362
4399
  //#region src/CatalogAssemblyError.d.ts
4363
4400
  declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
4364
4401
  /**
@@ -4932,7 +4969,7 @@ declare class GlobPattern extends GlobPattern_base {
4932
4969
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4933
4970
  }
4934
4971
  //#endregion
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/index.d.ts
4972
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.2_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._ff048038a9678f5144f817ad24d8f96e/node_modules/@effected/lockfiles/index.d.ts
4936
4973
  //#region src/BunExtension.d.ts
4937
4974
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4938
4975
  readonly _tag: Schema.tag<"bun">;
@@ -5362,7 +5399,7 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
5362
5399
  static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
5363
5400
  }
5364
5401
  //#endregion
5365
- //#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5402
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.7.3_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5366
5403
  //#region src/Dependency.d.ts
5367
5404
  declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
5368
5405
  /** The package name. */
@@ -5944,7 +5981,7 @@ declare class Package extends Package_base {
5944
5981
  toJsonString(options?: PackageFormatOptions): string;
5945
5982
  }
5946
5983
  //#endregion
5947
- //#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/index.d.ts
5984
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.9.5_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
5948
5985
  //#region src/WorkspacePackage.d.ts
5949
5986
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5950
5987
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -8195,7 +8232,7 @@ declare class Categories {
8195
8232
  static isValidHeading(heading: string): boolean;
8196
8233
  }
8197
8234
  //#endregion
8198
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.8/node_modules/@changesets/types/dist/index.d.mts
8235
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.9/node_modules/@changesets/types/dist/index.d.mts
8199
8236
  //#region src/index.d.ts
8200
8237
  type MaybePromise<T> = T | Promise<T>;
8201
8238
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -8323,7 +8360,6 @@ type ChangelogFunctions = {
8323
8360
  type PreState = {
8324
8361
  mode: "pre" | "exit";
8325
8362
  tag: string;
8326
- changesets: string[];
8327
8363
  };
8328
8364
  //#endregion
8329
8365
  //#region src/changesets/api/changelog.d.ts
@@ -3711,7 +3711,7 @@ declare class Git extends Git_base {
3711
3711
  static readonly layerTest: (overrides?: Partial<GitShape>) => Layer.Layer<Git>;
3712
3712
  }
3713
3713
  //#endregion
3714
- //#region ../../node_modules/.pnpm/@effected+semver@0.3.1_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3714
+ //#region ../../node_modules/.pnpm/@effected+semver@0.3.2_effect@4.0.0-beta.101/node_modules/@effected/semver/index.d.ts
3715
3715
  //#region src/SemVer.d.ts
3716
3716
  declare const InvalidVersionError_base: Schema.Class<InvalidVersionError, Schema.TaggedStruct<"InvalidVersionError", {
3717
3717
  /** The raw input string that failed to parse. */
@@ -4225,22 +4225,59 @@ declare class Range extends Range_base {
4225
4225
  /**
4226
4226
  * Test whether a version satisfies a range; see {@link Range.test} for the
4227
4227
  * prerelease matching rule. Dual API.
4228
+ *
4229
+ * @remarks
4230
+ * **Data-first order is `(version, range)`** — the version being tested
4231
+ * comes first, the range it is tested against second. The data-last form
4232
+ * takes the range: `Range.satisfies(range)` applied to a version.
4233
+ *
4234
+ * Worth stating because the two parameters are distinct classes and the
4235
+ * order is not recoverable from the call site. TypeScript rejects a flipped
4236
+ * call outright, so this only bites callers without type checking — which
4237
+ * includes the untyped `node --input-type=module` probes this repo's own
4238
+ * evidence ladder calls for. There, `Range.satisfies(range, version)`
4239
+ * dispatches data-first, binds the `Range` to `version`, and dies with
4240
+ * `TypeError: range.test is not a function` — a message naming the
4241
+ * parameter that received the *version*, so it reads as a defect inside
4242
+ * this package rather than a caller error.
4243
+ *
4244
+ * The same order and the same hazard apply to `Range.filter`,
4245
+ * {@link Range.maxSatisfying} and {@link Range.minSatisfying}: subject
4246
+ * first, range second.
4228
4247
  */
4229
4248
  static readonly satisfies: {
4230
4249
  (range: Range): (version: SemVer) => boolean;
4231
4250
  (version: SemVer, range: Range): boolean;
4232
4251
  };
4233
- /** Filter versions that satisfy a range, preserving order. Dual API. */
4252
+ /**
4253
+ * Filter versions that satisfy a range, preserving order. Dual API.
4254
+ *
4255
+ * @remarks
4256
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4257
+ * for why the order is spelled out.
4258
+ */
4234
4259
  static readonly filter: {
4235
4260
  (range: Range): (versions: ReadonlyArray<SemVer>) => ReadonlyArray<SemVer>;
4236
4261
  (versions: ReadonlyArray<SemVer>, range: Range): ReadonlyArray<SemVer>;
4237
4262
  };
4238
- /** Highest satisfying version, or `Option.none()`. Dual API. */
4263
+ /**
4264
+ * Highest satisfying version, or `Option.none()`. Dual API.
4265
+ *
4266
+ * @remarks
4267
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4268
+ * for why the order is spelled out.
4269
+ */
4239
4270
  static readonly maxSatisfying: {
4240
4271
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4241
4272
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
4242
4273
  };
4243
- /** Lowest satisfying version, or `Option.none()`. Dual API. */
4274
+ /**
4275
+ * Lowest satisfying version, or `Option.none()`. Dual API.
4276
+ *
4277
+ * @remarks
4278
+ * Data-first order is `(versions, range)` — see {@link Range.satisfies}
4279
+ * for why the order is spelled out.
4280
+ */
4244
4281
  static readonly minSatisfying: {
4245
4282
  (range: Range): (versions: ReadonlyArray<SemVer>) => Option.Option<SemVer>;
4246
4283
  (versions: ReadonlyArray<SemVer>, range: Range): Option.Option<SemVer>;
@@ -4358,7 +4395,7 @@ declare class UnsatisfiableConstraintError extends UnsatisfiableConstraintError_
4358
4395
  get message(): string;
4359
4396
  }
4360
4397
  //#endregion
4361
- //#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/index.d.ts
4398
+ //#region ../../node_modules/.pnpm/@effected+npm@0.8.2_@effected+semver@0.3.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/npm/index.d.ts
4362
4399
  //#region src/CatalogAssemblyError.d.ts
4363
4400
  declare const CatalogAssemblyError_base: Schema.Class<CatalogAssemblyError, Schema.TaggedStruct<"CatalogAssemblyError", {
4364
4401
  /**
@@ -4932,7 +4969,7 @@ declare class GlobPattern extends GlobPattern_base {
4932
4969
  static readonly FromString: Schema.Codec<GlobPattern, string>;
4933
4970
  }
4934
4971
  //#endregion
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/index.d.ts
4972
+ //#region ../../node_modules/.pnpm/@effected+lockfiles@0.3.2_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__@effected+npm@0._ff048038a9678f5144f817ad24d8f96e/node_modules/@effected/lockfiles/index.d.ts
4936
4973
  //#region src/BunExtension.d.ts
4937
4974
  declare const BunExtension_base: Schema.Class<BunExtension, Schema.Struct<{
4938
4975
  readonly _tag: Schema.tag<"bun">;
@@ -5362,7 +5399,7 @@ declare class LockfileIntegrity extends LockfileIntegrity_base {
5362
5399
  static compare(lockfile: Lockfile, manifests: ReadonlyArray<WorkspaceManifest>): LockfileIntegrity;
5363
5400
  }
5364
5401
  //#endregion
5365
- //#region ../../node_modules/.pnpm/@effected+package-json@0.7.2_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5402
+ //#region ../../node_modules/.pnpm/@effected+package-json@0.7.3_effect@4.0.0-beta.101/node_modules/@effected/package-json/index.d.ts
5366
5403
  //#region src/Dependency.d.ts
5367
5404
  declare const Dependency_base: Schema.Class<Dependency, Schema.Struct<{
5368
5405
  /** The package name. */
@@ -5944,7 +5981,7 @@ declare class Package extends Package_base {
5944
5981
  toJsonString(options?: PackageFormatOptions): string;
5945
5982
  }
5946
5983
  //#endregion
5947
- //#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/index.d.ts
5984
+ //#region ../../node_modules/.pnpm/@effected+workspaces@0.9.5_@effected+jsonc@0.5.2_effect@4.0.0-beta.101__effect@4.0.0-beta.101/node_modules/@effected/workspaces/index.d.ts
5948
5985
  //#region src/WorkspacePackage.d.ts
5949
5986
  declare const PublishConfig_base: Schema.Class<PublishConfig, Schema.Struct<{
5950
5987
  /** Scoped-package visibility. Its presence overrides `private`. */
@@ -8195,7 +8232,7 @@ declare class Categories {
8195
8232
  static isValidHeading(heading: string): boolean;
8196
8233
  }
8197
8234
  //#endregion
8198
- //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.8/node_modules/@changesets/types/dist/index.d.mts
8235
+ //#region ../../node_modules/.pnpm/@changesets+types@7.0.0-next.9/node_modules/@changesets/types/dist/index.d.mts
8199
8236
  //#region src/index.d.ts
8200
8237
  type MaybePromise<T> = T | Promise<T>;
8201
8238
  type VersionType$1 = "major" | "minor" | "patch" | "none";
@@ -8323,7 +8360,6 @@ type ChangelogFunctions = {
8323
8360
  type PreState = {
8324
8361
  mode: "pre" | "exit";
8325
8362
  tag: string;
8326
- changesets: string[];
8327
8363
  };
8328
8364
  //#endregion
8329
8365
  //#region src/changesets/api/changelog.d.ts