Skip to content

Commit f107623

Browse files
authoredMar 27, 2019
fix: downgrade @babel/preset-env temporarily (#3716)
1 parent adac48d commit f107623

File tree

3 files changed

+35
-58
lines changed

3 files changed

+35
-58
lines changed
 

‎packages/@vue/babel-preset-app/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,7 @@ module.exports = (context, options = {}) => {
123123
include,
124124
exclude: polyfills.concat(exclude || []),
125125
shippedProposals,
126-
forceAllTransforms,
127-
corejs: 2
126+
forceAllTransforms
128127
}
129128

130129
// cli-plugin-jest sets this to true because Jest runs without bundling

‎packages/@vue/babel-preset-app/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
2929
"@babel/plugin-syntax-jsx": "^7.0.0",
3030
"@babel/plugin-transform-runtime": "^7.4.0",
31-
"@babel/preset-env": "^7.4.1",
31+
"@babel/preset-env": "^7.0.0 < 7.4.0",
3232
"@babel/runtime": "^7.0.0",
3333
"@babel/runtime-corejs2": "^7.2.0",
3434
"@vue/babel-preset-jsx": "^1.0.0-beta.2",

‎yarn.lock

+33-55
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@
365365
"@babel/helper-plugin-utils" "^7.0.0"
366366
"@babel/plugin-syntax-json-strings" "^7.2.0"
367367

368-
"@babel/plugin-proposal-object-rest-spread@^7.4.0":
368+
"@babel/plugin-proposal-object-rest-spread@^7.3.4":
369369
version "7.4.0"
370370
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.4.0.tgz#e4960575205eadf2a1ab4e0c79f9504d5b82a97f"
371371
integrity sha512-uTNi8pPYyUH2eWHyYWWSYJKwKg34hhgl4/dbejEjL+64OhbHjTX7wEVWMQl82tEmdDsGeu77+s8HHLS627h6OQ==
@@ -381,7 +381,7 @@
381381
"@babel/helper-plugin-utils" "^7.0.0"
382382
"@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
383383

384-
"@babel/plugin-proposal-unicode-property-regex@^7.4.0":
384+
"@babel/plugin-proposal-unicode-property-regex@^7.2.0":
385385
version "7.4.0"
386386
resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.4.0.tgz#202d91ee977d760ef83f4f416b280d568be84623"
387387
integrity sha512-h/KjEZ3nK9wv1P1FSNb9G079jXrNYR0Ko+7XkOx85+gM24iZbPn0rh4vCftk+5QKY7y1uByFataBTmX7irEF1w==
@@ -446,7 +446,7 @@
446446
dependencies:
447447
"@babel/helper-plugin-utils" "^7.0.0"
448448

449-
"@babel/plugin-transform-async-to-generator@^7.4.0":
449+
"@babel/plugin-transform-async-to-generator@^7.3.4":
450450
version "7.4.0"
451451
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.4.0.tgz#234fe3e458dce95865c0d152d256119b237834b0"
452452
integrity sha512-EeaFdCeUULM+GPFEsf7pFcNSxM7hYjoj5fiYbyuiXobW4JhFnjAv9OWzNwHyHcKoPNpAfeRDuW6VyaXEDUBa7g==
@@ -462,15 +462,15 @@
462462
dependencies:
463463
"@babel/helper-plugin-utils" "^7.0.0"
464464

465-
"@babel/plugin-transform-block-scoping@^7.4.0":
465+
"@babel/plugin-transform-block-scoping@^7.3.4":
466466
version "7.4.0"
467467
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.4.0.tgz#164df3bb41e3deb954c4ca32ffa9fcaa56d30bcb"
468468
integrity sha512-AWyt3k+fBXQqt2qb9r97tn3iBwFpiv9xdAiG+Gr2HpAZpuayvbL55yWrsV3MyHvXk/4vmSiedhDRl1YI2Iy5nQ==
469469
dependencies:
470470
"@babel/helper-plugin-utils" "^7.0.0"
471471
lodash "^4.17.11"
472472

473-
"@babel/plugin-transform-classes@^7.4.0":
473+
"@babel/plugin-transform-classes@^7.3.4":
474474
version "7.4.0"
475475
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.4.0.tgz#e3428d3c8a3d01f33b10c529b998ba1707043d4d"
476476
integrity sha512-XGg1Mhbw4LDmrO9rSTNe+uI79tQPdGs0YASlxgweYRLZqo/EQktjaOV4tchL/UZbM0F+/94uOipmdNGoaGOEYg==
@@ -491,7 +491,7 @@
491491
dependencies:
492492
"@babel/helper-plugin-utils" "^7.0.0"
493493

494-
"@babel/plugin-transform-destructuring@^7.4.0":
494+
"@babel/plugin-transform-destructuring@^7.2.0":
495495
version "7.4.0"
496496
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.4.0.tgz#acbb9b2418d290107db333f4d6cd8aa6aea00343"
497497
integrity sha512-HySkoatyYTY3ZwLI8GGvkRWCFrjAGXUHur5sMecmCIdIharnlcWWivOqDJI76vvmVZfzwb6G08NREsrY96RhGQ==
@@ -522,7 +522,7 @@
522522
"@babel/helper-builder-binary-assignment-operator-visitor" "^7.1.0"
523523
"@babel/helper-plugin-utils" "^7.0.0"
524524

525-
"@babel/plugin-transform-for-of@^7.4.0":
525+
"@babel/plugin-transform-for-of@^7.2.0":
526526
version "7.4.0"
527527
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.4.0.tgz#56c8c36677f5d4a16b80b12f7b768de064aaeb5f"
528528
integrity sha512-vWdfCEYLlYSxbsKj5lGtzA49K3KANtb8qCPQ1em07txJzsBwY+cKJzBHizj5fl3CCx7vt+WPdgDLTHmydkbQSQ==
@@ -552,7 +552,7 @@
552552
"@babel/helper-module-transforms" "^7.1.0"
553553
"@babel/helper-plugin-utils" "^7.0.0"
554554

555-
"@babel/plugin-transform-modules-commonjs@^7.4.0":
555+
"@babel/plugin-transform-modules-commonjs@^7.2.0":
556556
version "7.4.0"
557557
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.4.0.tgz#3b8ec61714d3b75d20c5ccfa157f2c2e087fd4ca"
558558
integrity sha512-iWKAooAkipG7g1IY0eah7SumzfnIT3WNhT4uYB2kIsvHnNSB6MDYVa5qyICSwaTBDBY2c4SnJ3JtEa6ltJd6Jw==
@@ -561,7 +561,7 @@
561561
"@babel/helper-plugin-utils" "^7.0.0"
562562
"@babel/helper-simple-access" "^7.1.0"
563563

564-
"@babel/plugin-transform-modules-systemjs@^7.4.0":
564+
"@babel/plugin-transform-modules-systemjs@^7.3.4":
565565
version "7.4.0"
566566
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.4.0.tgz#c2495e55528135797bc816f5d50f851698c586a1"
567567
integrity sha512-gjPdHmqiNhVoBqus5qK60mWPp1CmYWp/tkh11mvb0rrys01HycEGD7NvvSoKXlWEfSM9TcL36CpsK8ElsADptQ==
@@ -577,14 +577,14 @@
577577
"@babel/helper-module-transforms" "^7.1.0"
578578
"@babel/helper-plugin-utils" "^7.0.0"
579579

580-
"@babel/plugin-transform-named-capturing-groups-regex@^7.4.2":
580+
"@babel/plugin-transform-named-capturing-groups-regex@^7.3.0":
581581
version "7.4.2"
582582
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.4.2.tgz#800391136d6cbcc80728dbdba3c1c6e46f86c12e"
583583
integrity sha512-NsAuliSwkL3WO2dzWTOL1oZJHm0TM8ZY8ZSxk2ANyKkt5SQlToGA4pzctmq1BEjoacurdwZ3xp2dCQWJkME0gQ==
584584
dependencies:
585585
regexp-tree "^0.1.0"
586586

587-
"@babel/plugin-transform-new-target@^7.4.0":
587+
"@babel/plugin-transform-new-target@^7.0.0":
588588
version "7.4.0"
589589
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.4.0.tgz#67658a1d944edb53c8d4fa3004473a0dd7838150"
590590
integrity sha512-6ZKNgMQmQmrEX/ncuCwnnw1yVGoaOW5KpxNhoWI7pCQdA0uZ0HqHGqenCUIENAnxRjy2WwNQ30gfGdIgqJXXqw==
@@ -599,7 +599,7 @@
599599
"@babel/helper-plugin-utils" "^7.0.0"
600600
"@babel/helper-replace-supers" "^7.1.0"
601601

602-
"@babel/plugin-transform-parameters@^7.4.0":
602+
"@babel/plugin-transform-parameters@^7.2.0":
603603
version "7.4.0"
604604
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.4.0.tgz#a1309426fac4eecd2a9439a4c8c35124a11a48a9"
605605
integrity sha512-Xqv6d1X+doyiuCGDoVJFtlZx0onAX0tnc3dY8w71pv/O0dODAbusVv2Ale3cGOwfiyi895ivOBhYa9DhAM8dUA==
@@ -608,7 +608,7 @@
608608
"@babel/helper-get-function-arity" "^7.0.0"
609609
"@babel/helper-plugin-utils" "^7.0.0"
610610

611-
"@babel/plugin-transform-regenerator@^7.4.0":
611+
"@babel/plugin-transform-regenerator@^7.3.4":
612612
version "7.4.0"
613613
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.4.0.tgz#0780e27ee458cc3fdbad18294d703e972ae1f6d1"
614614
integrity sha512-SZ+CgL4F0wm4npojPU6swo/cK4FcbLgxLd4cWpHaNXY/NJ2dpahODCqBbAwb2rDmVszVb3SSjnk9/vik3AYdBw==
@@ -671,53 +671,51 @@
671671
"@babel/helper-regex" "^7.0.0"
672672
regexpu-core "^4.1.3"
673673

674-
"@babel/preset-env@^7.4.1":
675-
version "7.4.2"
676-
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.4.2.tgz#2f5ba1de2daefa9dcca653848f96c7ce2e406676"
677-
integrity sha512-OEz6VOZaI9LW08CWVS3d9g/0jZA6YCn1gsKIy/fut7yZCJti5Lm1/Hi+uo/U+ODm7g4I6gULrCP+/+laT8xAsA==
674+
"@babel/preset-env@^7.0.0 < 7.4.0":
675+
version "7.3.4"
676+
resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.3.4.tgz#887cf38b6d23c82f19b5135298bdb160062e33e1"
677+
integrity sha512-2mwqfYMK8weA0g0uBKOt4FE3iEodiHy9/CW0b+nWXcbL+pGzLx8ESYc+j9IIxr6LTDHWKgPm71i9smo02bw+gA==
678678
dependencies:
679679
"@babel/helper-module-imports" "^7.0.0"
680680
"@babel/helper-plugin-utils" "^7.0.0"
681681
"@babel/plugin-proposal-async-generator-functions" "^7.2.0"
682682
"@babel/plugin-proposal-json-strings" "^7.2.0"
683-
"@babel/plugin-proposal-object-rest-spread" "^7.4.0"
683+
"@babel/plugin-proposal-object-rest-spread" "^7.3.4"
684684
"@babel/plugin-proposal-optional-catch-binding" "^7.2.0"
685-
"@babel/plugin-proposal-unicode-property-regex" "^7.4.0"
685+
"@babel/plugin-proposal-unicode-property-regex" "^7.2.0"
686686
"@babel/plugin-syntax-async-generators" "^7.2.0"
687687
"@babel/plugin-syntax-json-strings" "^7.2.0"
688688
"@babel/plugin-syntax-object-rest-spread" "^7.2.0"
689689
"@babel/plugin-syntax-optional-catch-binding" "^7.2.0"
690690
"@babel/plugin-transform-arrow-functions" "^7.2.0"
691-
"@babel/plugin-transform-async-to-generator" "^7.4.0"
691+
"@babel/plugin-transform-async-to-generator" "^7.3.4"
692692
"@babel/plugin-transform-block-scoped-functions" "^7.2.0"
693-
"@babel/plugin-transform-block-scoping" "^7.4.0"
694-
"@babel/plugin-transform-classes" "^7.4.0"
693+
"@babel/plugin-transform-block-scoping" "^7.3.4"
694+
"@babel/plugin-transform-classes" "^7.3.4"
695695
"@babel/plugin-transform-computed-properties" "^7.2.0"
696-
"@babel/plugin-transform-destructuring" "^7.4.0"
696+
"@babel/plugin-transform-destructuring" "^7.2.0"
697697
"@babel/plugin-transform-dotall-regex" "^7.2.0"
698698
"@babel/plugin-transform-duplicate-keys" "^7.2.0"
699699
"@babel/plugin-transform-exponentiation-operator" "^7.2.0"
700-
"@babel/plugin-transform-for-of" "^7.4.0"
700+
"@babel/plugin-transform-for-of" "^7.2.0"
701701
"@babel/plugin-transform-function-name" "^7.2.0"
702702
"@babel/plugin-transform-literals" "^7.2.0"
703703
"@babel/plugin-transform-modules-amd" "^7.2.0"
704-
"@babel/plugin-transform-modules-commonjs" "^7.4.0"
705-
"@babel/plugin-transform-modules-systemjs" "^7.4.0"
704+
"@babel/plugin-transform-modules-commonjs" "^7.2.0"
705+
"@babel/plugin-transform-modules-systemjs" "^7.3.4"
706706
"@babel/plugin-transform-modules-umd" "^7.2.0"
707-
"@babel/plugin-transform-named-capturing-groups-regex" "^7.4.2"
708-
"@babel/plugin-transform-new-target" "^7.4.0"
707+
"@babel/plugin-transform-named-capturing-groups-regex" "^7.3.0"
708+
"@babel/plugin-transform-new-target" "^7.0.0"
709709
"@babel/plugin-transform-object-super" "^7.2.0"
710-
"@babel/plugin-transform-parameters" "^7.4.0"
711-
"@babel/plugin-transform-regenerator" "^7.4.0"
710+
"@babel/plugin-transform-parameters" "^7.2.0"
711+
"@babel/plugin-transform-regenerator" "^7.3.4"
712712
"@babel/plugin-transform-shorthand-properties" "^7.2.0"
713713
"@babel/plugin-transform-spread" "^7.2.0"
714714
"@babel/plugin-transform-sticky-regex" "^7.2.0"
715715
"@babel/plugin-transform-template-literals" "^7.2.0"
716716
"@babel/plugin-transform-typeof-symbol" "^7.2.0"
717717
"@babel/plugin-transform-unicode-regex" "^7.2.0"
718-
"@babel/types" "^7.4.0"
719-
browserslist "^4.4.2"
720-
core-js-compat "^3.0.0"
718+
browserslist "^4.3.4"
721719
invariant "^2.2.2"
722720
js-levenshtein "^1.1.3"
723721
semver "^5.3.0"
@@ -3610,7 +3608,7 @@ browserslist@^4.0.0, browserslist@^4.4.1:
36103608
electron-to-chromium "^1.3.103"
36113609
node-releases "^1.1.3"
36123610

3613-
browserslist@^4.4.2, browserslist@^4.5.1:
3611+
browserslist@^4.3.4:
36143612
version "4.5.2"
36153613
resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.5.2.tgz#36ad281f040af684555a23c780f5c2081c752df0"
36163614
integrity sha512-zmJVLiKLrzko0iszd/V4SsjTaomFeoVzQGYYOYgRgsbh7WNh95RgDB0CmBdFWYs/3MyFSt69NypjL/h3iaddKQ==
@@ -4821,26 +4819,6 @@ copy-webpack-plugin@^4.5.1, copy-webpack-plugin@^4.6.0:
48214819
p-limit "^1.0.0"
48224820
serialize-javascript "^1.4.0"
48234821

4824-
core-js-compat@^3.0.0:
4825-
version "3.0.0"
4826-
resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.0.0.tgz#cd9810b8000742535a4a43773866185e310bd4f7"
4827-
integrity sha512-W/Ppz34uUme3LmXWjMgFlYyGnbo1hd9JvA0LNQ4EmieqVjg2GPYbj3H6tcdP2QGPGWdRKUqZVbVKLNIFVs/HiA==
4828-
dependencies:
4829-
browserslist "^4.5.1"
4830-
core-js "3.0.0"
4831-
core-js-pure "3.0.0"
4832-
semver "^5.6.0"
4833-
4834-
core-js-pure@3.0.0:
4835-
version "3.0.0"
4836-
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.0.0.tgz#a5679adb4875427c8c0488afc93e6f5b7125859b"
4837-
integrity sha512-yPiS3fQd842RZDgo/TAKGgS0f3p2nxssF1H65DIZvZv0Od5CygP8puHXn3IQiM/39VAvgCbdaMQpresrbGgt9g==
4838-
4839-
core-js@3.0.0:
4840-
version "3.0.0"
4841-
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.0.0.tgz#a8dbfa978d29bfc263bfb66c556d0ca924c28957"
4842-
integrity sha512-WBmxlgH2122EzEJ6GH8o9L/FeoUKxxxZ6q6VUxoTlsE4EvbTWKJb447eyVxTEuq0LpXjlq/kCB2qgBvsYRkLvQ==
4843-
48444822
core-js@^2.4.0, core-js@^2.5.7:
48454823
version "2.6.3"
48464824
resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.3.tgz#4b70938bdffdaf64931e66e2db158f0892289c49"
@@ -13662,7 +13640,7 @@ ps-list@^4.0.0:
1366213640
pify "^3.0.0"
1366313641
tasklist "^3.1.0"
1366413642

13665-
ps-tree@1.2.0, ps-tree@^1.1.1:
13643+
ps-tree@1.2.0:
1366613644
version "1.2.0"
1366713645
resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.2.0.tgz#5e7425b89508736cdd4f2224d028f7bb3f722ebd"
1366813646
integrity sha512-0VnamPPYHl4uaU/nSFeZZpR21QAWRz+sRv4iW9+v/GS/J5U5iZB5BNN6J0RMoOvdx2gWM2+ZFMIm58q24e4UYA==

0 commit comments

Comments
 (0)
Please sign in to comment.