# Using "\_" is deprecated. Use "require('lodash')" instead

**URL:** <https://community.postman.com/t/using-is-deprecated-use-require-lodash-instead/61125>\
**Category:** Help Hub\
**Tags:** collections, postman-latest-versi, log\
**Created:** [May 16, 2024, 2:04pm UTC](https://community.postman.com/t/using-is-deprecated-use-require-lodash-instead/61125 "2024-05-16T14:04:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![devang-ey](https://avatars.discourse-cdn.com/v4/letter/d/c89c15/32.png) [@devang-ey](https://community.postman.com/u/devang-ey)\
**Post date:** [May 16, 2024, 2:04pm UTC](https://community.postman.com/t/using-is-deprecated-use-require-lodash-instead/61125/1 "2024-05-16T14:04:45Z")

</div>

> I’ve begun receiving a warning message in the console for every request since upgrading to Postman version 11. Could you clarify the significance of this message and provide a resolution?

> **Warning Message :** Using “\_” is deprecated. Use “require(‘lodash’)” instead.

---

<div class="post-metadata">

**Author:** ![danny-dainton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/danny-dainton/32/29401_2.png) [@danny-dainton](https://community.postman.com/u/danny-dainton)\
**Post date:** [May 16, 2024, 2:38pm UTC](https://community.postman.com/t/using-is-deprecated-use-require-lodash-instead/61125/2 "2024-05-16T14:38:17Z")

</div>

Hey @devang-ey 👋

The warning message is telling you what’s happening.

> Using “\_” is deprecated. Use “require(‘lodash’)” instead.

This would have been seen just before V11, as the sandbox was updated towards the end of V10.

There a several internal sandbox modules that are being deprecated and this is one of them. We actually have 2 different versions of Lodash running, an older one that is immediately available using the `_.` naming convention and one where you use `require(‘lodash’)` to call the newer version.

For example:

```auto
const lodash = require('lodash');
console.log(lodash.random(10, 12));

```

The `_` option will still be supported for the next 2 major versions but it will eventually stop working in the sandbox.

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/system/32/29796_2.png) [@system](https://community.postman.com/u/system)\
**Post date:** [June 15, 2024, 2:38pm UTC](https://community.postman.com/t/using-is-deprecated-use-require-lodash-instead/61125/3 "2024-06-15T14:38:53Z")

</div>

Closed on June 15, 2024, 2:38pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
