Sometimes there are problems with dependencies that can be solved by patching them. Gutenberg uses
patch-package to patch npm dependencies when
they're installed.
Existing patches should be described and justified here.
No notes.
This package is unmaintained. It's incompatible with some recent versions of React types in ways that are mostly harmless.
The onPointerEnterCapture and onPointerLeaveCapture events were removed. The package is patched
to remove those events as well.
See react/react#17883.
The package also uses a way of doing default exports from a CJS package that is not compatible with Node.js ES modules. The patch also fixes this.
The mobile editor relies upon jsdom-jscore-rn to create a partial DOM
environment, which causes react-devtools-core to believe it's running in a
browser environment. We added a custom conditional to disable browser-specific
features when running in a jsdom-jscore-rn environment.
See WordPress#47616.
Accessibility changes in React Native 0.73.0 resulted in a broken braille screen input on iOS. This patch is a workaround to restore the previous behavior.
See WordPress#53895.