Commit 89cf9b7
committed
Make @types/jsdom a peer dependency of jest-environment-jsdom-abstract
Consumers of jest-environment-jsdom-abstract can now provide the type
package version that matches their installed jsdom version. Just like
the jsdom peer dependency, this uses a star to allow consumers to pick
their precise version.
As a use case, @types/jsdom recently released a new version and even
though I updated this package within my project,
jest-environment-jsdom-abstract continues to reference and older
version.1 parent c24dcd4 commit 89cf9b7
3 files changed
Lines changed: 322 additions & 22 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | 25 | | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments