@foldkit/oxlint-plugin 0.15.0 → 0.15.1-canary.c9c641bf8179

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.
Files changed (2) hide show
  1. package/dist/index.js +55 -89
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.116/node_modules/effect-oxlint/dist/rolldown-runtime.js
1
+ //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.117/node_modules/effect-oxlint/dist/rolldown-runtime.js
2
2
  var __defProp = Object.defineProperty;
3
3
  var __exportAll = (all, no_symbols) => {
4
4
  let target = {};
@@ -10,7 +10,7 @@ var __exportAll = (all, no_symbols) => {
10
10
  return target;
11
11
  };
12
12
  //#endregion
13
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Pipeable.js
13
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Pipeable.js
14
14
  /**
15
15
  * The `Pipeable` module defines the shared interface and implementation helpers
16
16
  * for values that support Effect-style method chaining with `.pipe(...)`.
@@ -112,7 +112,7 @@ const Class$1 = /*#__PURE__*/ function() {
112
112
  return PipeableBase;
113
113
  }();
114
114
  //#endregion
115
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Function.js
115
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Function.js
116
116
  /**
117
117
  * Creates a function that can be called in data-first style or data-last
118
118
  * (`pipe`-friendly) style.
@@ -379,7 +379,7 @@ function memoizeIdempotent(f) {
379
379
  };
380
380
  }
381
381
  //#endregion
382
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/equal.js
382
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/equal.js
383
383
  /** @internal */
384
384
  const getAllObjectKeys = (obj) => {
385
385
  const keys = new Set(Reflect.ownKeys(obj));
@@ -398,7 +398,7 @@ const getAllObjectKeys = (obj) => {
398
398
  /** @internal */
399
399
  const byReferenceInstances = /*#__PURE__*/ new WeakSet();
400
400
  //#endregion
401
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Predicate.js
401
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Predicate.js
402
402
  /**
403
403
  * Defines runtime checks for values.
404
404
  *
@@ -712,7 +712,7 @@ function isIterable(input) {
712
712
  return hasProperty(input, Symbol.iterator) || isString(input);
713
713
  }
714
714
  //#endregion
715
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Hash.js
715
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Hash.js
716
716
  /**
717
717
  * Computes Effect hash values and defines the interface for objects that want
718
718
  * to provide their own hash implementation. Hashes are small numeric
@@ -1121,7 +1121,7 @@ function withVisitedTracking$1(obj, fn) {
1121
1121
  return result;
1122
1122
  }
1123
1123
  //#endregion
1124
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Equal.js
1124
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Equal.js
1125
1125
  /**
1126
1126
  * Defines the unique string identifier for the `Equal` interface.
1127
1127
  *
@@ -1374,7 +1374,7 @@ const isEqual = (u) => hasProperty(u, symbol);
1374
1374
  */
1375
1375
  const asEquivalence = () => equals$2;
1376
1376
  //#endregion
1377
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Redactable.js
1377
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Redactable.js
1378
1378
  /**
1379
1379
  * Defines the symbol used to identify objects that implement the {@link Redactable}
1380
1380
  * protocol.
@@ -1493,7 +1493,7 @@ const emptyContext$1 = {
1493
1493
  }
1494
1494
  };
1495
1495
  //#endregion
1496
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Formatter.js
1496
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Formatter.js
1497
1497
  /**
1498
1498
  * Formats JavaScript values into readable strings.
1499
1499
  *
@@ -1668,7 +1668,7 @@ function safeGet(input, key) {
1668
1668
  }
1669
1669
  }
1670
1670
  //#endregion
1671
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Inspectable.js
1671
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Inspectable.js
1672
1672
  /**
1673
1673
  * Controls how values appear in logs and debugging output.
1674
1674
  *
@@ -1793,7 +1793,7 @@ const BaseProto = {
1793
1793
  }
1794
1794
  };
1795
1795
  //#endregion
1796
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/stackTraceLimit.js
1796
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/stackTraceLimit.js
1797
1797
  /**
1798
1798
  * Check if `Error.stackTraceLimit` is writable.
1799
1799
  * Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
@@ -1825,7 +1825,7 @@ const setStackTraceLimit = (value) => {
1825
1825
  if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
1826
1826
  };
1827
1827
  //#endregion
1828
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Utils.js
1828
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Utils.js
1829
1829
  /**
1830
1830
  * Yields its wrapped value exactly once through an `IterableIterator`.
1831
1831
  *
@@ -1912,7 +1912,7 @@ const pickInternalCall = () => {
1912
1912
  /** @internal */
1913
1913
  const internalCall = /*#__PURE__*/ pickInternalCall();
1914
1914
  //#endregion
1915
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/record.js
1915
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/record.js
1916
1916
  /** @internal */
1917
1917
  function assignProperty(self, key, value) {
1918
1918
  if (key === "__proto__") Object.defineProperty(self, key, {
@@ -1928,7 +1928,7 @@ function assignProperties(self, source) {
1928
1928
  for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
1929
1929
  }
1930
1930
  //#endregion
1931
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/core.js
1931
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/core.js
1932
1932
  /** @internal */
1933
1933
  const EffectTypeId = `~effect/Effect`;
1934
1934
  /** @internal */
@@ -2192,7 +2192,7 @@ const exitSucceed = /*#__PURE__*/ makeExit({
2192
2192
  /** @internal */
2193
2193
  const StackTraceKey = { key: "effect/Cause/StackTrace" };
2194
2194
  /** @internal */
2195
- const InterruptorStackTrace$1 = { key: "effect/Cause/InterruptorStackTrace" };
2195
+ const InterruptorStackTrace = { key: "effect/Cause/InterruptorStackTrace" };
2196
2196
  /** @internal */
2197
2197
  const exitFailCause = /*#__PURE__*/ makeExit({
2198
2198
  op: "Failure",
@@ -2263,9 +2263,8 @@ const TaggedError$1 = (tag) => {
2263
2263
  Base.prototype.name = tag;
2264
2264
  return Base;
2265
2265
  };
2266
- TaggedError$1("NoSuchElementError");
2267
2266
  //#endregion
2268
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Effectable.js
2267
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Effectable.js
2269
2268
  /**
2270
2269
  * Create a low-level `Effect` prototype.
2271
2270
  *
@@ -2290,7 +2289,7 @@ const Prototype = (options) => makePrimitiveProto({
2290
2289
  [evaluate]: options.evaluate
2291
2290
  });
2292
2291
  //#endregion
2293
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Equivalence.js
2292
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Equivalence.js
2294
2293
  /**
2295
2294
  * Creates a custom equivalence relation with an optimized reference equality check.
2296
2295
  *
@@ -2341,7 +2340,7 @@ const Prototype = (options) => makePrimitiveProto({
2341
2340
  */
2342
2341
  const make$14 = (isEquivalent) => (self, that) => self === that || isEquivalent(self, that);
2343
2342
  //#endregion
2344
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/option.js
2343
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/option.js
2345
2344
  /**
2346
2345
  * @since 2.0.0
2347
2346
  */
@@ -2412,7 +2411,7 @@ SomeImpl.prototype = SomeProto;
2412
2411
  /** @internal */
2413
2412
  const some$2 = (value) => new SomeImpl(value);
2414
2413
  //#endregion
2415
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/result.js
2414
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/result.js
2416
2415
  const TypeId$11 = "~effect/Result";
2417
2416
  const CommonProto = {
2418
2417
  [TypeId$11]: {
@@ -2488,7 +2487,7 @@ const succeed$5 = (success) => new SuccessImpl(success);
2488
2487
  /** @internal */
2489
2488
  const fromOption$1 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fail$5(onNone()) : succeed$5(self.value));
2490
2489
  //#endregion
2491
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Option.js
2490
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Option.js
2492
2491
  /**
2493
2492
  * Creates an `Option` representing the absence of a value.
2494
2493
  *
@@ -3058,7 +3057,7 @@ const gen$2 = (...args) => {
3058
3057
  return some$1(state.value);
3059
3058
  };
3060
3059
  //#endregion
3061
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Context.js
3060
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Context.js
3062
3061
  /**
3063
3062
  * Runtime type identifier attached to `Context` service keys and used by
3064
3063
  * `isKey` to recognize them.
@@ -3509,7 +3508,7 @@ const serviceNotFoundError = (service) => {
3509
3508
  */
3510
3509
  const Reference = Service;
3511
3510
  //#endregion
3512
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Duration.js
3511
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Duration.js
3513
3512
  const TypeId$9 = "~effect/Duration";
3514
3513
  const bigint0$1 = /*#__PURE__*/ BigInt(0);
3515
3514
  const bigint1$1 = /*#__PURE__*/ BigInt(1);
@@ -3953,14 +3952,14 @@ const Equivalence$2 = (self, that) => matchPair(self, that, {
3953
3952
  */
3954
3953
  const equals$1 = /*#__PURE__*/ dual(2, (self, that) => Equivalence$2(self, that));
3955
3954
  //#endregion
3956
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/array.js
3955
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/array.js
3957
3956
  /**
3958
3957
  * @since 2.0.0
3959
3958
  */
3960
3959
  /** @internal */
3961
3960
  const isArrayNonEmpty$1 = (self) => self.length > 0;
3962
3961
  //#endregion
3963
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/count.js
3962
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/count.js
3964
3963
  /**
3965
3964
  * Normalizes a collection count to a non-negative integer. `NaN` and
3966
3965
  * non-positive values become `0`; positive infinity is preserved.
@@ -3969,7 +3968,7 @@ const isArrayNonEmpty$1 = (self) => self.length > 0;
3969
3968
  */
3970
3969
  const normalize$1 = (n) => n > 0 ? Math.floor(n) : 0;
3971
3970
  //#endregion
3972
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Result.js
3971
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Result.js
3973
3972
  /**
3974
3973
  * Creates a `Result` holding a `Success` value.
3975
3974
  *
@@ -4111,7 +4110,7 @@ const fromOption = fromOption$1;
4111
4110
  */
4112
4111
  const isSuccess$1 = isSuccess$2;
4113
4112
  //#endregion
4114
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Tuple.js
4113
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Tuple.js
4115
4114
  /**
4116
4115
  * Creates a tuple from the provided arguments.
4117
4116
  *
@@ -4140,7 +4139,7 @@ const isSuccess$1 = isSuccess$2;
4140
4139
  */
4141
4140
  const make$10 = (...elements) => elements;
4142
4141
  //#endregion
4143
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Iterable.js
4142
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Iterable.js
4144
4143
  /**
4145
4144
  * Returns the first element that satisfies the specified
4146
4145
  * predicate, or `None` if no such element exists.
@@ -4193,7 +4192,7 @@ const findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
4193
4192
  return none();
4194
4193
  });
4195
4194
  //#endregion
4196
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Record.js
4195
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Record.js
4197
4196
  /**
4198
4197
  * Creates a new, empty record.
4199
4198
  *
@@ -4331,7 +4330,7 @@ const union$1 = /*#__PURE__*/ dual(3, (self, that, combine) => {
4331
4330
  return out;
4332
4331
  });
4333
4332
  //#endregion
4334
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Array.js
4333
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Array.js
4335
4334
  /**
4336
4335
  * Works with JavaScript arrays, readonly arrays, and non-empty arrays.
4337
4336
  *
@@ -5275,7 +5274,7 @@ const some = /*#__PURE__*/ dual(2, (self, predicate) => self.some(predicate));
5275
5274
  */
5276
5275
  const join = /*#__PURE__*/ dual(2, (self, sep) => fromIterable$1(self).join(sep));
5277
5276
  //#endregion
5278
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Scheduler.js
5277
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Scheduler.js
5279
5278
  /**
5280
5279
  * Controls how runnable Effect fiber tasks are dispatched.
5281
5280
  *
@@ -5543,20 +5542,8 @@ const PreventSchedulerYield = /*#__PURE__*/ Reference("effect/Scheduler/PreventS
5543
5542
  * @since 2.0.0
5544
5543
  */
5545
5544
  const TaggedError = TaggedError$1;
5546
- TaggedError("EncodingError");
5547
5545
  //#endregion
5548
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Tracer.js
5549
- /**
5550
- * Defines the low-level tracing model used by Effect.
5551
- *
5552
- * A span records the lifetime of an operation, including its name, parent,
5553
- * attributes, links, annotations, sampling decision, kind, and completion
5554
- * status. The module also defines the tracer service, parent-span context,
5555
- * external span support, trace propagation settings, and the default in-memory
5556
- * span implementation.
5557
- *
5558
- * @since 2.0.0
5559
- */
5546
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Tracer.js
5560
5547
  /**
5561
5548
  * Defines the string key for the parent-span context service.
5562
5549
  *
@@ -5578,7 +5565,6 @@ TaggedError("EncodingError");
5578
5565
  * @since 4.0.0
5579
5566
  */
5580
5567
  const ParentSpanKey = "effect/Tracer/ParentSpan";
5581
- Service()(ParentSpanKey, { fiberCached: true });
5582
5568
  /**
5583
5569
  * Defines the string key for the active tracer context reference.
5584
5570
  *
@@ -5592,11 +5578,11 @@ Service()(ParentSpanKey, { fiberCached: true });
5592
5578
  */
5593
5579
  const TracerKey = "effect/Tracer";
5594
5580
  //#endregion
5595
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/metric.js
5581
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/metric.js
5596
5582
  /** @internal */
5597
5583
  const FiberRuntimeMetricsKey = "effect/Metric/FiberRuntimeMetrics";
5598
5584
  //#endregion
5599
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/references.js
5585
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/references.js
5600
5586
  /** @internal */
5601
5587
  const CurrentStackFrame = /*#__PURE__*/ Reference("effect/References/CurrentStackFrame", {
5602
5588
  fiberCached: true,
@@ -5618,7 +5604,7 @@ const MinimumLogLevel = /*#__PURE__*/ Reference("effect/References/MinimumLogLev
5618
5604
  defaultValue: () => "Info"
5619
5605
  });
5620
5606
  //#endregion
5621
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/effect.js
5607
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/effect.js
5622
5608
  /** @internal */
5623
5609
  var Interrupt = class extends ReasonBase {
5624
5610
  constructor(fiberId, annotations = constEmptyAnnotations) {
@@ -5913,7 +5899,7 @@ const fiberMiddleware = { interruptChildren: void 0 };
5913
5899
  const fiberStackAnnotations = (fiber) => {
5914
5900
  if (!fiber.cache.stackFrame) return void 0;
5915
5901
  const annotations = /* @__PURE__ */ new Map();
5916
- annotations.set(InterruptorStackTrace$1.key, fiber.cache.stackFrame);
5902
+ annotations.set(InterruptorStackTrace.key, fiber.cache.stackFrame);
5917
5903
  return makeUnsafe$3(annotations);
5918
5904
  };
5919
5905
  /** @internal */
@@ -6506,13 +6492,10 @@ const runSyncWith = (context) => {
6506
6492
  };
6507
6493
  /** @internal */
6508
6494
  const runSync$2 = /*#__PURE__*/ runSyncWith(/*#__PURE__*/ empty$2());
6509
- TaggedError$1("TimeoutError");
6510
- TaggedError$1("IllegalArgumentError");
6511
- TaggedError$1("ExceededCapacityError");
6512
6495
  /** @internal */
6513
6496
  const AsyncFiberErrorTypeId = "~effect/Cause/AsyncFiberError";
6514
6497
  /** @internal */
6515
- var AsyncFiberError = class extends TaggedError$1("AsyncFiberError") {
6498
+ var AsyncFiberError = class extends (/*#__PURE__*/ TaggedError$1("AsyncFiberError")) {
6516
6499
  [AsyncFiberErrorTypeId] = AsyncFiberErrorTypeId;
6517
6500
  constructor(fiber) {
6518
6501
  super({
@@ -6521,7 +6504,6 @@ var AsyncFiberError = class extends TaggedError$1("AsyncFiberError") {
6521
6504
  });
6522
6505
  }
6523
6506
  };
6524
- TaggedError$1("UnknownError");
6525
6507
  const colors = {
6526
6508
  bold: "1",
6527
6509
  red: "31",
@@ -6536,7 +6518,7 @@ const colors = {
6536
6518
  };
6537
6519
  colors.gray, colors.blue, colors.green, colors.yellow, colors.red, colors.bgBrightRed, colors.black;
6538
6520
  //#endregion
6539
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Exit.js
6521
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Exit.js
6540
6522
  /**
6541
6523
  * Creates a successful Exit containing the given value.
6542
6524
  *
@@ -6651,18 +6633,7 @@ const void_$1 = exitVoid;
6651
6633
  */
6652
6634
  const isSuccess = exitIsSuccess;
6653
6635
  //#endregion
6654
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Cause.js
6655
- /**
6656
- * Records the full reason an `Effect` failed.
6657
- *
6658
- * A `Cause<E>` can contain typed failures, unexpected defects, interruptions,
6659
- * and annotations. Keeping those details together lets code inspect or format
6660
- * failures without first collapsing them to a single error value. This module
6661
- * includes the `Cause` and `Reason` data types, helpers for building and
6662
- * checking causes, and small error types used by several Effect APIs.
6663
- *
6664
- * @since 2.0.0
6665
- */
6636
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Cause.js
6666
6637
  /**
6667
6638
  * Narrows a `Reason` to `Fail`.
6668
6639
  *
@@ -6721,10 +6692,8 @@ const isFailReason = isFailReason$1;
6721
6692
  * @since 2.0.0
6722
6693
  */
6723
6694
  const map$1 = causeMap;
6724
- Service()("effect/Cause/StackTrace");
6725
- Service()("effect/Cause/InterruptorStackTrace");
6726
6695
  //#endregion
6727
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/dateTime.js
6696
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/dateTime.js
6728
6697
  /** @internal */
6729
6698
  const TypeId$8 = "~effect/DateTime";
6730
6699
  /** @internal */
@@ -6754,7 +6723,7 @@ const ProtoTimeZone = {
6754
6723
  /** @internal */
6755
6724
  const toDateUtc$1 = (self) => new Date(self.epochMilliseconds);
6756
6725
  //#endregion
6757
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Effect.js
6726
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Effect.js
6758
6727
  /**
6759
6728
  * Executes an effectful operation for each element in an `Iterable`.
6760
6729
  *
@@ -7525,7 +7494,6 @@ const runSync$1 = runSync$2;
7525
7494
  * @since 2.0.0
7526
7495
  */
7527
7496
  const runSyncExit = runSyncExit$1;
7528
- Service()("effect/Effect/Transaction");
7529
7497
  /**
7530
7498
  * Applies `map` eagerly when an effect is already resolved.
7531
7499
  *
@@ -7624,7 +7592,7 @@ const flatMapEager = flatMapEager$1;
7624
7592
  */
7625
7593
  const fnUntracedEager = fnUntracedEager$1;
7626
7594
  //#endregion
7627
- //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.116/node_modules/effect-oxlint/dist/RuleContext.js
7595
+ //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.117/node_modules/effect-oxlint/dist/RuleContext.js
7628
7596
  const RuleContextBase = Service()("effect-oxlint/RuleContext");
7629
7597
  /**
7630
7598
  * The lint rule context, provided as an Effect service.
@@ -7657,7 +7625,7 @@ service(RuleContext).pipe(map((ctx) => ctx.sourceCode));
7657
7625
  service(RuleContext).pipe(map((ctx) => ctx.sourceCode.text));
7658
7626
  service(RuleContext).pipe(map((ctx) => ctx.sourceCode.ast));
7659
7627
  //#endregion
7660
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/BigDecimal.js
7628
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/BigDecimal.js
7661
7629
  /**
7662
7630
  * Decimal numbers and arithmetic for cases where JavaScript `number` rounding
7663
7631
  * is not precise enough. A `BigDecimal` stores digits as a `bigint` plus a
@@ -8056,9 +8024,8 @@ const isZero = (n) => n.value === bigint0;
8056
8024
  * @since 2.0.0
8057
8025
  */
8058
8026
  const isNegative = (n) => n.value < bigint0;
8059
- Service()("effect/DateTime/CurrentTimeZone");
8060
8027
  //#endregion
8061
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/annotations.js
8028
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/annotations.js
8062
8029
  /** @internal */
8063
8030
  function resolve$1(ast) {
8064
8031
  return ast.checks ? ast.checks[ast.checks.length - 1].annotations : ast.annotations;
@@ -8074,7 +8041,7 @@ const getExpected = /*#__PURE__*/ memoize((ast) => {
8074
8041
  return ast.getExpected(getExpected);
8075
8042
  });
8076
8043
  //#endregion
8077
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/parser.js
8044
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/parser.js
8078
8045
  /** @internal */
8079
8046
  const missing = /*#__PURE__*/ Symbol();
8080
8047
  /** @internal */
@@ -8088,7 +8055,7 @@ const toOption = (value) => value === missing ? none() : some$1(value);
8088
8055
  /** @internal */
8089
8056
  const fromOptionExit = (option) => option._tag === "None" ? missingExit : succeed(option.value);
8090
8057
  //#endregion
8091
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaIssue.js
8058
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaIssue.js
8092
8059
  /**
8093
8060
  * Describes problems found while decoding, encoding, or checking data with
8094
8061
  * schemas.
@@ -8569,7 +8536,7 @@ function findMessage(issue) {
8569
8536
  if (typeof message === "string") return message;
8570
8537
  }
8571
8538
  //#endregion
8572
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/cause.js
8539
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/cause.js
8573
8540
  /** @internal */
8574
8541
  function getSchemaIssue(cause) {
8575
8542
  let issue;
@@ -8580,7 +8547,7 @@ function getSchemaIssue(cause) {
8580
8547
  return issue;
8581
8548
  }
8582
8549
  //#endregion
8583
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaGetter.js
8550
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaGetter.js
8584
8551
  const makeGetter = (fields) => Object.assign(Object.create(Prototype$1), fields);
8585
8552
  /**
8586
8553
  * Creates a getter that applies a pure function to present values.
@@ -8685,7 +8652,7 @@ function Number$3() {
8685
8652
  return transform$1(globalThis.Number);
8686
8653
  }
8687
8654
  //#endregion
8688
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaTransformation.js
8655
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaTransformation.js
8689
8656
  /**
8690
8657
  * Constructs schema middleware from its decode and encode functions.
8691
8658
  *
@@ -8761,7 +8728,7 @@ const Transformation = class extends Class$1 {
8761
8728
  */
8762
8729
  const numberFromString = /*#__PURE__*/ new Transformation(/*#__PURE__*/ Number$3(), /*#__PURE__*/ String$3());
8763
8730
  //#endregion
8764
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/SchemaAST.js
8731
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/SchemaAST.js
8765
8732
  /**
8766
8733
  * Represents Effect schemas as runtime trees.
8767
8734
  *
@@ -10308,7 +10275,7 @@ function getConstructorDescriptor(ast) {
10308
10275
  return isFunction$3(getDescriptor) ? getDescriptor(ast.typeParameters) : void 0;
10309
10276
  }
10310
10277
  //#endregion
10311
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schema/interpreter.js
10278
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schema/interpreter.js
10312
10279
  const flatMapTransformation = (result, current, f) => result === sameExit ? f(current) : flatMapEager(result, f);
10313
10280
  function compileTransformation(transformation) {
10314
10281
  if (transformation._tag === "Middleware") return (result, current, options) => {
@@ -10517,12 +10484,11 @@ function runWithCompiler(compiler, ast) {
10517
10484
  }
10518
10485
  const normalCompiler = (ast) => resolve(ast).parser;
10519
10486
  //#endregion
10520
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/internal/schemaError.js
10487
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/internal/schemaError.js
10521
10488
  const SchemaErrorTypeId = "~effect/Schema/SchemaError";
10522
10489
  function isSchemaError$1(u) {
10523
10490
  return hasProperty(u, "~effect/Schema/SchemaError") && u["~effect/Schema/SchemaError"] === "~effect/Schema/SchemaError";
10524
10491
  }
10525
- TaggedError("CookiesError");
10526
10492
  ({ ...BaseProto });
10527
10493
  ({ ...BaseProto });
10528
10494
  ({ ...PipeInspectableProto });
@@ -10556,7 +10522,7 @@ TaggedError("CookiesError");
10556
10522
  * @category errors
10557
10523
  * @since 4.0.0
10558
10524
  */
10559
- var SchemaError = class extends TaggedError("SchemaError") {
10525
+ var SchemaError = class extends (/*#__PURE__*/ TaggedError("SchemaError")) {
10560
10526
  [SchemaErrorTypeId] = SchemaErrorTypeId;
10561
10527
  constructor(issue) {
10562
10528
  const stackTraceLimit = getStackTraceLimit();
@@ -10722,7 +10688,7 @@ globalThis.FormData;
10722
10688
  globalThis.URLSearchParams;
10723
10689
  globalThis.Uint8Array;
10724
10690
  //#endregion
10725
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/MutableRef.js
10691
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/MutableRef.js
10726
10692
  const TypeId = "~effect/MutableRef";
10727
10693
  const MutableRefProto = {
10728
10694
  [TypeId]: TypeId,
@@ -10772,7 +10738,7 @@ const make$2 = (value) => {
10772
10738
  return ref;
10773
10739
  };
10774
10740
  //#endregion
10775
- //#region ../../node_modules/.pnpm/effect@4.0.0-rc.116/node_modules/effect/dist/Ref.js
10741
+ //#region ../../node_modules/.pnpm/effect@4.0.0-rc.117/node_modules/effect/dist/Ref.js
10776
10742
  /**
10777
10743
  * Stores fiber-safe mutable state inside Effect programs.
10778
10744
  *
@@ -10915,7 +10881,7 @@ const update = /*#__PURE__*/ dual(2, (self, f) => sync(() => {
10915
10881
  self.ref.current = f(self.ref.current);
10916
10882
  }));
10917
10883
  //#endregion
10918
- //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.116/node_modules/effect-oxlint/dist/index.js
10884
+ //#region ../../node_modules/.pnpm/effect-oxlint@0.3.4_effect@4.0.0-rc.117/node_modules/effect-oxlint/dist/index.js
10919
10885
  var AST_exports = /* @__PURE__ */ __exportAll({
10920
10886
  calleeIdentifier: () => calleeIdentifier,
10921
10887
  calleeName: () => calleeName,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@foldkit/oxlint-plugin",
3
- "version": "0.15.0",
3
+ "version": "0.15.1-canary.c9c641bf8179",
4
4
  "description": "Oxlint rules for Foldkit applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -18,11 +18,11 @@
18
18
  "effect-oxlint": "^0.3.4"
19
19
  },
20
20
  "devDependencies": {
21
- "@types/node": "^26.4.0",
21
+ "@types/node": "26.4.0",
22
22
  "@typescript/native": "npm:typescript@^7.0.2",
23
- "effect": "4.0.0-rc.116",
23
+ "effect": "4.0.0-rc.117",
24
24
  "rimraf": "^6.1.3",
25
- "rolldown": "^1.2.6",
25
+ "rolldown": "^1.2.11",
26
26
  "typescript": "npm:@typescript/typescript6@^6.0.2",
27
27
  "vitest": "^4.1.11"
28
28
  },