Replace lodash and underscore with native JavaScript

MSAL

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.

org.openrewrite.javascript.migrate.lodash.MigrateLodashToNative
mod run . --recipe=org.openrewrite.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.