@dbx-tools/shared-core 0.3.13 → 0.3.15
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/package.json +1 -1
- package/src/async.ts +2 -0
- package/src/brand.ts +2 -0
- package/src/error.ts +2 -0
- package/src/hash.ts +2 -0
- package/src/http.ts +2 -0
- package/src/log.ts +2 -0
- package/src/net.ts +2 -0
- package/src/object.ts +2 -0
- package/src/predicate.ts +2 -0
- package/src/string.ts +2 -0
- package/src/token.ts +2 -0
package/package.json
CHANGED
package/src/async.ts
CHANGED
package/src/brand.ts
CHANGED
package/src/error.ts
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* `err instanceof Error ? err.message : String(err)` dance into a single
|
|
4
4
|
* call, walk `cause` / `AggregateError` chains, and coerce any thrown
|
|
5
5
|
* value into a real `Error`. Dependency-free and browser-safe.
|
|
6
|
+
*
|
|
7
|
+
* @module
|
|
6
8
|
*/
|
|
7
9
|
|
|
8
10
|
import { tokenizeWithOptions } from "./string";
|
package/src/hash.ts
CHANGED
package/src/http.ts
CHANGED
package/src/log.ts
CHANGED
package/src/net.ts
CHANGED
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
* home for anything URL-, IP-, or email-shaped that also has to run in
|
|
11
11
|
* a Vite / Webpack / esbuild client bundle. Node-only network helpers
|
|
12
12
|
* (e.g. DNS resolution) belong in a node-tagged package, not here.
|
|
13
|
+
*
|
|
14
|
+
* @module
|
|
13
15
|
*/
|
|
14
16
|
|
|
15
17
|
import type { NonFunctionKeys } from "./object";
|
package/src/object.ts
CHANGED
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* Container}s (see {@link map}, {@link filter}, {@link group}, ...); the {@link
|
|
13
13
|
* Sequence} methods are thin forwarders over them so the same logic backs both
|
|
14
14
|
* the free-function and the fluent/chained styles.
|
|
15
|
+
*
|
|
16
|
+
* @module
|
|
15
17
|
*/
|
|
16
18
|
|
|
17
19
|
/** Lazy sequence over iterable source(s). See {@link sequence}. */
|
package/src/predicate.ts
CHANGED
|
@@ -8,6 +8,8 @@
|
|
|
8
8
|
* Ordinary boolean predicates are treated as narrowing to `T`, meaning they
|
|
9
9
|
* do not narrow the input type by themselves. Composed predicates passed to
|
|
10
10
|
* `.and()` / `.or()` may return any value; they are tested for truthiness.
|
|
11
|
+
*
|
|
12
|
+
* @module
|
|
11
13
|
*/
|
|
12
14
|
|
|
13
15
|
/** An ordinary boolean predicate. */
|
package/src/string.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* header-value trimming, and a nested description-tree renderer for
|
|
5
5
|
* long-form LLM prompt / tool-description text. Depends only on the
|
|
6
6
|
* local {@link fnvHashWithOptions} for deterministic hash suffixes.
|
|
7
|
+
*
|
|
8
|
+
* @module
|
|
7
9
|
*/
|
|
8
10
|
import { fnvHashWithOptions } from "./hash";
|
|
9
11
|
|