Packages

lodash.template

4.18.1 · 1 Apr 2026MIT4M / weekRepositoryHomepagenpmAtom feed

Deprecated by its maintainers: This package is deprecated. Use https://socket.dev/npm/package/eta instead.What to use instead
Your version

4.18.1

Latest1 Apr 2026Where it was published
npm marks 4.18.1 as deprecated: This package is deprecated. Use socket.dev/npm/package/eta instead.

In short

4 fixed

Release note

Bugs

Fixes a ReferenceError issue in lodash lodash-es lodash-amd and lodash.template when using the template and fromPairs functions from the modular builds. See #6167

These defects were related to how lodash distributions are built from the main branch using github.com/lodash-archive/lodash-cli. When internal dependencies change inside lodash functions, equivalent updates need to be made to a mapping in the lodash-cli. (hey, it was ahead of its time once upon a time!). We know this, but we missed it in the last release. It's the kind of thing that passes in CI, but fails bc the build is not the same thing you tested.

There is no diff on main for this, but you can see the diffs for each of the npm packages on their respective branches:

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.