Fix emotion cache output garbage in unit tests

Summary:
emotion/cache started generating nonsense warnings about SSR again when running unit tests. This is because atm emotion/cache is 3(!) times in our dep tree, and the wrong one got patched. Tried to dedupe that, but it seems inevitable:

- emotion/react requires v. 11.6.0 of it
- emotion/css requires v. 11.5.0 because a newer version of that package hasn't been released
- console-feed still uses emotion 10.

So instead, just added an other patch

Reviewed By: passy

Differential Revision: D32557413

fbshipit-source-id: 8a61a8065d21123453b3345b25ff87a9865094ed
This commit is contained in:
Michel Weststrate
2021-11-19 03:59:55 -08:00
committed by Facebook GitHub Bot
parent 3e9cf79dff
commit 35c482ac92
3 changed files with 22 additions and 4 deletions

View File

@@ -12,8 +12,8 @@
"dependencies": {
"@ant-design/icons": "^4.7.0",
"@emotion/css": "^11.5.0",
"@emotion/react": "^11.5.0",
"@emotion/styled": "^11.3.0",
"@emotion/react": "^11.6.0",
"@emotion/styled": "^11.6.0",
"@iarna/toml": "^2.2.5",
"@tanishiking/aho-corasick": "^0.0.1",
"@types/archiver": "^5.1.1",