Commit b2cfc5b
Skip class fields transform when not necessary for priv methods (#14169)
Co-authored-by: Huáng Jùnliàng <[email protected]>1 parent 478a970 commit b2cfc5b
180 files changed
Lines changed: 387 additions & 237 deletions
File tree
- packages
- babel-helper-create-class-features-plugin
- src
- test/fixtures/field-reinitialization/private-field
- babel-preset-env
- src
- test/fixtures
- bugfixes
- _esmodules-no-bugfixes
- _esmodules
- edge-default-params-chrome-40
- edge-default-params-chrome-70
- edge-default-params-edge-14
- edge-default-params-edge-15
- edge-default-params-edge-17-no-bugfixes
- edge-default-params-edge-17
- edge-default-params-edge-18
- edge-function-name-edge-14-no-bugfixes
- edge-function-name-edge-14
- edge-function-name-edge-15
- safari-block-scoping-safari-10-no-bugfixes
- safari-block-scoping-safari-10
- safari-block-scoping-safari-11
- safari-block-scoping-safari-9
- corejs2-babel-7/usage-browserslist-config-ignore
- corejs2/usage-browserslist-config-ignore
- corejs3-babel-7/usage-browserslist-config-ignore
- corejs3/usage-browserslist-config-ignore
- debug-babel-7
- browserslists-defaults-not-ie
- browserslists-defaults
- browserslists-last-2-versions-not-ie
- entry-corejs2-electron
- entry-corejs2-force-all-transforms
- entry-corejs2-no-import
- entry-corejs2-proposals-chrome-71
- entry-corejs2-shippedProposals-chrome-71
- entry-corejs2-specific-targets
- entry-corejs2-versions-decimals
- entry-corejs2-versions-strings
- entry-corejs2
- entry-corejs3-all-chrome-71
- entry-corejs3-electron
- entry-corejs3-es-chrome-71
- entry-corejs3-es-proposals-chrome-71
- entry-corejs3-force-all-transforms
- entry-corejs3-no-import
- entry-corejs3-proposals-chrome-71
- entry-corejs3-runtime-only-chrome-71
- entry-corejs3-runtime-only
- entry-corejs3-specific-entries-chrome-71
- entry-corejs3-specific-targets
- entry-corejs3-stable-chrome-71
- entry-corejs3-stable-samsung-8.2
- entry-corejs3-stage-chrome-71
- entry-corejs3-versions-decimals
- entry-corejs3-versions-strings-minor-3.0
- entry-corejs3-versions-strings-minor-3.1
- entry-corejs3-versions-strings
- entry-corejs3-web-chrome-71
- entry-corejs3
- entry-no-corejs-no-import
- entry-no-corejs-uglify
- entry-no-corejs
- plugins-only
- shippedProposals-chrome-80
- top-level-targets-shadowed
- top-level-targets
- usage-corejs2-1
- usage-corejs2-2
- usage-corejs2-chrome-71-1
- usage-corejs2-chrome-71-2
- usage-corejs2-none-1
- usage-corejs2-none-2
- usage-corejs2-proposals-1
- usage-corejs2-proposals-2
- usage-corejs2-proposals-chrome-71-1
- usage-corejs2-proposals-chrome-71-2
- usage-corejs2-shippedProposals-1
- usage-corejs2-shippedProposals-2
- usage-corejs2-with-import
- usage-corejs3-1
- usage-corejs3-2
- usage-corejs3-chrome-71-1
- usage-corejs3-chrome-71-2
- usage-corejs3-none-1
- usage-corejs3-none-2
- usage-corejs3-proposals-1
- usage-corejs3-proposals-2
- usage-corejs3-proposals-chrome-71-1
- usage-corejs3-proposals-chrome-71-2
- usage-corejs3-shippedProposals-1
- usage-corejs3-shippedProposals-2
- usage-corejs3-versions-strings-minor-3.0-1
- usage-corejs3-versions-strings-minor-3.0-2
- usage-corejs3-versions-strings-minor-3.1-1
- usage-corejs3-versions-strings-minor-3.1-2
- usage-corejs3-with-import
- usage-no-corejs-1
- usage-no-corejs-2
- usage-no-corejs-none-1
- usage-no-corejs-none-2
- debug
- browserslists-defaults-not-ie
- browserslists-defaults
- browserslists-last-2-versions-not-ie
- entry-corejs2-electron
- entry-corejs2-force-all-transforms
- entry-corejs2-no-import
- entry-corejs2-proposals-chrome-71
- entry-corejs2-shippedProposals-chrome-71
- entry-corejs2-specific-targets
- entry-corejs2-versions-decimals
- entry-corejs2-versions-strings
- entry-corejs2
- entry-corejs3-all-chrome-71
- entry-corejs3-electron
- entry-corejs3-es-chrome-71
- entry-corejs3-es-proposals-chrome-71
- entry-corejs3-force-all-transforms
- entry-corejs3-no-import
- entry-corejs3-proposals-chrome-71
- entry-corejs3-runtime-only-chrome-71
- entry-corejs3-runtime-only
- entry-corejs3-specific-entries-chrome-71
- entry-corejs3-specific-targets
- entry-corejs3-stable-chrome-71
- entry-corejs3-stable-samsung-8.2
- entry-corejs3-stage-chrome-71
- entry-corejs3-versions-decimals
- entry-corejs3-versions-strings-minor-3.0
- entry-corejs3-versions-strings-minor-3.1
- entry-corejs3-versions-strings
- entry-corejs3-web-chrome-71
- entry-corejs3
- entry-no-corejs-no-import
- entry-no-corejs-uglify
- entry-no-corejs
- plugins-only
- shippedProposals-chrome-80
- top-level-targets-shadowed
- top-level-targets
- usage-corejs2-1
- usage-corejs2-2
- usage-corejs2-chrome-71-1
- usage-corejs2-chrome-71-2
- usage-corejs2-none-1
- usage-corejs2-none-2
- usage-corejs2-proposals-1
- usage-corejs2-proposals-2
- usage-corejs2-proposals-chrome-71-1
- usage-corejs2-proposals-chrome-71-2
- usage-corejs2-shippedProposals-1
- usage-corejs2-shippedProposals-2
- usage-corejs2-with-import
- usage-corejs3-1
- usage-corejs3-2
- usage-corejs3-chrome-71-1
- usage-corejs3-chrome-71-2
- usage-corejs3-none-1
- usage-corejs3-none-2
- usage-corejs3-proposals-1
- usage-corejs3-proposals-2
- usage-corejs3-proposals-chrome-71-1
- usage-corejs3-proposals-chrome-71-2
- usage-corejs3-shippedProposals-1
- usage-corejs3-shippedProposals-2
- usage-corejs3-versions-strings-minor-3.0-1
- usage-corejs3-versions-strings-minor-3.0-2
- usage-corejs3-versions-strings-minor-3.1-1
- usage-corejs3-versions-strings-minor-3.1-2
- usage-corejs3-with-import
- usage-no-corejs-1
- usage-no-corejs-2
- usage-no-corejs-none-1
- usage-no-corejs-none-2
- plugins-integration
- class-features-node-12-babel-7
- class-features-node-12
- preset-options-babel-7/safari-10_3-block-scoped
- preset-options/safari-10_3-block-scoped
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 82 additions & 45 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
130 | 136 | | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
141 | 142 | | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
149 | 155 | | |
150 | 156 | | |
151 | 157 | | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 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 | + | |
157 | 186 | | |
158 | 187 | | |
159 | 188 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
165 | 197 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
171 | 202 | | |
172 | 203 | | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
177 | 209 | | |
178 | 210 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
186 | 215 | | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
187 | 224 | | |
Lines changed: 2 additions & 20 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 15 | + | |
21 | 16 | | |
22 | 17 | | |
23 | 18 | | |
| |||
98 | 93 | | |
99 | 94 | | |
100 | 95 | | |
101 | | - | |
| 96 | + | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
| |||
113 | 108 | | |
114 | 109 | | |
115 | 110 | | |
116 | | - | |
117 | | - | |
118 | 111 | | |
119 | 112 | | |
120 | 113 | | |
| |||
266 | 259 | | |
267 | 260 | | |
268 | 261 | | |
269 | | - | |
270 | | - | |
271 | | - | |
272 | | - | |
273 | | - | |
274 | | - | |
275 | | - | |
276 | | - | |
277 | | - | |
278 | | - | |
279 | | - | |
280 | 262 | | |
281 | 263 | | |
282 | 264 | | |
| |||
Lines changed: 1 addition & 1 deletion
| 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 | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 20 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
0 commit comments