Skip to content

Commit

Permalink
Fix Cannot find name 'EmotionCache' type error (#3262)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmatown authored Oct 1, 2024
1 parent 31fa40b commit b10de75
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 119 deletions.
5 changes: 5 additions & 0 deletions .changeset/gorgeous-dingos-smoke.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@emotion/css': patch
---

Fix `Cannot find name 'EmotionCache'` type error
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.7",
"@manypkg/cli": "^0.19.1",
"@preconstruct/cli": "^2.8.4",
"@preconstruct/cli": "^2.8.8",
"@testing-library/react": "13.0.0-alpha.5",
"@types/jest": "^29.5.12",
"@types/node": "^12.20.37",
Expand Down
126 changes: 8 additions & 118 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5052,9 +5052,9 @@ __metadata:
languageName: node
linkType: hard

"@preconstruct/cli@npm:^2.8.4":
version: 2.8.4
resolution: "@preconstruct/cli@npm:2.8.4"
"@preconstruct/cli@npm:^2.8.8":
version: 2.8.8
resolution: "@preconstruct/cli@npm:2.8.8"
dependencies:
"@babel/code-frame": ^7.5.5
"@babel/core": ^7.7.7
Expand All @@ -5079,7 +5079,6 @@ __metadata:
is-reference: ^1.2.1
jest-worker: ^26.3.0
magic-string: ^0.30.0
meow: ^7.1.0
ms: ^2.1.2
normalize-path: ^3.0.0
npm-packlist: ^2.1.2
Expand All @@ -5096,7 +5095,7 @@ __metadata:
zod: ^3.21.4
bin:
preconstruct: bin.js
checksum: 5eca03de93e97fb640ba7ab5f9d08ad12485ebbc6444a21ca2d1a21c42f1eec9dd80947396c9799246e723e5ad0add0a227215afc702d4f21c69236fffa5a275
checksum: 7d647d68547ad32616a0f7fce76f2bdda09be589d59359d9cd3bc243d197d534529604b90b214987eddc759523ff32ce4bfc7eb28f54f282341bc2de7ca4f1b5
languageName: node
linkType: hard

Expand Down Expand Up @@ -6276,13 +6275,6 @@ __metadata:
languageName: node
linkType: hard

"@types/minimist@npm:^1.2.0":
version: 1.2.0
resolution: "@types/minimist@npm:1.2.0"
checksum: 30cbd9acd7ddb60bc3729adcc43a9da4940c90180fa0f08228f1da95ec6c00db2e3fd3af5280fc5345e3fa2637253bb5cf6625f30d571ef9bc3820a531febb7e
languageName: node
linkType: hard

"@types/ms@npm:*":
version: 0.7.31
resolution: "@types/ms@npm:0.7.31"
Expand Down Expand Up @@ -9679,17 +9671,6 @@ __metadata:
languageName: node
linkType: hard

"camelcase-keys@npm:^6.2.2":
version: 6.2.2
resolution: "camelcase-keys@npm:6.2.2"
dependencies:
camelcase: ^5.3.1
map-obj: ^4.0.0
quick-lru: ^4.0.1
checksum: 43c9af1adf840471e54c68ab3e5fe8a62719a6b7dbf4e2e86886b7b0ff96112c945736342b837bd2529ec9d1c7d1934e5653318478d98e0cf22c475c04658e2a
languageName: node
linkType: hard

"camelcase@npm:5.3.1, camelcase@npm:^5.0.0, camelcase@npm:^5.3.1":
version: 5.3.1
resolution: "camelcase@npm:5.3.1"
Expand Down Expand Up @@ -11789,7 +11770,7 @@ __metadata:
languageName: node
linkType: hard

"decamelize-keys@npm:^1.0.0, decamelize-keys@npm:^1.1.0":
"decamelize-keys@npm:^1.0.0":
version: 1.1.0
resolution: "decamelize-keys@npm:1.1.0"
dependencies:
Expand Down Expand Up @@ -12635,7 +12616,7 @@ __metadata:
"@changesets/changelog-github": ^0.5.0
"@changesets/cli": ^2.27.7
"@manypkg/cli": ^0.19.1
"@preconstruct/cli": ^2.8.4
"@preconstruct/cli": ^2.8.8
"@testing-library/react": 13.0.0-alpha.5
"@types/jest": ^29.5.12
"@types/node": ^12.20.37
Expand Down Expand Up @@ -15865,13 +15846,6 @@ __metadata:
languageName: node
linkType: hard

"hard-rejection@npm:^2.1.0":
version: 2.1.0
resolution: "hard-rejection@npm:2.1.0"
checksum: 7baaf80a0c7fff4ca79687b4060113f1529589852152fa935e6787a2bc96211e784ad4588fb3048136ff8ffc9dfcf3ae385314a5b24db32de20bea0d1597f9dc
languageName: node
linkType: hard

"harmony-reflect@npm:^1.4.6":
version: 1.6.2
resolution: "harmony-reflect@npm:1.6.2"
Expand Down Expand Up @@ -20071,7 +20045,7 @@ __metadata:
languageName: node
linkType: hard

"kind-of@npm:^6.0.0, kind-of@npm:^6.0.2, kind-of@npm:^6.0.3":
"kind-of@npm:^6.0.0, kind-of@npm:^6.0.2":
version: 6.0.3
resolution: "kind-of@npm:6.0.3"
checksum: 3ab01e7b1d440b22fe4c31f23d8d38b4d9b91d9f291df683476576493d5dfd2e03848a8b05813dd0c3f0e835bc63f433007ddeceb71f05cb25c45ae1b19c6d3b
Expand Down Expand Up @@ -20838,13 +20812,6 @@ __metadata:
languageName: node
linkType: hard

"map-obj@npm:^4.0.0":
version: 4.1.0
resolution: "map-obj@npm:4.1.0"
checksum: c62b22f23e58d742a093a0935fa904c92cc788d56132b75666160ac0c5704d3c677d28794594c7adf7ed0c177a96579e781dbf06e0a1b5d574c992a5c13877a3
languageName: node
linkType: hard

"map-visit@npm:^1.0.0":
version: 1.0.0
resolution: "map-visit@npm:1.0.0"
Expand Down Expand Up @@ -21189,25 +21156,6 @@ __metadata:
languageName: node
linkType: hard

"meow@npm:^7.1.0":
version: 7.1.1
resolution: "meow@npm:7.1.1"
dependencies:
"@types/minimist": ^1.2.0
camelcase-keys: ^6.2.2
decamelize-keys: ^1.1.0
hard-rejection: ^2.1.0
minimist-options: 4.1.0
normalize-package-data: ^2.5.0
read-pkg-up: ^7.0.1
redent: ^3.0.0
trim-newlines: ^3.0.0
type-fest: ^0.13.1
yargs-parser: ^18.1.3
checksum: 87bba177ab858a9b606ee52220e6bf395277beebafefe8ab5dbdf178f5825274a24ca16dca7e0ddd41e5ac3533164ee52e3d0eec87b66d78aae796d24a817842
languageName: node
linkType: hard

"merge-descriptors@npm:1.0.1":
version: 1.0.1
resolution: "merge-descriptors@npm:1.0.1"
Expand Down Expand Up @@ -22242,13 +22190,6 @@ __metadata:
languageName: node
linkType: hard

"min-indent@npm:^1.0.0":
version: 1.0.1
resolution: "min-indent@npm:1.0.1"
checksum: bfc6dd03c5eaf623a4963ebd94d087f6f4bbbfd8c41329a7f09706b0cb66969c4ddd336abeb587bc44bc6f08e13bf90f0b374f9d71f9f01e04adc2cd6f083ef1
languageName: node
linkType: hard

"mini-css-extract-plugin@npm:0.11.3":
version: 0.11.3
resolution: "mini-css-extract-plugin@npm:0.11.3"
Expand Down Expand Up @@ -22313,17 +22254,6 @@ __metadata:
languageName: node
linkType: hard

"minimist-options@npm:4.1.0":
version: 4.1.0
resolution: "minimist-options@npm:4.1.0"
dependencies:
arrify: ^1.0.1
is-plain-obj: ^1.1.0
kind-of: ^6.0.3
checksum: 8c040b3068811e79de1140ca2b708d3e203c8003eb9a414c1ab3cd467fc5f17c9ca02a5aef23bedc51a7f8bfbe77f87e9a7e31ec81fba304cda675b019496f4e
languageName: node
linkType: hard

"minimist-options@npm:^3.0.1":
version: 3.0.2
resolution: "minimist-options@npm:3.0.2"
Expand Down Expand Up @@ -26727,13 +26657,6 @@ __metadata:
languageName: node
linkType: hard

"quick-lru@npm:^4.0.1":
version: 4.0.1
resolution: "quick-lru@npm:4.0.1"
checksum: bea46e1abfaa07023e047d3cf1716a06172c4947886c053ede5c50321893711577cb6119360f810cc3ffcd70c4d7db4069c3cee876b358ceff8596e062bd1154
languageName: node
linkType: hard

"quick-lru@npm:^5.1.1":
version: 5.1.1
resolution: "quick-lru@npm:5.1.1"
Expand Down Expand Up @@ -27367,16 +27290,6 @@ __metadata:
languageName: node
linkType: hard

"redent@npm:^3.0.0":
version: 3.0.0
resolution: "redent@npm:3.0.0"
dependencies:
indent-string: ^4.0.0
strip-indent: ^3.0.0
checksum: fa1ef20404a2d399235e83cc80bd55a956642e37dd197b4b612ba7327bf87fa32745aeb4a1634b2bab25467164ab4ed9c15be2c307923dd08b0fe7c52431ae6b
languageName: node
linkType: hard

"reflect.getprototypeof@npm:^1.0.4":
version: 1.0.6
resolution: "reflect.getprototypeof@npm:1.0.6"
Expand Down Expand Up @@ -30160,15 +30073,6 @@ __metadata:
languageName: node
linkType: hard

"strip-indent@npm:^3.0.0":
version: 3.0.0
resolution: "strip-indent@npm:3.0.0"
dependencies:
min-indent: ^1.0.0
checksum: 18f045d57d9d0d90cd16f72b2313d6364fd2cb4bf85b9f593523ad431c8720011a4d5f08b6591c9d580f446e78855c5334a30fb91aa1560f5d9f95ed1b4a0530
languageName: node
linkType: hard

"strip-json-comments@npm:^2.0.1, strip-json-comments@npm:~2.0.1":
version: 2.0.1
resolution: "strip-json-comments@npm:2.0.1"
Expand Down Expand Up @@ -30998,13 +30902,6 @@ __metadata:
languageName: node
linkType: hard

"trim-newlines@npm:^3.0.0":
version: 3.0.0
resolution: "trim-newlines@npm:3.0.0"
checksum: ad99b771e7e6fc785cfdd60f3eeb794a6f2f230dd291987107974abd0c95a051d7cf3b6d45b542a59bfe67eb680c5b259ec19741e6fdfdbee0ab783ab8861585
languageName: node
linkType: hard

"trim-trailing-lines@npm:^1.0.0":
version: 1.1.2
resolution: "trim-trailing-lines@npm:1.1.2"
Expand Down Expand Up @@ -31215,13 +31112,6 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^0.13.1":
version: 0.13.1
resolution: "type-fest@npm:0.13.1"
checksum: e6bf2e3c449f27d4ef5d56faf8b86feafbc3aec3025fc9a5fbe2db0a2587c44714521f9c30d8516a833c8c506d6263f5cc11267522b10c6ccdb6cc55b0a9d1c4
languageName: node
linkType: hard

"type-fest@npm:^0.20.2":
version: 0.20.2
resolution: "type-fest@npm:0.20.2"
Expand Down Expand Up @@ -33428,7 +33318,7 @@ __metadata:
languageName: node
linkType: hard

"yargs-parser@npm:^18.1.1, yargs-parser@npm:^18.1.2, yargs-parser@npm:^18.1.3":
"yargs-parser@npm:^18.1.1, yargs-parser@npm:^18.1.2":
version: 18.1.3
resolution: "yargs-parser@npm:18.1.3"
dependencies:
Expand Down

0 comments on commit b10de75

Please sign in to comment.