Packages

lodash.trim

4.18.0 · 31 Mar 2026MIT184.6k / weekRepositoryHomepagenpmAtom feed

Your version

Where each line stands

Plan an upgrade
  • 4.x4.18.0Safe from 4.18.0Latest line
  • 3.x3.1.1No known advisoryTo 4.18.0

What to use instead

A better maintained package

From the e18e module-replacements list, maintained by the community.

The list compares the options for lodash.trim: read the comparison.

Before you switch

  1. 1

    Check what else depends on it

    Paste your package.json in the dependency check to see every deprecated or outdated package in one pass, not only this one.

  2. 2

    Read the replacement's peers and releases

    A native API or a few lines of code need no release notes, but check the Node version your project runs on.

  3. 3

    Know when it ships

    Follow the new package on inlinr: its releases and advisories land in your feed, and the time spent on the migration branch shows on its page.

Latest releases

  1. 4.x · latest line
  2. 4.18.0

    31 Mar 2026
  3. 4.0.1 – 4.5.19 releases without a noteShow each
  4. 4.0.0

    13 Jan 2016

    2015 was big year! Lodash became the most depended on npm package, passed 1 billion downloads, & its v3 release saw massive adoption!

Dependency tracking

Know when your own dependencies move

This page watches lodash.trim. inlinr reads your package.json and keeps the same watch on every dependency you declare, then tells you only what needs you.

  • Advisories reach you

    An email when a critical or high advisory affects a project, before the next install.

  • Upgrades checked first

    Peer ranges, Node, ESM-only and types changes read before you bump.

  • Only what matters

    Majors and breaking notes stay; patches and sibling bumps fold into one line.

How dependency tracking works

Registry facts last checked 19 Nov 2026. Releases and advisories last read 22 Nov 2026.

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.