Commit 1aa595e
committed
src: throw on process.env symbol usage
This commit causes process.env to throw when a symbol is used as
either a key or a value.
Fixes: #9429
PR-URL: #9446
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>1 parent b315e24 commit 1aa595e
File tree
3 files changed
+32
-42
lines changed- src
- test/parallel
3 files changed
+32
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
126 | 125 | | |
127 | 126 | | |
128 | 127 | | |
| |||
2685 | 2684 | | |
2686 | 2685 | | |
2687 | 2686 | | |
2688 | | - | |
| 2687 | + | |
2689 | 2688 | | |
2690 | 2689 | | |
2691 | 2690 | | |
| |||
2711 | 2710 | | |
2712 | 2711 | | |
2713 | 2712 | | |
2714 | | - | |
2715 | | - | |
| 2713 | + | |
| 2714 | + | |
2716 | 2715 | | |
2717 | 2716 | | |
2718 | 2717 | | |
| |||
2732 | 2731 | | |
2733 | 2732 | | |
2734 | 2733 | | |
2735 | | - | |
| 2734 | + | |
2736 | 2735 | | |
2737 | 2736 | | |
2738 | 2737 | | |
| |||
2756 | 2755 | | |
2757 | 2756 | | |
2758 | 2757 | | |
2759 | | - | |
| 2758 | + | |
2760 | 2759 | | |
2761 | 2760 | | |
2762 | 2761 | | |
| |||
3155 | 3154 | | |
3156 | 3155 | | |
3157 | 3156 | | |
3158 | | - | |
3159 | | - | |
| 3157 | + | |
3160 | 3158 | | |
3161 | 3159 | | |
3162 | 3160 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
This file was deleted.
0 commit comments