# SDK breaking lodash on some sites

- Provider: [LogRocket](https://down.guide/logrocket)
- Level: confirmed
- Impact: Partial outage
- lasted 0m
- started 2021-07-12 14:20 UTC
- id: DWN-7f4b729988
- Official page: https://stspg.io/pwbn1vd1s1f0

## Updates from LogRocket
### 2021-07-12 14:20 UTC: resolved
We received customer reports that our SDK interfered with the popular lodash library, resulting in broken customer sites. We've rolled back to a known functional version of our SDK.
The incident lasted for about an hour and 40 minutes.

### 2021-07-19 15:49 UTC: postmortem
A bug in our build pipeline caused our SDK to expose an internal library globally. As a result, our subset of the lodash library was bound to \`window.\_\`, overwriting the existing \`\_\` global for some customer sites. This meant that some expected library functions were not defined after our script loaded.
#### Technical Details:
\* A code change imported all of lodash and accessed a method on the import instead of importing just the method.
\* Webpack bundled lodash, including its \`window.\_ \`assignment despite the library being used in a module import context.
#### Remediations:
\* We’ve added additional tests to catch unwanted pollution of the window object by our SDK
\* We’ve added an internal linting rule to avoid full lodash imports

---
down.guide reads providers' official status pages every minute and adds its own evidence, always labeled. Free, no account. Agents: MCP at https://down.guide/mcp, REST at https://down.guide/api/v1, feeds at https://down.guide/feed. Built by Sazabi (https://sazabi.com/?utm_source=down-guide&utm_medium=markdown).
