Repository navigation
Commit fe78bfe
committed
fix(vite-plugin-angular): keep nested class metadata in scope
setClassMetadata calls were appended at module scope, so a decorated
class nested in a function threw a ReferenceError in dev mode. Emit
them right after the class when it is not top-level.
parseOxc now falls back to the default transfer if raw transfer throws,
e.g. when its buffer cannot be allocated.1 parent b61f376 commit fe78bfe
4 files changed
Lines changed: 45 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | 49 | | |
| 50 | + | |
48 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
49 | 59 | | |
50 | 60 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
345 | 345 | | |
346 | 346 | | |
347 | 347 | | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
348 | 351 | | |
349 | 352 | | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
350 | 356 | | |
351 | 357 | | |
352 | 358 | | |
| |||
1187 | 1193 | | |
1188 | 1194 | | |
1189 | 1195 | | |
| 1196 | + | |
1190 | 1197 | | |
1191 | 1198 | | |
1192 | 1199 | | |
| |||
1283 | 1290 | | |
1284 | 1291 | | |
1285 | 1292 | | |
1286 | | - | |
1287 | | - | |
1288 | | - | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
| 1298 | + | |
1289 | 1299 | | |
1290 | 1300 | | |
1291 | 1301 | | |
| |||
1315 | 1325 | | |
1316 | 1326 | | |
1317 | 1327 | | |
| 1328 | + | |
1318 | 1329 | | |
1319 | 1330 | | |
1320 | 1331 | | |
| |||
1439 | 1450 | | |
1440 | 1451 | | |
1441 | 1452 | | |
| 1453 | + | |
| 1454 | + | |
| 1455 | + | |
| 1456 | + | |
1442 | 1457 | | |
1443 | 1458 | | |
1444 | 1459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
| 11 | + | |
| 12 | + | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
16 | 19 | | |
17 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
18 | 28 | | |
19 | 29 | | |
20 | 30 | | |
| |||
0 commit comments