Commit 6c913d5
committed
fix(debug): remove incorrect NO_SIDE_EFFECTS annotations
Debug functions (debug, debugDir, debugLog, and *Ns variants) have
side effects (logging, spinner manipulation) and were incorrectly
marked as pure functions, causing bundlers to tree-shake them into
no-ops.1 parent 76c2bc1 commit 6c913d5
3 files changed
Lines changed: 10 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
8 | 17 | | |
9 | 18 | | |
10 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
| |||
245 | 244 | | |
246 | 245 | | |
247 | 246 | | |
248 | | - | |
249 | 247 | | |
250 | 248 | | |
251 | 249 | | |
| |||
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
284 | | - | |
285 | 282 | | |
286 | 283 | | |
287 | 284 | | |
| |||
323 | 320 | | |
324 | 321 | | |
325 | 322 | | |
326 | | - | |
327 | 323 | | |
328 | 324 | | |
329 | 325 | | |
| |||
391 | 387 | | |
392 | 388 | | |
393 | 389 | | |
394 | | - | |
395 | 390 | | |
396 | 391 | | |
397 | 392 | | |
398 | 393 | | |
399 | 394 | | |
400 | 395 | | |
401 | 396 | | |
402 | | - | |
403 | 397 | | |
404 | 398 | | |
405 | 399 | | |
| |||
410 | 404 | | |
411 | 405 | | |
412 | 406 | | |
413 | | - | |
414 | 407 | | |
415 | 408 | | |
416 | 409 | | |
| |||
0 commit comments