undermore
v2.0.0
Published
Deprecated utility mixins for Lodash
Maintainers
Readme
Undermore
[!CAUTION] Undermore is deprecated and no longer maintained. Do not use it for new projects. Version 2.0.0 is the final npm release; no further features, fixes, security updates, or support are planned.
Undermore is a historical collection of utility mixins for Lodash. It was useful when JavaScript and Lodash lacked many small conveniences that are now available directly in the language, the platform, or Lodash itself.
What to use instead
Prefer maintained, focused APIs:
- Use Lodash for object traversal and utility helpers such as
getandset. - Use
Bufferin Node.js orTextEncoder,TextDecoder,btoa, andatobin browsers for Base64 and UTF-8 conversion. - Use
crypto.randomUUID()for UUID generation. - Use native
Stringmethods such asstartsWith,endsWith, andincludes. - Use a maintained semantic-version package when full SemVer behavior is required.
There is no one-for-one successor because Undermore grouped unrelated helpers. Migrate only the methods your application uses and add focused tests around their current behavior.
Existing installations
The final package remains available so existing applications can make a controlled migration:
npm install [email protected]The CommonJS API is unchanged:
var _ = require('lodash');
_.mixin(require('undermore'));
var id = _.uuid();Version 2.0.0 supports Node.js 20.19–20.x, 22.13–22.x, and 24 or newer. It updates the runtime dependency, removes the obsolete Gulp/PhantomJS development stack and vendored browser site, adds current automated verification, prevents prototype pollution through Undermore's object helpers, and replaces predictable UUIDs with cryptographically random values. The old browser download builder, jQuery extensions, and prototype polyfills have been retired.
Final verification
For historical maintenance or migration work:
npm ci
npm run verifynpm run build deterministically regenerates src/_.build.js and the published bin/undermore.js file from the mixins in src/_source/. Tests use Node's built-in test runner and run on supported Node releases in GitHub Actions.
License
MIT © Adam Eivy. See LICENSE-MIT.
