This folder contains patches to 3rd party dependencies that is hard or impossible to upgrade.

## Patches

### styled-jxs v4.0.1

The library has an issue in Cypress where you get a lot of `TypeError: Cannot read properties of null (reading 'removeChild')` warnings.

This happens when you have an Cypress error and you try to hover over the items in the Cypress menu.
Parts of the page gets unmounted, and in that process `styled-jsx` tries to remove style elements that are already removed from the DOM.

This patch checks that the style element parent exist before trying to remove it.
Patch is applied to line 204 and 215 in:
[./node_modules/styled-jsx/dist/lib/stylesheet.js](../node_modules/styled-jsx/dist/lib/stylesheet.js):
