Repository navigation
Commit f57233b
committed
process: report features.typescript as "strip" to match Node 26
Node 26 removed the "transform" value (nodejs/node#61803); the getter
returns "strip" by default or false under --no-strip-types. Code
feature-detecting TypeScript support against Node 26 checks for "strip",
so returning "transform" breaks strict comparisons.1 parent 618f2f6 commit f57233b
2 files changed
Lines changed: 9 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4150 | 4150 | | |
4151 | 4151 | | |
4152 | 4152 | | |
4153 | | - | |
4154 | | - | |
4155 | | - | |
4156 | | - | |
4157 | | - | |
4158 | | - | |
4159 | | - | |
4160 | | - | |
4161 | | - | |
4162 | | - | |
4163 | | - | |
4164 | 4153 | | |
4165 | 4154 | | |
4166 | 4155 | | |
| |||
4186 | 4175 | | |
4187 | 4176 | | |
4188 | 4177 | | |
4189 | | - | |
| 4178 | + | |
| 4179 | + | |
| 4180 | + | |
4190 | 4181 | | |
4191 | 4182 | | |
4192 | 4183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
209 | 215 | | |
210 | 216 | | |
211 | 217 | | |
| |||
0 commit comments