github radashi-org/radashi v13.1.0

36 minutes ago

Agent skill

The npm package now includes the Radashi agent skill. Compatible package managers can discover it from the installed package; with pnpm v12.11 or later, use pnpm approve to approve it. See #512.

Fixes and improvements

  • reduce skips empty slots in sparse arrays, and timeout rejects if its custom error function throws. #497, #500
  • mapKeys includes enumerable symbol keys, and isMapEqual distinguishes missing keys from keys with undefined values. #498, #499
  • range and list reject nonpositive steps for nonempty ranges. #501
  • template handles non-global and empty-matching custom expressions without stalling. #503
  • assign avoids excessive TypeScript instantiation for option unions, and parseQuantity accepts zero and fractional plural units. #504, #505
  • pascal handles empty input, camel handles leading separators, and set replaces primitive intermediate values. #507, #508, #509
  • similarity uses less memory for its distance calculation. #510

The documentation also clarifies infinity handling in isFloat and possible negative-zero normalization in round. #513

Don't miss a new radashi release

NewReleases is sending notifications on new releases.