solid-ctrl-flow 1.0.42 → 1.0.43

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/index.d.ts CHANGED
@@ -75,7 +75,7 @@ export declare const Case: (props: {
75
75
 
76
76
  /**
77
77
  * Returns a {@link Signal} that applies the `??=` operator to the input one.
78
- * If the getter of {@link param0} is like "x", then the result one is like "(x ??= {@link f}())"
78
+ * If the getter of {@link param0} is like `x`, then the result one is like "(x ??= {@link f}())"
79
79
  * @param param0 The {@link Signal} to which to coalesce the getter
80
80
  * @param f An {@link Accessor} to the value to use when there's a nullish value
81
81
  */
@@ -97,8 +97,8 @@ export declare type Convert<S, D> = (x: S, prev: D) => D;
97
97
  * </div>
98
98
  * <div id="something-else">
99
99
  * <e.Source>
100
- * This text will be shown instead of "e.Dest".
101
- * If there weren't to be any "e.Joint" ancestor, then this text would have stayed here
100
+ * This text will be shown instead of `e.Dest`.
101
+ * If there weren't to be any `e.Joint` ancestor, then this text would have stayed here
102
102
  * </e.Source>
103
103
  * </div>
104
104
  * </e.Joint>
@@ -335,11 +335,11 @@ export declare const unwrap: <T extends object>(f: Accessor<T>) => T;
335
335
  * Calls {@link f} maintaining its reactivity at 2 levels.
336
336
  * Unlike the normal {@link unwrap}, this maintains reactivity on the elements of the array too, which means that it can be destructured
337
337
  * ```ts
338
- * const first = unwrap(f); // The value of "first" is reactive but CANNOT be destructured
339
- * const [ getFirst ] = first; // The value of "getFirst" is NOT reactive, it's the first element of the CURRENT signal returned by "f"
338
+ * const first = unwrap(f); // The value of `first` is reactive but CANNOT be destructured
339
+ * const [ getFirst ] = first; // The value of `getFirst()` is NOT reactive, it's the first element of the CURRENT signal returned by `f()`
340
340
  *
341
- * const second = unwrapSignal(f); // The value of "second" is reactive and CAN be destructured
342
- * const [ getSecond ] = second; // The value of "getSecond" IS reactive, it's a function that calls "f", gets the first element and calls that too
341
+ * const second = unwrapSignal(f); // The value of `second` is reactive and CAN be destructured
342
+ * const [ getSecond ] = second; // The value of `getSecond()` IS reactive, it's a function that calls `f()`, gets the first element and calls that too
343
343
  * ```
344
344
  * @param f An {@link Accessor} to a {@link Signal}
345
345
  */
package/dist/index.mjs CHANGED
@@ -131,7 +131,7 @@ var Slot;
131
131
  if (i >= list.length)
132
132
  return;
133
133
  const last = list.pop();
134
- if (i === list.length - 1)
134
+ if (i === list.length)
135
135
  return last;
136
136
  const out = list[i];
137
137
  out.slot = void 0;
package/dist/index.umd.js CHANGED
@@ -133,7 +133,7 @@
133
133
  if (i >= list.length)
134
134
  return;
135
135
  const last = list.pop();
136
- if (i === list.length - 1)
136
+ if (i === list.length)
137
137
  return last;
138
138
  const out = list[i];
139
139
  out.slot = void 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-ctrl-flow",
3
- "version": "1.0.42",
3
+ "version": "1.0.43",
4
4
  "description": "Control flow components for solid-js",
5
5
  "author": "AFatNiBBa",
6
6
  "license": "ISC",