Saltar al contenido
PULSOby IMDRIMDR
Apoyar PULSO Iniciar sesión
Historial / logrocket
Resuelto

SDK breaking lodash on some sites

Alcance no especificado; consultar aviso oficial

Inicio informado: 12/07/2021 · 09:20Última actualización del proveedor: 19/07/2021 · 10:58

Última consulta de PULSO: 26/11/2026 · 07:20 · Ciudad de México


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

Texto del proveedor, en su idioma original. Puede describir solo parte del servicio.

Abrir fuente oficial ↗

Cronología · más reciente primero

  • Informe final

    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
  • Resuelto

    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.