v3.0.5
Patch release focused on utility correctness, edge-case handling, and release safeguards. No exported APIs were added or removed.
Fixed
- Updated
intersect()to handle empty input and preserve first-array order while removing duplicates. - Updated
merge()to support self-merges and very large arrays. - Improved
range()floating-point endpoint handling andwrap()support for iterable values. - Preserved call-site context across function wrappers, corrected stale delayed calls, and hardened
once()behavior for errors, re-entrancy, and promises. - Corrected
randomInt()behavior for fractional and large bounds, and improvedtoStep()handling of scientific notation. - Hardened object merge and dot-path utilities against inherited properties and prototype-shaped keys, including wildcard and overwrite handling.
- Updated
escapeRegExp()for Unicode-mode compatibility andrandomString()for complete Unicode code points and empty-character validation. - Expanded
isPlainObject()support for null-prototype and shadowed-constructor objects.
Changed
- Added
--forbid-onlyto the test command. - Added CI validation that generated bundles remain current.
- Updated source map output naming and added an npm release-age policy.
- Updated
@fr0st/eslint-configfrom3.0.0to4.0.0. - Updated
eslintfrom10.1.0to10.8.1. - Updated
mochafrom11.7.5to11.8.0. - Updated
rollupfrom4.60.0to4.62.4. - Updated
terserfrom5.46.1to5.50.0.