@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/oxlint.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/@oxlint+plugins@1.85.0/node_modules/@oxlint/plugins/index.d.ts
1
+ //#region ../../node_modules/.pnpm/@oxlint+plugins@1.88.0/node_modules/@oxlint/plugins/index.d.ts
2
2
  //#endregion
3
3
  //#region src-js/plugins/globals.d.ts
4
4
  /**
@@ -242,7 +242,7 @@ type Options = JsonValue[];
242
242
  */
243
243
  type RuleOptionsSchema = JSONSchema4 | JSONSchema4[] | false;
244
244
  //#endregion
245
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/is-any.d.ts
245
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-any.d.ts
246
246
  /**
247
247
  Returns a boolean for whether the given type is `any`.
248
248
 
@@ -273,7 +273,7 @@ const anyA = get(anyObject, 'a');
273
273
  */
274
274
  type IsAny<T> = 0 extends 1 & NoInfer<T> ? true : false;
275
275
  //#endregion
276
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/is-optional-key-of.d.ts
276
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-optional-key-of.d.ts
277
277
  /**
278
278
  Returns a boolean for whether the given key is an optional key of type.
279
279
 
@@ -316,7 +316,7 @@ type T5 = IsOptionalKeyOf<User | Admin, 'surname'>;
316
316
  */
317
317
  type IsOptionalKeyOf<Type extends object, Key extends keyof Type> = IsAny<Type | Key> extends true ? never : Key extends keyof Type ? Type extends Record<Key, Type[Key]> ? false : true : false;
318
318
  //#endregion
319
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/optional-keys-of.d.ts
319
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/optional-keys-of.d.ts
320
320
  /**
321
321
  Extract all optional keys from the given type.
322
322
 
@@ -354,7 +354,7 @@ type OptionalKeysOf<Type extends object> = Type extends unknown // For distribut
354
354
  ? (keyof { [Key in keyof Type as IsOptionalKeyOf<Type, Key> extends false ? never : Key]: never; }) & keyof Type // Intersect with `keyof Type` to ensure result of `OptionalKeysOf<Type>` is always assignable to `keyof Type`
355
355
  : never; // Should never happen
356
356
  //#endregion
357
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/required-keys-of.d.ts
357
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/required-keys-of.d.ts
358
358
  /**
359
359
  Extract all required keys from the given type.
360
360
 
@@ -388,7 +388,7 @@ const validator3 = createValidation<User>('luckyNumber', value => value > 0);
388
388
  type RequiredKeysOf<Type extends object> = Type extends unknown // For distributing `Type`
389
389
  ? Exclude<keyof Type, OptionalKeysOf<Type>> : never; // Should never happen
390
390
  //#endregion
391
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/is-never.d.ts
391
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-never.d.ts
392
392
  /**
393
393
  Returns a boolean for whether the given type is `never`.
394
394
 
@@ -444,7 +444,7 @@ type B = IsTrueFixed<never>;
444
444
  */
445
445
  type IsNever<T> = [T] extends [never] ? true : false;
446
446
  //#endregion
447
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/if.d.ts
447
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/if.d.ts
448
448
  /**
449
449
  An if-else-like type that resolves depending on whether the given `boolean` type is `true` or `false`.
450
450
 
@@ -539,7 +539,7 @@ type Works = IncludesWithoutIf<HundredZeroes, '1'>;
539
539
  */
540
540
  type If<Type extends boolean, IfBranch, ElseBranch> = IsNever<Type> extends true ? ElseBranch : Type extends true ? IfBranch : ElseBranch;
541
541
  //#endregion
542
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/internal/type.d.ts
542
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/type.d.ts
543
543
  /**
544
544
  An if-else-like type that resolves depending on whether the given type is `any` or `never`.
545
545
 
@@ -590,7 +590,7 @@ type IfNotAnyOrNever<T, Cases extends {
590
590
  ifNever?: unknown;
591
591
  }> = IsAny<T> extends true ? 'ifAny' extends keyof Cases ? Cases['ifAny'] : any : IsNever<T> extends true ? 'ifNever' extends keyof Cases ? Cases['ifNever'] : never : Cases['ifNot'];
592
592
  //#endregion
593
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/simplify.d.ts
593
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/simplify.d.ts
594
594
  /**
595
595
  Useful to flatten the type output to improve type hints shown in editors. And also to transform an interface into a type to aide with assignability.
596
596
 
@@ -651,7 +651,7 @@ fn(someInterface as Simplify<SomeInterface>); // Good: transform an `interface`
651
651
  */
652
652
  type Simplify<T> = { [KeyType in keyof T]: T[KeyType]; } & {};
653
653
  //#endregion
654
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/is-equal.d.ts
654
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/is-equal.d.ts
655
655
  /**
656
656
  Returns a boolean for whether the two given types are equal.
657
657
 
@@ -682,7 +682,7 @@ type IsEqual<A, B> = [A] extends [B] ? [B] extends [A] ? _IsEqual<A, B> : false
682
682
  // This version fails the `equalWrappedTupleIntersectionToBeNeverAndNeverExpanded` test in `test-d/is-equal.ts`.
683
683
  type _IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
684
684
  //#endregion
685
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/omit-index-signature.d.ts
685
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/omit-index-signature.d.ts
686
686
  /**
687
687
  Omit any index signatures from the given object type, leaving only explicitly defined properties.
688
688
 
@@ -776,7 +776,7 @@ type ExampleWithoutIndexSignatures = OmitIndexSignature<Example>;
776
776
  */
777
777
  type OmitIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? never : KeyType]: ObjectType[KeyType]; };
778
778
  //#endregion
779
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/pick-index-signature.d.ts
779
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/pick-index-signature.d.ts
780
780
  /**
781
781
  Pick only index signatures from the given object type, leaving out all explicitly defined properties.
782
782
 
@@ -824,7 +824,7 @@ type ExampleIndexSignature = PickIndexSignature<Example>;
824
824
  */
825
825
  type PickIndexSignature<ObjectType> = { [KeyType in keyof ObjectType as {} extends Record<KeyType, unknown> ? KeyType : never]: ObjectType[KeyType]; };
826
826
  //#endregion
827
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/merge.d.ts
827
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/merge.d.ts
828
828
  // Merges two objects without worrying about index signatures.
829
829
  type SimpleMerge<Destination, Source> = Simplify<{ [Key in keyof Destination as Key extends keyof Source ? never : Key]: Destination[Key]; } & Source>;
830
830
  /**
@@ -895,7 +895,7 @@ type Merge<Destination, Source> = Destination extends unknown // For distributin
895
895
  : never; // Should never happen
896
896
  type _Merge<Destination, Source> = Simplify<SimpleMerge<PickIndexSignature<Destination>, PickIndexSignature<Source>> & SimpleMerge<OmitIndexSignature<Destination>, OmitIndexSignature<Source>>>;
897
897
  //#endregion
898
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/internal/object.d.ts
898
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/internal/object.d.ts
899
899
  /**
900
900
  Merges user specified options with default options.
901
901
 
@@ -952,7 +952,7 @@ type ApplyDefaultOptions<Options extends object, Defaults extends Simplify<Omit<
952
952
  ) ? Result : never;
953
953
  type _ApplyDefaultOptions<Options, Defaults, SpecifiedOptions> = If<IsAny<SpecifiedOptions>, Defaults, If<IsNever<SpecifiedOptions>, Defaults, Merge<Defaults, { [Key in keyof SpecifiedOptions as undefined extends Required<Options>[Key & keyof Options] ? Key : undefined extends SpecifiedOptions[Key] ? never : Key]: SpecifiedOptions[Key]; }>>>;
954
954
  //#endregion
955
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/except.d.ts
955
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/except.d.ts
956
956
  /**
957
957
  Filter out keys from an object.
958
958
 
@@ -1052,7 +1052,7 @@ type PostPayloadFixed = Except<UserData, 'email'>;
1052
1052
  type Except<ObjectType, KeysType extends keyof ObjectType, Options extends ExceptOptions = {}> = _Except<ObjectType, KeysType, ApplyDefaultOptions<ExceptOptions, DefaultExceptOptions, Options>>;
1053
1053
  type _Except<ObjectType, KeysType extends keyof ObjectType, Options extends Required<ExceptOptions>> = { [KeyType in keyof ObjectType as Filter<KeyType, KeysType>]: ObjectType[KeyType]; } & (Options['requireExactProps'] extends true ? Partial<Record<KeysType, never>> : {});
1054
1054
  //#endregion
1055
- //#region ../../node_modules/.pnpm/type-fest@5.9.0/node_modules/type-fest/source/require-at-least-one.d.ts
1055
+ //#region ../../node_modules/.pnpm/type-fest@5.10.0/node_modules/type-fest/source/require-at-least-one.d.ts
1056
1056
  /**
1057
1057
  Create a type that requires at least one of the given keys, while keeping the remaining keys as is.
1058
1058
 
package/dist/oxlint.js CHANGED
@@ -1,5 +1,5 @@
1
- import { $ as values, An as NodeInspectSymbol, Bn as symbol, C as filterMap, Cr as pipe, Ct as none, D as flatMap$1, Er as pipeArguments, Et as zipWith, F as isArrayNonEmpty, Gn as optimize, Hn as combine, J as take, K as some$1, M as getSomes, N as head, O as flatten, P as isArrayEmpty, Q as remove, R as join, Rn as byReferenceUnsafe, S as filter$1, St as match$1, T as findFirstIndex, Tt as some, U as of, Un as hash, V as map$1, W as prepend, Wn as number, X as get$2, Xn as hasProperty, Y as fromEntries, Yn as symbol$1, Zn as isBoolean, _ as dedupe, a as includes, ar as isNumber, b as ensure, c as startsWith, ct as contains, dt as firstSomeOf, f as TaggedError, ft as flatMap, g as contains$1, gt as getOrElse, h as appendAll, ht as fromUndefinedOr, i as Order, ir as isNullish$1, j as get$1, k as forEach, l as trim, lr as isReadonlyObject, lt as exists, m as append, mt as fromNullishOr, n as make$2, nr as isNotNullish, o as match, pt as flatten$1, q as sort, qn as string, r as update, s as split, st as all, t as get$3, tr as isNotNull, tt as fromOption, ur as isString, ut as filter, v as dropRight, w as findFirst, wt as orElse, x as every, xt as map, y as empty, yr as dual, yt as isSome, z as last, zn as equals } from "./MutableRef-WrqsqeER.mjs";
2
- //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/graph.js
1
+ import { $ as values, $n as symbol$1, C as filterMap, D as flatMap$1, Dt as orElse, Et as none, F as isArrayNonEmpty, Gn as combine, Hn as equals, J as take, Jn as optimize, K as some$1, Kn as hash, M as getSomes, N as head, Nn as NodeInspectSymbol, O as flatten, Or as pipe, Ot as some, P as isArrayEmpty, Q as remove, R as join, S as filter$1, St as isSome, T as findFirstIndex, Tt as match$1, U as of, Un as symbol, V as map$1, Vn as byReferenceUnsafe, W as prepend, X as get$2, Xn as string, Y as fromEntries, _ as dedupe, _t as fromNullishOr, a as includes, b as ensure, c as startsWith, dt as contains, er as hasProperty, f as TaggedError, ft as exists, g as contains$1, gt as flatten$1, h as appendAll, hr as isString, ht as flatMap, i as Order, j as get$1, jr as pipeArguments, k as forEach, kt as zipWith, l as trim, lr as isNullish$1, m as append, mr as isReadonlyObject, mt as firstSomeOf, n as make$2, nr as isBoolean, nt as fromOption, o as match, or as isNotNull, pt as filter, q as sort, qn as number, r as update, s as split, sr as isNotNullish, t as get$3, ur as isNumber, ut as all, v as dropRight, vt as fromUndefinedOr, w as findFirst, wr as dual, wt as map, x as every, y as empty, yt as getOrElse, z as last } from "./MutableRef-KfyWrSvW.mjs";
2
+ //#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/graph.js
3
3
  /** @internal */
