@deslop/coding-standards 0.1.1068 → 0.1.1069
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/dist/{MutableRef-WrqsqeER.mjs → MutableRef-KfyWrSvW.mjs} +139 -32
- package/dist/install.js +893 -436
- package/dist/oxlint.d.ts +16 -16
- package/dist/oxlint.js +6 -6
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
1
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Pipeable.js
|
|
2
2
|
/**
|
|
3
3
|
* The `Pipeable` module defines the shared interface and implementation helpers
|
|
4
4
|
* for values that support Effect-style method chaining with `.pipe(...)`.
|
|
@@ -104,7 +104,7 @@ const Class$1 = /*#__PURE__*/ function() {
|
|
|
104
104
|
return PipeableBase;
|
|
105
105
|
}();
|
|
106
106
|
//#endregion
|
|
107
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
107
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Function.js
|
|
108
108
|
/**
|
|
109
109
|
* Creates a function that can be called in data-first style or data-last
|
|
110
110
|
* (`pipe`-friendly) style.
|
|
@@ -399,7 +399,7 @@ function memoizeIdempotent(f) {
|
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
401
|
//#endregion
|
|
402
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
402
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/equal.js
|
|
403
403
|
/** @internal */
|
|
404
404
|
const getAllObjectKeys = (obj) => {
|
|
405
405
|
const keys = new Set(Reflect.ownKeys(obj));
|
|
@@ -420,7 +420,7 @@ const byReferenceInstances = /*#__PURE__*/ new WeakSet();
|
|
|
420
420
|
/** @internal */
|
|
421
421
|
const viewBytes = (view) => new Uint8Array(view.buffer, view.byteOffset, view.byteLength);
|
|
422
422
|
//#endregion
|
|
423
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
423
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/hash.js
|
|
424
424
|
/**
|
|
425
425
|
* Back-edge count used to avoid caching entry-point-dependent hashes.
|
|
426
426
|
*
|
|
@@ -432,7 +432,7 @@ const addBackEdge = () => {
|
|
|
432
432
|
backEdges++;
|
|
433
433
|
};
|
|
434
434
|
//#endregion
|
|
435
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
435
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Predicate.js
|
|
436
436
|
/**
|
|
437
437
|
* Defines runtime checks for values.
|
|
438
438
|
*
|
|
@@ -546,6 +546,38 @@ function isBoolean(input) {
|
|
|
546
546
|
return typeof input === "boolean";
|
|
547
547
|
}
|
|
548
548
|
/**
|
|
549
|
+
* Checks whether a value is a `bigint`.
|
|
550
|
+
*
|
|
551
|
+
* **When to use**
|
|
552
|
+
*
|
|
553
|
+
* Use when you need a `Predicate` guard to narrow an `unknown` value to a
|
|
554
|
+
* bigint.
|
|
555
|
+
*
|
|
556
|
+
* **Details**
|
|
557
|
+
*
|
|
558
|
+
* Uses `typeof input === "bigint"`.
|
|
559
|
+
*
|
|
560
|
+
* **Example** (Guarding bigints)
|
|
561
|
+
*
|
|
562
|
+
* ```ts import.meta.vitest
|
|
563
|
+
* import { Predicate } from "effect"
|
|
564
|
+
*
|
|
565
|
+
* const data: unknown = 1n
|
|
566
|
+
*
|
|
567
|
+
* if (Predicate.isBigInt(data)) {
|
|
568
|
+
* data + 2n // => 3n
|
|
569
|
+
* }
|
|
570
|
+
* ```
|
|
571
|
+
*
|
|
572
|
+
* @see {@link isNumber}
|
|
573
|
+
* @stability stable
|
|
574
|
+
* @category guards
|
|
575
|
+
* @since 2.0.0
|
|
576
|
+
*/
|
|
577
|
+
function isBigInt(input) {
|
|
578
|
+
return typeof input === "bigint";
|
|
579
|
+
}
|
|
580
|
+
/**
|
|
549
581
|
* Checks whether a value is a `symbol`.
|
|
550
582
|
*
|
|
551
583
|
* **When to use**
|
|
@@ -1035,7 +1067,7 @@ function isIterable(input) {
|
|
|
1035
1067
|
return hasProperty(input, Symbol.iterator) || isString(input);
|
|
1036
1068
|
}
|
|
1037
1069
|
//#endregion
|
|
1038
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
1070
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Hash.js
|
|
1039
1071
|
/**
|
|
1040
1072
|
* Computes Effect hash values and defines the interface for objects that want
|
|
1041
1073
|
* to provide their own hash implementation. Hashes are small numeric
|
|
@@ -1431,7 +1463,7 @@ const randomHashCache = /*#__PURE__*/ new WeakMap();
|
|
|
1431
1463
|
const hashCache = /*#__PURE__*/ new WeakMap();
|
|
1432
1464
|
const visitedObjects = /*#__PURE__*/ new WeakSet();
|
|
1433
1465
|
//#endregion
|
|
1434
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
1466
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Equal.js
|
|
1435
1467
|
/**
|
|
1436
1468
|
* Defines the unique string identifier for the `Equal` interface.
|
|
1437
1469
|
*
|
|
@@ -1696,7 +1728,7 @@ const byReferenceUnsafe = (obj) => {
|
|
|
1696
1728
|
return obj;
|
|
1697
1729
|
};
|
|
1698
1730
|
//#endregion
|
|
1699
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
1731
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Redactable.js
|
|
1700
1732
|
/**
|
|
1701
1733
|
* Defines the symbol used to identify objects that implement the {@link Redactable}
|
|
1702
1734
|
* protocol.
|
|
@@ -1819,7 +1851,7 @@ const emptyContext = {
|
|
|
1819
1851
|
}
|
|
1820
1852
|
};
|
|
1821
1853
|
//#endregion
|
|
1822
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
1854
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Formatter.js
|
|
1823
1855
|
/**
|
|
1824
1856
|
* Formats JavaScript values into readable strings.
|
|
1825
1857
|
*
|
|
@@ -2095,7 +2127,7 @@ function isJsonPrimitiveWrapper(object) {
|
|
|
2095
2127
|
return false;
|
|
2096
2128
|
}
|
|
2097
2129
|
//#endregion
|
|
2098
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2130
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Inspectable.js
|
|
2099
2131
|
/**
|
|
2100
2132
|
* Controls how values appear in logs and debugging output.
|
|
2101
2133
|
*
|
|
@@ -2249,7 +2281,7 @@ const BaseProto = {
|
|
|
2249
2281
|
}
|
|
2250
2282
|
};
|
|
2251
2283
|
//#endregion
|
|
2252
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2284
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/stackTraceLimit.js
|
|
2253
2285
|
/**
|
|
2254
2286
|
* Check if `Error.stackTraceLimit` is writable.
|
|
2255
2287
|
* Returns `false` if the property is frozen, non-writable, or `Error` is non-extensible.
|
|
@@ -2281,7 +2313,7 @@ const setStackTraceLimit = (value) => {
|
|
|
2281
2313
|
if (canWriteStackTraceLimit) Error.stackTraceLimit = value;
|
|
2282
2314
|
};
|
|
2283
2315
|
//#endregion
|
|
2284
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2316
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Utils.js
|
|
2285
2317
|
/**
|
|
2286
2318
|
* Yields its wrapped value exactly once, then completes with the value sent
|
|
2287
2319
|
* back in.
|
|
@@ -2354,12 +2386,17 @@ const pickInternalCall = () => {
|
|
|
2354
2386
|
return body();
|
|
2355
2387
|
} finally {}
|
|
2356
2388
|
} };
|
|
2357
|
-
|
|
2389
|
+
const limit = getStackTraceLimit();
|
|
2390
|
+
if (limit === 0) return forced[InternalTypeId];
|
|
2391
|
+
setStackTraceLimit(2);
|
|
2392
|
+
const error = standard[InternalTypeId](() => /* @__PURE__ */ new Error());
|
|
2393
|
+
setStackTraceLimit(limit);
|
|
2394
|
+
return error.stack?.includes(InternalTypeId) === true ? standard[InternalTypeId] : forced[InternalTypeId];
|
|
2358
2395
|
};
|
|
2359
2396
|
/** @internal */
|
|
2360
2397
|
const internalCall = /*#__PURE__*/ pickInternalCall();
|
|
2361
2398
|
//#endregion
|
|
2362
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2399
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/record.js
|
|
2363
2400
|
/** @internal */
|
|
2364
2401
|
function assignProperty(self, key, value) {
|
|
2365
2402
|
if (key === "__proto__") Object.defineProperty(self, key, {
|
|
@@ -2375,7 +2412,7 @@ function assignProperties(self, source) {
|
|
|
2375
2412
|
for (const key of Reflect.ownKeys(source)) if (Object.prototype.propertyIsEnumerable.call(source, key)) assignProperty(self, key, source[key]);
|
|
2376
2413
|
}
|
|
2377
2414
|
//#endregion
|
|
2378
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2415
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/core.js
|
|
2379
2416
|
/** @internal */
|
|
2380
2417
|
const EffectTypeId = `~effect/Effect`;
|
|
2381
2418
|
/** @internal */
|
|
@@ -2767,7 +2804,7 @@ const done = (value) => {
|
|
|
2767
2804
|
return exitFail(Done(value));
|
|
2768
2805
|
};
|
|
2769
2806
|
//#endregion
|
|
2770
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2807
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Equivalence.js
|
|
2771
2808
|
/**
|
|
2772
2809
|
* Creates a custom equivalence relation with an optimized reference equality check.
|
|
2773
2810
|
*
|
|
@@ -2944,7 +2981,7 @@ function Array_(item) {
|
|
|
2944
2981
|
});
|
|
2945
2982
|
}
|
|
2946
2983
|
//#endregion
|
|
2947
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
2984
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/option.js
|
|
2948
2985
|
/**
|
|
2949
2986
|
* @since 2.0.0
|
|
2950
2987
|
*/
|
|
@@ -3015,7 +3052,7 @@ SomeImpl.prototype = SomeProto;
|
|
|
3015
3052
|
/** @internal */
|
|
3016
3053
|
const some$2 = (value) => new SomeImpl(value);
|
|
3017
3054
|
//#endregion
|
|
3018
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
3055
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/result.js
|
|
3019
3056
|
const TypeId$1 = "~effect/Result";
|
|
3020
3057
|
const CommonProto = {
|
|
3021
3058
|
[TypeId$1]: {
|
|
@@ -3091,7 +3128,7 @@ const succeed$1 = (success) => new SuccessImpl(success);
|
|
|
3091
3128
|
/** @internal */
|
|
3092
3129
|
const fromOption$1 = /*#__PURE__*/ dual(2, (self, onNone) => isNone$1(self) ? fail$1(onNone()) : succeed$1(self.value));
|
|
3093
3130
|
//#endregion
|
|
3094
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
3131
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Order.js
|
|
3095
3132
|
/**
|
|
3096
3133
|
* Defines comparison functions for ordered values.
|
|
3097
3134
|
*
|
|
@@ -3432,7 +3469,7 @@ const isLessThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== 1);
|
|
|
3432
3469
|
*/
|
|
3433
3470
|
const isGreaterThanOrEqualTo = (O) => dual(2, (self, that) => O(self, that) !== -1);
|
|
3434
3471
|
//#endregion
|
|
3435
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
3472
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Option.js
|
|
3436
3473
|
/**
|
|
3437
3474
|
* Creates an `Option` representing the absence of a value.
|
|
3438
3475
|
*
|
|
@@ -3870,7 +3907,7 @@ const liftThrowable = (f) => (...a) => {
|
|
|
3870
3907
|
* @category mapping
|
|
3871
3908
|
* @since 2.0.0
|
|
3872
3909
|
*/
|
|
3873
|
-
const map$
|
|
3910
|
+
const map$3 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : some$1(f(self.value)));
|
|
3874
3911
|
/**
|
|
3875
3912
|
* Applies a function that returns an `Option` to the value of a `Some`,
|
|
3876
3913
|
* flattening the result. Returns `None` if the input is `None`.
|
|
@@ -3914,7 +3951,7 @@ const map$2 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : some$1(
|
|
|
3914
3951
|
* @category sequencing
|
|
3915
3952
|
* @since 2.0.0
|
|
3916
3953
|
*/
|
|
3917
|
-
const flatMap$
|
|
3954
|
+
const flatMap$2 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : f(self.value));
|
|
3918
3955
|
/**
|
|
3919
3956
|
* Flattens a nested `Option<Option<A>>` into `Option<A>`.
|
|
3920
3957
|
*
|
|
@@ -3943,7 +3980,7 @@ const flatMap$1 = /*#__PURE__*/ dual(2, (self, f) => isNone(self) ? none() : f(s
|
|
|
3943
3980
|
* @category sequencing
|
|
3944
3981
|
* @since 2.0.0
|
|
3945
3982
|
*/
|
|
3946
|
-
const flatten$1 = /*#__PURE__*/ flatMap$
|
|
3983
|
+
const flatten$1 = /*#__PURE__*/ flatMap$2(identity);
|
|
3947
3984
|
/**
|
|
3948
3985
|
* Combines two `Option`s into a `Some` containing a tuple `[A, B]` if both
|
|
3949
3986
|
* are `Some`.
|
|
@@ -4064,7 +4101,7 @@ const all = (input) => {
|
|
|
4064
4101
|
* @category zipping
|
|
4065
4102
|
* @since 2.0.0
|
|
4066
4103
|
*/
|
|
4067
|
-
const zipWith = /*#__PURE__*/ dual(3, (self, that, f) => map$
|
|
4104
|
+
const zipWith = /*#__PURE__*/ dual(3, (self, that, f) => map$3(product(self, that), ([a, b]) => f(a, b)));
|
|
4068
4105
|
/**
|
|
4069
4106
|
* Filters an `Option` using a predicate. Returns `None` if the predicate is
|
|
4070
4107
|
* not satisfied or the input is `None`.
|
|
@@ -4202,14 +4239,14 @@ const contains$1 = /*#__PURE__*/ containsWith$1(/*#__PURE__*/ asEquivalence());
|
|
|
4202
4239
|
*/
|
|
4203
4240
|
const exists = /*#__PURE__*/ dual(2, (self, refinement) => isNone(self) ? false : refinement(self.value));
|
|
4204
4241
|
//#endregion
|
|
4205
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4242
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/array.js
|
|
4206
4243
|
/**
|
|
4207
4244
|
* @since 2.0.0
|
|
4208
4245
|
*/
|
|
4209
4246
|
/** @internal */
|
|
4210
4247
|
const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
4211
4248
|
//#endregion
|
|
4212
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4249
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/count.js
|
|
4213
4250
|
/**
|
|
4214
4251
|
* Normalizes a collection count to a non-negative integer. `NaN` and
|
|
4215
4252
|
* non-positive values become `0`; positive infinity is preserved.
|
|
@@ -4218,7 +4255,7 @@ const isArrayNonEmpty$1 = (self) => self.length > 0;
|
|
|
4218
4255
|
*/
|
|
4219
4256
|
const normalize = (n) => n > 0 ? Math.floor(n) : 0;
|
|
4220
4257
|
//#endregion
|
|
4221
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4258
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Result.js
|
|
4222
4259
|
/**
|
|
4223
4260
|
* Creates a `Result` holding a `Success` value.
|
|
4224
4261
|
*
|
|
@@ -4368,6 +4405,40 @@ const isFailure = isFailure$1;
|
|
|
4368
4405
|
*/
|
|
4369
4406
|
const isSuccess = isSuccess$1;
|
|
4370
4407
|
/**
|
|
4408
|
+
* Transforms the success channel of a `Result`, leaving the failure channel unchanged.
|
|
4409
|
+
*
|
|
4410
|
+
* **When to use**
|
|
4411
|
+
*
|
|
4412
|
+
* Use to apply a transformation to the success value of a `Result` while
|
|
4413
|
+
* preserving any existing failure.
|
|
4414
|
+
*
|
|
4415
|
+
* **Details**
|
|
4416
|
+
*
|
|
4417
|
+
* - If the result is a `Success`, applies `f` to the value and returns a new `Success`
|
|
4418
|
+
* - If the result is a `Failure`, returns it as-is
|
|
4419
|
+
* - Use {@link flatMap} if `f` returns a `Result` (to avoid nested Results)
|
|
4420
|
+
*
|
|
4421
|
+
* **Example** (Doubling the success value)
|
|
4422
|
+
*
|
|
4423
|
+
* ```ts import.meta.vitest
|
|
4424
|
+
* import { pipe, Result } from "effect"
|
|
4425
|
+
*
|
|
4426
|
+
* pipe(
|
|
4427
|
+
* Result.succeed(3),
|
|
4428
|
+
* Result.map((n) => n * 2)
|
|
4429
|
+
* ) // => Result.succeed(6)
|
|
4430
|
+
* ```
|
|
4431
|
+
*
|
|
4432
|
+
* @see {@link mapError} to transform only the error value
|
|
4433
|
+
* @see {@link mapBoth} to transform both channels
|
|
4434
|
+
* @see {@link flatMap} when `f` returns a `Result`
|
|
4435
|
+
*
|
|
4436
|
+
* @stability stable
|
|
4437
|
+
* @category mapping
|
|
4438
|
+
* @since 2.0.0
|
|
4439
|
+
*/
|
|
4440
|
+
const map$2 = /*#__PURE__*/ dual(2, (self, f) => isSuccess(self) ? succeed(f(self.success)) : self);
|
|
4441
|
+
/**
|
|
4371
4442
|
* Folds a `Result` into a single value by applying one of two functions.
|
|
4372
4443
|
*
|
|
4373
4444
|
* **When to use**
|
|
@@ -4439,8 +4510,44 @@ const getOrThrow = /*#__PURE__*/ (/* @__PURE__ */ dual(2, (self, onFailure) => {
|
|
|
4439
4510
|
if (isSuccess(self)) return self.success;
|
|
4440
4511
|
throw onFailure(self.failure);
|
|
4441
4512
|
}))(identity);
|
|
4513
|
+
/**
|
|
4514
|
+
* Chains a function that returns a `Result` onto a successful value.
|
|
4515
|
+
*
|
|
4516
|
+
* **When to use**
|
|
4517
|
+
*
|
|
4518
|
+
* Use to sequence `Result`-returning computations that should short-circuit on
|
|
4519
|
+
* failure.
|
|
4520
|
+
*
|
|
4521
|
+
* **Details**
|
|
4522
|
+
*
|
|
4523
|
+
* - If `self` is a `Success`, applies `f` to the value and returns the resulting `Result`
|
|
4524
|
+
* - If `self` is a `Failure`, short-circuits and returns it unchanged
|
|
4525
|
+
* - The error types are merged into a union (`E | E2`)
|
|
4526
|
+
* - This is the monadic `bind` / `>>=` for `Result`
|
|
4527
|
+
*
|
|
4528
|
+
* **Example** (Validating sequentially)
|
|
4529
|
+
*
|
|
4530
|
+
* ```ts import.meta.vitest
|
|
4531
|
+
* import { pipe, Result } from "effect"
|
|
4532
|
+
*
|
|
4533
|
+
* pipe(
|
|
4534
|
+
* Result.succeed(5),
|
|
4535
|
+
* Result.flatMap((n) =>
|
|
4536
|
+
* n > 0 ? Result.succeed(n * 2) : Result.fail("not positive")
|
|
4537
|
+
* )
|
|
4538
|
+
* ) // => Result.succeed(10)
|
|
4539
|
+
* ```
|
|
4540
|
+
*
|
|
4541
|
+
* @see {@link andThen} for a more flexible variant that also accepts plain values
|
|
4542
|
+
* @see {@link map} when `f` does not return a `Result`
|
|
4543
|
+
*
|
|
4544
|
+
* @stability stable
|
|
4545
|
+
* @category sequencing
|
|
4546
|
+
* @since 2.0.0
|
|
4547
|
+
*/
|
|
4548
|
+
const flatMap$1 = /*#__PURE__*/ dual(2, (self, f) => isFailure(self) ? fail(self.failure) : f(self.success));
|
|
4442
4549
|
//#endregion
|
|
4443
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4550
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Iterable.js
|
|
4444
4551
|
/**
|
|
4445
4552
|
* Returns the first element that satisfies the specified
|
|
4446
4553
|
* predicate, or `None` if no such element exists.
|
|
@@ -4494,7 +4601,7 @@ const findFirst$1 = /*#__PURE__*/ dual(2, (self, f) => {
|
|
|
4494
4601
|
return none();
|
|
4495
4602
|
});
|
|
4496
4603
|
//#endregion
|
|
4497
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4604
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Record.js
|
|
4498
4605
|
/**
|
|
4499
4606
|
* Builds a record from an iterable of key-value pairs.
|
|
4500
4607
|
*
|
|
@@ -4662,7 +4769,7 @@ const keys = (self) => Object.keys(self);
|
|
|
4662
4769
|
*/
|
|
4663
4770
|
const values = (self) => collect(self, (_, a) => a);
|
|
4664
4771
|
//#endregion
|
|
4665
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
4772
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Array.js
|
|
4666
4773
|
/**
|
|
4667
4774
|
* Works with JavaScript arrays, readonly arrays, and non-empty arrays.
|
|
4668
4775
|
*
|
|
@@ -6050,7 +6157,7 @@ const startsWith = (searchString, position) => (self) => self.startsWith(searchS
|
|
|
6050
6157
|
*/
|
|
6051
6158
|
const match = (regExp) => (self) => fromNullOr(self.match(regExp));
|
|
6052
6159
|
//#endregion
|
|
6053
|
-
//#region ../../node_modules/.pnpm/effect@4.0.
|
|
6160
|
+
//#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/MutableRef.js
|
|
6054
6161
|
const TypeId = "~effect/MutableRef";
|
|
6055
6162
|
const MutableRefProto = {
|
|
6056
6163
|
[TypeId]: TypeId,
|
|
@@ -6251,4 +6358,4 @@ const set = /*#__PURE__*/ dual(2, (self, value) => {
|
|
|
6251
6358
|
*/
|
|
6252
6359
|
const update = /*#__PURE__*/ dual(2, (self, f) => set(self, f(get(self))));
|
|
6253
6360
|
//#endregion
|
|
6254
|
-
export { values as $,
|
|
6361
|
+
export { values as $, symbol$1 as $n, TaggedError$1 as $t, fromIterable as A, getStackTraceLimit as An, Prototype as Ar, BigInt as At, makeEquivalence as B, currentFiberTypeId as Bn, Tuple as Bt, filterMap as C, isFailReason as Cn, constant as Cr, liftThrowable as Ct, flatMap as D, withFiber as Dn, memoizeIdempotent as Dr, orElse as Dt, findLast as E, makePrimitiveProto as En, memoize as Er, none as Et, isArrayNonEmpty as F, format as Fn, isGreaterThanOrEqualTo as Ft, reduce as G, combine as Gn, Done as Gt, match$1 as H, equals as Hn, strictEqual as Ht, isCanonicalArrayIndex as I, formatDate as In, isLessThan as It, take as J, optimize as Jn, Fail as Jt, some as K, hash as Kn, Error$2 as Kt, isReadonlyArrayNonEmpty as L, formatJson as Ln, isLessThanOrEqualTo as Lt, getSomes as M, BaseProto as Mn, Number$1 as Mt, head as N, NodeInspectSymbol as Nn, String$2 as Nt, flatten as O, assignProperty as On, pipe as Or, some$1 as Ot, isArrayEmpty as P, toStringUnknown as Pn, isGreaterThan as Pt, remove as Q, structureKeys as Qn, StackTraceKey as Qt, join as R, formatPath as Rn, make$1 as Rt, filter as S, isExit as Sn, constVoid as Sr, isSome as St, findFirstIndex as T, makePrimitive as Tn, identity as Tr, match$3 as Tt, of as U, symbol as Un, CauseImpl as Ut, map as V, byReferenceUnsafe as Vn, make$2 as Vt, prepend as W, array as Wn, Die as Wt, get$2 as X, string as Xn, PipeInspectableProto as Xt, fromEntries as Y, random as Yn, InterruptorStackTrace as Yt, map$1 as Z, structure as Zn, ReasonBase as Zt, dedupe as _, exitSucceed as _n, isUndefined as _r, fromNullishOr as _t, includes as a, causeEmpty as an, isIterable as ar, isSuccess as at, ensure as b, isDone as bn, constTrue as br, getOrUndefined as bt, startsWith as c, constEmptyAnnotations as cn, isNotUndefined as cr, succeed as ct, Error$1 as d, contE as dn, isObject as dr, contains$1 as dt, Yield as en, hasProperty as er, fail as et, TaggedError as f, done as fn, isObjectKeyword as fr, exists as ft, contains as g, exitFailCause as gn, isTagged as gr, flatten$1 as gt, appendAll as h, exitFail as hn, isString as hr, flatMap$2 as ht, Order as i, causeDie as in, isFunction as ir, isFailure as it, get$1 as j, setStackTraceLimit as jn, pipeArguments as jr, Date$1 as jt, forEach as k, internalCall as kn, Class$1 as kr, zipWith as kt, trim as l, contA as ln, isNullish as lr, normalize as lt, append as m, exitDie as mn, isReadonlyObject as mr, firstSomeOf as mt, make as n, causeAnnotate as nn, isBoolean as nr, fromOption as nt, match as o, causeFail as on, isNotNull as or, map$2 as ot, taggedEnum as p, evaluate as pn, isPropertyKey as pr, filter$1 as pt, sort as q, number as qn, ExitTypeId as qt, update as r, causeCombine as rn, isError as rr, getOrThrow as rt, split as s, causeFromReasons as sn, isNotNullish as sr, match$2 as st, get as t, args as tn, isBigInt as tr, flatMap$1 as tt, trimEnd as u, contAll as un, isNumber as ur, all as ut, dropRight as v, isCause as vn, isUnknown as vr, fromUndefinedOr as vt, findFirst as w, isInterruptReason as wn, dual as wr, map$3 as wt, every as x, isEffect as xn, constUndefined as xr, isNone as xt, empty as y, isDieReason as yn, constFalse as yr, getOrElse as yt, last as z, formatPropertyKey as zn, mapInput as zt };
|