Closed zinserjan closed 7 years ago
I suppose we need to drop babel-plugin-lodash dependency from knex
since we still support node 0.12.
Hi @elhigu!
Support for 0.12 was kind of an oversight. The use of babel-preset-env
was to enforce the support we had, or thought we had. Since 0.12 has such low IRL usage and just a few weeks left before it EOLs there's no real point in patching it now. You can always pin your version of babel-plugin-lodash
to before the change until you drop 0.12 support, which should be sooner than later since knex is pre-1.0 and can drop 0.12 support at will.
That said, babel-plugin-lodash
is usually a dev dependency, as it is with knex, and as a dev dependency it has no impact on your consumable package level support. So your consumable package can still support EOL'd versions of Node while the dev dependencies, to build it, raise their support bar.
I just noticed that node 0.12.x does no longer work with the latest version (3.2.10) due to
babel-preset-env
in https://github.com/lodash/babel-plugin-lodash/commit/edbdc00c97972eb601fa1073e18740e050ea349b#diff-e56633f72ecc521128b3db6586074d2cSee