Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(top-level): use patch-package to fix depd-vs-SES incompatibility
Some packages try to modify properties that SES freezes, like `Error.prepareStackTrace`. These packages cannot be imported in a SES environment. Work is underway to tolerate these (endojs/endo#251). `depd` is one such package. As a temporary workaround, this uses the `patch-package` tool to modify the installed `depd` code during the `yarn install` process, patching out its attempt to mutate frozen primordials. When that bug is fixed, we should remove this change.
- Loading branch information