Skip to content

Dev - #17

Merged
erayhanoglu merged 8 commits into
mainfrom
dev
Sep 13, 2026
Merged

Dev#17
erayhanoglu merged 8 commits into
mainfrom
dev

Conversation

@erayhanoglu

Copy link
Copy Markdown
Member

No description provided.

erayhanoglu and others added 8 commits September 9, 2026 11:36
merge()/clone()/omit*() silently dropped or corrupted data when the
source value was itself an array, since it was unpacked as a list of
multiple sources (or copied as a plain array-like object) instead of
being treated as the array to clone. Also hardens isIterable/
isAsyncIterable to return false instead of throwing on non-object
input, and fixes a mismatched validation error message in merge().
Both relied on `&&` short-circuiting, so isObject(null) returned null
and isConstructor(arrowFn) returned undefined instead of false, even
though their signatures declare a boolean/type-predicate return. Also
adds missing test coverage for isObject/isPlainObject.
Adds docs/api.md as a single, verified reference covering every
exported function, option, and edge case (with the docs-baseline
block pinned to the current commit). Documents the new top-level
array support in clone/omit*, corrects an inaccurate claim about
updateErrorMessage using Error.captureStackTrace, and rewrites the
top of the README with a features list, a runnable quick-start, and
a link to the full reference.
…ainst

The isObject/isConstructor strict-boolean fix landed after the docs
were written but before they were committed, so the baseline should
reference that commit rather than the one before it.
Adds project instructions for querying/updating the graphify graph,
a "graph" npm script to refresh it, and ignores its output plus
*.tsbuildinfo/.claude locally.
None of the public API (merge, clone/deepClone, omit*, the type guards)
had doc comments, so consumers got no hover/IntelliSense help despite
declaration+comments being emitted to the published .d.ts files. Adds
full @param/@returns/@throws/@example coverage, plus docs for merge's
namespace types (CallbackFn, CallbackContext, Options), and fixes two
inaccuracies found along the way: a typo in updateErrorMessage's doc
and a stray reference to a non-existent `NodeCallback` type in
Options.deep.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@erayhanoglu
erayhanoglu merged commit ad0f52f into main Sep 13, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant