diff --git a/patches/README.md b/patches/README.md new file mode 100644 index 00000000000000..8149c96950057a --- /dev/null +++ b/patches/README.md @@ -0,0 +1,31 @@ +# Dependency patches + +Sometimes there are problems with dependencies that can be solved by patching them. Gutenberg uses +[`patch-package`](https://www.npmjs.com/package/patch-package) to patch npm dependencies when +they're installed. + +Existing patches should be described and justified here. + +## Patches + +### `patches/lighthouse+10.4.0.patch` + +No notes. + +### `patches/react-autosize-textarea+7.1.0.patch` + +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 https://github.com/facebook/react/pull/17883. + +### `patches/react-devtools-core+4.28.5.patch` + +No notes. + +### `patches/react-native+0.73.3.patch` + +No notes.