Summary
Replace lodash with radash as the utility library in \JsonMap.ts\ and update examples/tests accordingly.
Scope
Core implementation (\src/JsonMap.ts) — 25+ lodash call sites using:
- Deep path access/set: _.get, _.set, _.invoke\
- Type guards: _.isObject, _.isString, _.isArray, _.isUndefined, _.isArrayLikeObject\
- Collections: _.mapValues, _.pickBy, _.sortBy, _.castArray, _.size\
- Deep clone: _.cloneDeepWith\
Tests (\src/JsonMap.test.ts, \src/types.test.ts) — lodash used in \lib\ objects as example mapping functions (_.get, _.toUpper).
README — example code references lodash.
Notes
- Radash doesn't have direct equivalents for all lodash functions used (notably _.invoke, _.cloneDeepWith, deep-path _.set). Some will need native implementations or alternative approaches.
- This is a runtime dependency change — needs careful testing of all transformation paths.
- Part of ecosystem standardization on radash over lodash.
Summary
Replace lodash with radash as the utility library in \JsonMap.ts\ and update examples/tests accordingly.
Scope
Core implementation (\src/JsonMap.ts) — 25+ lodash call sites using:
Tests (\src/JsonMap.test.ts, \src/types.test.ts) — lodash used in \lib\ objects as example mapping functions (_.get, _.toUpper).
README — example code references lodash.
Notes