# @sailshq/lodash

> A fork of Lodash 3.10.x with ongoing maintenance from the Sails core team.

Latest version **3.10.7** (published 2025-04-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install @sailshq/lodash
pnpm add @sailshq/lodash
yarn add @sailshq/lodash
bun add @sailshq/lodash
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 3.10.7 |
| Published | 2025-04-25 |
| First published | 2016-11-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 420.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Mike McNeil |
| Maintainers | mikermcneil, rachaelshaw, irl, sgress454, eashaw, dominuskelvin |
| Keywords | lodash-3, lodash3, lodash-3.10.1, lodash-3.10.x |

## Links

- npm: https://www.npmjs.com/package/@sailshq/lodash
- Repository: https://github.com/treelinehq/lodash
- Homepage: https://github.com/treelinehq/lodash#readme
- Issues: http://sailsjs.com/bugs
- npm.io page: https://npm.io/package/@sailshq/lodash

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 3.10.7 (latest) — 2025-04-25
- 3.10.6 — 2024-04-06
- 3.10.5 — 2024-04-01
- 3.10.4 — 2019-08-21
- 3.10.3 — 2018-04-04
- 3.10.2 — 2016-11-04
- 3.10.2-0 — 2016-11-02

## README

# @sailshq/lodash

A fork of Lodash 3.10.x with ongoing maintenance from the [Sails core team](http://sailsjs.com/about).

This repo will only be updated when there are immediate, material issues affecting expected usage, like [this one](https://github.com/lodash/lodash/issues/2768).  Our goal is to diverge as little as possible, and to encourage the use of Lodash 4 and above whenever possible.  This repo is really just for us, and anyone else who really likes Lodash 3 exactly the way it is.

**In other words, there will _never_ be any new methods or options added to Lodash on this fork, and consequently there will be no minor version or major version bumps from this fork-- only patches.**



> #### Sails <=v0.12 users:
>
> **This is the version of Lodash exposed as a default global (`_`) in Sails apps prior to Sails v1.0.**
>
> ...but Sails v1.0 changes that.
>
> If your app is using Sails v1.0 or above, or if you are on <=0.12, but are not using the Lodash global,
> then you needn't worry about this package-- it is used interally in Sails, but does not touch userland
> code in your application unless you `require` it -- e.g. from your config/globals.js file.
> [Click here](https://github.com/balderdashy/sails-docs/blob/1.0/reference/sails.config/sails.config.globals.md)
> to learn about how the Lodash global works in Sails v1.0.
>
> On the other hand, if your app _is_ using Sails <=0.12 and you _are_ using the Lodash global:
> + [Click here](https://lodash.com/docs/3.10.1) for usage docs
> + [Click here](http://0.12.sailsjs.com/documentation/reference/configuration/sails-config-globals) to see how to disable that global and use your own version of Lodash.




## Changes since lodash@3.10.1

- [Make `_.isFunction()` properly detect arrow functions (`()=>{}`) and AsyncFunctions (`async function(){}` or `async ()=>{}`)](https://github.com/lodash/lodash/issues/2768)
- [Fix prototype polution security vulnerability](https://github.com/lodash/lodash/issues/2768) _(see also JD's comments [here](https://hackerone.com/reports/310443))_
- [Fix another prototype polution security vulnerability](https://snyk.io/vuln/SNYK-JS-LODASH-73638)
- [Fix another prototype polution security vulnerability](https://security.snyk.io/vuln/SNYK-JS-LODASH-608086)

## Bugs &nbsp; [![npm version](https://badge.fury.io/js/%40sailshq%2Flodash.svg)](https://badge.fury.io/js/%40sailshq%2Flodash)

To report a bug, [click here](http://sailsjs.com/bugs).


## Contributing

Please observe the guidelines and conventions laid out in the [Sails project contribution guide](http://sailsjs.com/documentation/contributing) when opening issues or submitting pull requests.

[![NPM](https://nodei.co/npm/@sailshq/lodash.png)](http://npmjs.com/package/@sailshq/lodash)

## License

#### Lodash license

[Lodash](http://lodash.com) is free and open source under the [MIT License](https://github.com/lodash/lodash/blob/3.10.1/LICENSE).

#### Supplementary license

All ad hoc additions in this repo are also MIT-licensed, copyright &copy; 2017 [The Sails Company](http://sailsjs.com/about).

#### Sails framework license

The [Sails framework](http://sailsjs.com) is free and open-source under the [MIT License](http://sailsjs.com/license).

---
_Source: https://npm.io/package/@sailshq/lodash · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
