Commit 16c121a
authored
Recently, the issue described in DefinitelyTyped/DefinitelyTyped#40138 (wherein the `Request` and `Response` types from express claim never to have heard of standard properties like `headers`) flared up in our remix tests. It turns out the culprit was that a few days ago, DefinitelyTyped removed TS 4.0 support from a number of packages[1], among them `@types/express-serve-static-core` (upon which `@types/express` depends).
Key changes in this fix:
- Lock `@types/express-serve-static-core` to the last version before this change.
- Add `@types/express` to `@sentry/remix`'s dev dependencies (where it should have been all along).
- Update all usages of `@types/express` to latest. (Not strictly necessary, but done as part of my debugging. Doesn't seem to break anything, and we might as well be up to date.)
[1] DefinitelyTyped/DefinitelyTyped#62240
1 parent 903addf commit 16c121a
File tree
6 files changed
+14
-21
lines changed- packages
- node
- remix
- serverless
- tracing
6 files changed
+14
-21
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5102 | 5102 | | |
5103 | 5103 | | |
5104 | 5104 | | |
5105 | | - | |
5106 | | - | |
5107 | | - | |
5108 | | - | |
5109 | | - | |
5110 | | - | |
5111 | | - | |
5112 | | - | |
5113 | | - | |
5114 | | - | |
5115 | | - | |
5116 | | - | |
5117 | | - | |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
5118 | 5109 | | |
5119 | 5110 | | |
5120 | 5111 | | |
| |||
5130 | 5121 | | |
5131 | 5122 | | |
5132 | 5123 | | |
5133 | | - | |
5134 | | - | |
5135 | | - | |
5136 | | - | |
| 5124 | + | |
| 5125 | + | |
| 5126 | + | |
| 5127 | + | |
5137 | 5128 | | |
5138 | 5129 | | |
5139 | 5130 | | |
| |||
0 commit comments