@nlozgachev/pipelined 0.32.0 → 0.34.0

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/utils.mjs CHANGED
@@ -5,9 +5,10 @@ import {
5
5
  Rec,
6
6
  Str,
7
7
  Uniq
8
- } from "./chunk-EHQFUWZW.mjs";
9
- import "./chunk-TK5ZCGP2.mjs";
8
+ } from "./chunk-IJFFWBKW.mjs";
9
+ import "./chunk-DLBHVYII.mjs";
10
10
  import "./chunk-DBIC62UV.mjs";
11
+ import "./chunk-VWVPHDZO.mjs";
11
12
  export {
12
13
  Arr,
13
14
  Dict,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nlozgachev/pipelined",
3
- "version": "0.32.0",
3
+ "version": "0.34.0",
4
4
  "description": "Opinionated functional abstractions for TypeScript",
5
5
  "license": "BSD-3-Clause",
6
6
  "homepage": "https://pipelined.lozgachev.dev",
@@ -56,14 +56,14 @@
56
56
  "publish:npm": "pnpm build && npm publish --access public"
57
57
  },
58
58
  "devDependencies": {
59
- "@types/node": "25.5.0",
60
- "fast-check": "4.6.0",
61
- "@vitest/coverage-v8": "4.1.0",
62
- "dprint": "0.53.0",
63
- "oxlint": "1.56.0",
59
+ "@types/node": "25.9.1",
60
+ "@vitest/coverage-v8": "4.1.7",
61
+ "dprint": "0.54.0",
62
+ "fast-check": "4.8.0",
63
+ "oxlint": "1.66.0",
64
64
  "tsup": "8.5.1",
65
- "typescript": "5.9.3",
66
- "vitest": "4.1.0"
65
+ "typescript": "6.0.3",
66
+ "vitest": "4.1.7"
67
67
  },
68
- "packageManager": "pnpm@10.32.1+sha512.a706938f0e89ac1456b6563eab4edf1d1faf3368d1191fc5c59790e96dc918e4456ab2e67d613de1043d2e8c81f87303e6b40d4ffeca9df15ef1ad567348f2be"
68
+ "packageManager": "pnpm@11.2.2+sha512.36e6621fad506178936455e70247b8808ef4ec25797a9f437a93281a020484e2607f6a469a22e982987c3dbb8866e3071514ab10a4a1749e06edcd1ec118436f"
69
69
  }
@@ -1,30 +0,0 @@
1
- /**
2
- * A list that is guaranteed to have at least one element.
3
- * Useful for ensuring functions receive non-empty input and for
4
- * accumulating errors in Validation.
5
- *
6
- * @example
7
- * ```ts
8
- * const errors: NonEmptyList<string> = ["First error", "Second error"];
9
- *
10
- * // TypeScript ensures at least one element:
11
- * const invalid: NonEmptyList<string> = []; // Error!
12
- * ```
13
- */
14
- type NonEmptyList<A> = readonly [A, ...A[]];
15
- /**
16
- * Type guard that checks if an array is non-empty.
17
- *
18
- * @example
19
- * ```ts
20
- * const items: string[] = getItems();
21
- *
22
- * if (isNonEmptyList(items)) {
23
- * // TypeScript knows items has at least one element
24
- * const first = items[0]; // string, not string | undefined
25
- * }
26
- * ```
27
- */
28
- declare const isNonEmptyList: <A>(list: readonly A[]) => list is NonEmptyList<A>;
29
-
30
- export { type NonEmptyList as N, isNonEmptyList as i };
@@ -1,30 +0,0 @@
1
- /**
2
- * A list that is guaranteed to have at least one element.
3
- * Useful for ensuring functions receive non-empty input and for
4
- * accumulating errors in Validation.
5
- *
6
- * @example
7
- * ```ts
8
- * const errors: NonEmptyList<string> = ["First error", "Second error"];
9
- *
10
- * // TypeScript ensures at least one element:
11
- * const invalid: NonEmptyList<string> = []; // Error!
12
- * ```
13
- */
14
- type NonEmptyList<A> = readonly [A, ...A[]];
15
- /**
16
- * Type guard that checks if an array is non-empty.
17
- *
18
- * @example
19
- * ```ts
20
- * const items: string[] = getItems();
21
- *
22
- * if (isNonEmptyList(items)) {
23
- * // TypeScript knows items has at least one element
24
- * const first = items[0]; // string, not string | undefined
25
- * }
26
- * ```
27
- */
28
- declare const isNonEmptyList: <A>(list: readonly A[]) => list is NonEmptyList<A>;
29
-
30
- export { type NonEmptyList as N, isNonEmptyList as i };
@@ -1,10 +0,0 @@
1
- // src/Types/Brand.ts
2
- var Brand;
3
- ((Brand2) => {
4
- Brand2.wrap = () => (value) => value;
5
- Brand2.unwrap = (branded) => branded;
6
- })(Brand || (Brand = {}));
7
-
8
- export {
9
- Brand
10
- };