Commit 38ee8b4
Expand evaluation of global built-ins in
* add global built-in
* add test for global built-in
* fix lint errors
* remove btoa and atob functions
* rename of constants and methods
* retrigger checks
* prettier changes file
* add node version check
* add tests for the node version check
* add a check for the split node version
* Update packages/babel-traverse/src/path/evaluation.ts
Co-authored-by: Huáng Jùnliàng <[email protected]>
* remove unused constant
* update btoa and atob tests
* Update packages/babel-traverse/test/evaluation.js
Co-authored-by: Huáng Jùnliàng <[email protected]>
---------
Co-authored-by: = <=>
Co-authored-by: Huáng Jùnliàng <[email protected]>@babel/traverse (#15797)1 parent 54d30f2 commit 38ee8b4
File tree
2 files changed
+85
-5
lines changed- packages/babel-traverse
- src/path
- test
2 files changed
+85
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
7 | 20 | | |
8 | 21 | | |
9 | | - | |
10 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
11 | 35 | | |
12 | 36 | | |
13 | 37 | | |
| |||
402 | 426 | | |
403 | 427 | | |
404 | 428 | | |
405 | | - | |
| 429 | + | |
| 430 | + | |
406 | 431 | | |
407 | 432 | | |
408 | 433 | | |
| |||
415 | 440 | | |
416 | 441 | | |
417 | 442 | | |
418 | | - | |
| 443 | + | |
419 | 444 | | |
420 | 445 | | |
421 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
155 | 210 | | |
156 | 211 | | |
157 | 212 | | |
| |||
0 commit comments