Replace lodash and underscore with native JavaScript

Proprietary

Replaces the lodash and underscore array, function, object and type-checking calls that native JavaScript does the same way, where it does: a call whose native form would read its arguments differently, as for a value that may be null, is left alone. An import or require of lodash or underscore is removed once nothing reads it.

io.moderne.javascript.migrate.lodash.MigrateLodashToNative
mod run . --recipe=io.moderne.javascript.migrate.lodash.MigrateLodashToNative

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.