4
4
  const TypeId = "~effect/Graph";
5
5
  /** @internal */
@@ -94,7 +94,7 @@ const finalize = (source) => {
94
94
  return graph;
95
95
  };
96
96
  //#endregion
97
- //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/internal/graphCsr.js
97
+ //#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/internal/graphCsr.js
98
98
  const cache = /*#__PURE__*/ new WeakMap();
99
99
  const makeAdjacency = (csr, incoming) => {
100
100
  const impl = toImpl(csr.graph);
@@ -168,7 +168,7 @@ const get = (graph) => {
168
168
  return result;
169
169
  };
170
170
  //#endregion
171
- //#region ../../node_modules/.pnpm/effect@4.0.2/node_modules/effect/dist/Graph.js
171
+ //#region ../../node_modules/.pnpm/effect@4.0.4/node_modules/effect/dist/Graph.js
172
172
  /**
173
173
  * Models relationships between indexed nodes and edges.
174
174
  *
@@ -556,7 +556,7 @@ const stronglyConnectedComponents = (graph) => {
556
556
  return components;
557
557
  };
558
558
  //#endregion
559
- //#region ../../node_modules/.pnpm/@oxlint+plugins@1.85.0/node_modules/@oxlint/plugins/index.js
559
+ //#region ../../node_modules/.pnpm/@oxlint+plugins@1.88.0/node_modules/@oxlint/plugins/index.js
560
560
  /**
561
561
  * Define a plugin.
562
562
  *
@@ -621,7 +621,7 @@ Object.freeze({
621
621
  }
622
622
  });
623
623
  //#endregion
624
- //#region ../../node_modules/.pnpm/oxlint@1.85.0_oxlint-tsgolint@7.0.2003_vite-plus@1.1.0_@opentelemetry+api@1.9.1_@types+_c30b8dfc9051ebd88892fbc3e3eeab1a/node_modules/oxlint/dist/index.js
624
+ //#region ../../node_modules/.pnpm/oxlint@1.88.0_oxlint-tsgolint@7.0.2004_vite-plus@1.2.0_@opentelemetry+api@1.9.1_@types+_05cbd3a08eae06c0731a5b89848c76f6/node_modules/oxlint/dist/index.js
625
625
  /**
626
626
  * Define an Oxlint configuration with type inference.
627
627
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deslop/coding-standards",
3
- "version": "0.1.1068",
3
+ "version": "0.1.1069",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/MP281X/deslop",
@@ -33,12 +33,12 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@shadcn/lint": "^0.2.1",
36
- "oxlint-plugin-react-doctor": "^0.9.17"
36
+ "oxlint-plugin-react-doctor": "^0.9.18"
37
37
  },
38
38
  "devDependencies": {
39
- "@oxlint/plugins": "1.85.0",
40
- "oxlint": "1.85.0",
41
- "oxlint-tsgolint": "7.0.2003"
39
+ "@oxlint/plugins": "1.88.0",
40
+ "oxlint": "1.88.0",
41
+ "oxlint-tsgolint": "7.0.2004"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@effect/tsgo": ">=0.46",