Skip to content

Commit 9ea68a8

Browse files
committed
chore: bump minimum required jsx preset / plugin versions
To avoid issues like vuejs/jsx-vue2#183
1 parent 82ab316 commit 9ea68a8

File tree

2 files changed

+93
-51
lines changed

2 files changed

+93
-51
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
"@babel/plugin-transform-runtime": "^7.11.0",
3333
"@babel/preset-env": "^7.11.0",
3434
"@babel/runtime": "^7.11.0",
35-
"@vue/babel-plugin-jsx": "^1.0.0-0",
36-
"@vue/babel-preset-jsx": "^1.1.2",
35+
"@vue/babel-plugin-jsx": "^1.0.3",
36+
"@vue/babel-preset-jsx": "^1.2.4",
3737
"babel-plugin-dynamic-import-node": "^2.3.3",
3838
"core-js": "^3.6.5",
3939
"core-js-compat": "^3.6.5",

yarn.lock

+91-49
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,13 @@
8787
dependencies:
8888
"@babel/highlight" "^7.10.4"
8989

90+
"@babel/code-frame@^7.12.13":
91+
version "7.12.13"
92+
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
93+
integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==
94+
dependencies:
95+
"@babel/highlight" "^7.12.13"
96+
9097
"@babel/compat-data@^7.10.4":
9198
version "7.10.5"
9299
resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.10.5.tgz#d38425e67ea96b1480a3f50404d1bf85676301a6"
@@ -411,6 +418,15 @@
411418
chalk "^2.0.0"
412419
js-tokens "^4.0.0"
413420

421+
"@babel/highlight@^7.12.13":
422+
version "7.13.10"
423+
resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.13.10.tgz#a8b2a66148f5b27d666b15d81774347a731d52d1"
424+
integrity sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==
425+
dependencies:
426+
"@babel/helper-validator-identifier" "^7.12.11"
427+
chalk "^2.0.0"
428+
js-tokens "^4.0.0"
429+
414430
"@babel/parser@^7.1.0", "@babel/parser@^7.1.3", "@babel/parser@^7.1.6", "@babel/parser@^7.10.4", "@babel/parser@^7.10.5", "@babel/parser@^7.4.3", "@babel/parser@^7.7.0":
415431
version "7.10.5"
416432
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.10.5.tgz#e7c6bf5a7deff957cec9f04b551e2762909d826b"
@@ -421,7 +437,7 @@
421437
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.11.0.tgz#a9d7e11aead25d3b422d17b2c6502c8dddef6a5d"
422438
integrity sha512-qvRvi4oI8xii8NllyEc4MDJjuZiNaRzyb7Y7lup1NqJV8TZHF4O27CcP+72WPn/k1zkgJ6WJfnIbk4jTsVAZHw==
423439

424-
"@babel/parser@^7.12.0":
440+
"@babel/parser@^7.12.0", "@babel/parser@^7.12.13":
425441
version "7.13.10"
426442
resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.13.10.tgz#8f8f9bf7b3afa3eabd061f7a5bcdf4fec3c48409"
427443
integrity sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ==
@@ -1160,6 +1176,15 @@
11601176
dependencies:
11611177
regenerator-runtime "^0.13.4"
11621178

1179+
"@babel/template@^7.0.0":
1180+
version "7.12.13"
1181+
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.13.tgz#530265be8a2589dbb37523844c5bcb55947fb327"
1182+
integrity sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==
1183+
dependencies:
1184+
"@babel/code-frame" "^7.12.13"
1185+
"@babel/parser" "^7.12.13"
1186+
"@babel/types" "^7.12.13"
1187+
11631188
"@babel/template@^7.10.4", "@babel/template@^7.4.0":
11641189
version "7.10.4"
11651190
resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.10.4.tgz#3251996c4200ebc71d1a8fc405fba940f36ba278"
@@ -1226,7 +1251,7 @@
12261251
lodash "^4.17.19"
12271252
to-fast-properties "^2.0.0"
12281253

1229-
"@babel/types@^7.12.0", "@babel/types@^7.12.12":
1254+
"@babel/types@^7.12.0", "@babel/types@^7.12.12", "@babel/types@^7.12.13":
12301255
version "7.13.0"
12311256
resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.13.0.tgz#74424d2816f0171b4100f0ab34e9a374efdf7f80"
12321257
integrity sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==
@@ -3218,87 +3243,104 @@
32183243
semver "^7.3.2"
32193244
tsutils "^3.17.1"
32203245

3221-
"@vue/babel-helper-vue-jsx-merge-props@^1.0.0":
3222-
version "1.0.0"
3223-
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.0.0.tgz#048fe579958da408fb7a8b2a3ec050b50a661040"
3224-
integrity sha512-6tyf5Cqm4m6v7buITuwS+jHzPlIPxbFzEhXR5JGZpbrvOcp1hiQKckd305/3C7C36wFekNTQSxAtgeM0j0yoUw==
3246+
"@vue/babel-helper-vue-jsx-merge-props@^1.2.1":
3247+
version "1.2.1"
3248+
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-jsx-merge-props/-/babel-helper-vue-jsx-merge-props-1.2.1.tgz#31624a7a505fb14da1d58023725a4c5f270e6a81"
3249+
integrity sha512-QOi5OW45e2R20VygMSNhyQHvpdUwQZqGPc748JLGCYEy+yp8fNFNdbNIGAgZmi9e+2JHPd6i6idRuqivyicIkA==
32253250

3226-
"@vue/babel-helper-vue-transform-on@^1.0.0-rc.2":
3227-
version "1.0.0-rc.2"
3228-
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.0.0-rc.2.tgz#7246341f666e7c6e65b13da420e2ce85714fbbca"
3229-
integrity sha512-1+7CwjQ0Kasml6rHoNQUmbISwqLNNfFVBUcZl6QBremUl296ZmLrVQPqJP5pyAAWjZke5bpI1hlj+LVVuT7Jcg==
3251+
"@vue/babel-helper-vue-transform-on@^1.0.2":
3252+
version "1.0.2"
3253+
resolved "https://registry.yarnpkg.com/@vue/babel-helper-vue-transform-on/-/babel-helper-vue-transform-on-1.0.2.tgz#9b9c691cd06fc855221a2475c3cc831d774bc7dc"
3254+
integrity sha512-hz4R8tS5jMn8lDq6iD+yWL6XNB699pGIVLk7WSJnn1dbpjaazsjZQkieJoRX6gW5zpYSCFqQ7jUquPNY65tQYA==
32303255

3231-
"@vue/babel-plugin-jsx@^1.0.0-0":
3232-
version "1.0.0-rc.2"
3233-
resolved "https://registry.yarnpkg.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.0.0-rc.2.tgz#2c72a6bf6d10f57bb6bf1a2799214a541933345b"
3234-
integrity sha512-NVTDsaYShZx8ZqZo1Z0ndNrdoLfwRTwz0e6S+7SEn3j21WwlbVHMhD6t/tDBhvscwAQ5N/AFuCCrf90iyC5sHA==
3256+
"@vue/babel-plugin-jsx@^1.0.3":
3257+
version "1.0.3"
3258+
resolved "https://registry.yarnpkg.com/@vue/babel-plugin-jsx/-/babel-plugin-jsx-1.0.3.tgz#ad5ee86ebc9fc40900add9914534e223c719eace"
3259+
integrity sha512-+52ZQFmrM0yh61dQlgwQlfHZXmYbswbQEL25SOSt9QkjegAdfIGu87oELw0l8H6cuJYazZCiNjPR9eU++ZIbxg==
32353260
dependencies:
32363261
"@babel/helper-module-imports" "^7.0.0"
32373262
"@babel/plugin-syntax-jsx" "^7.0.0"
3263+
"@babel/template" "^7.0.0"
32383264
"@babel/traverse" "^7.0.0"
32393265
"@babel/types" "^7.0.0"
3240-
"@vue/babel-helper-vue-transform-on" "^1.0.0-rc.2"
3266+
"@vue/babel-helper-vue-transform-on" "^1.0.2"
32413267
camelcase "^6.0.0"
32423268
html-tags "^3.1.0"
32433269
svg-tags "^1.0.0"
32443270

3245-
"@vue/babel-plugin-transform-vue-jsx@^1.1.2":
3246-
version "1.1.2"
3247-
resolved "https://registry.yarnpkg.com/@vue/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-1.1.2.tgz#c0a3e6efc022e75e4247b448a8fc6b86f03e91c0"
3248-
integrity sha512-YfdaoSMvD1nj7+DsrwfTvTnhDXI7bsuh+Y5qWwvQXlD24uLgnsoww3qbiZvWf/EoviZMrvqkqN4CBw0W3BWUTQ==
3271+
"@vue/babel-plugin-transform-vue-jsx@^1.2.1":
3272+
version "1.2.1"
3273+
resolved "https://registry.yarnpkg.com/@vue/babel-plugin-transform-vue-jsx/-/babel-plugin-transform-vue-jsx-1.2.1.tgz#646046c652c2f0242727f34519d917b064041ed7"
3274+
integrity sha512-HJuqwACYehQwh1fNT8f4kyzqlNMpBuUK4rSiSES5D4QsYncv5fxFsLyrxFPG2ksO7t5WP+Vgix6tt6yKClwPzA==
32493275
dependencies:
32503276
"@babel/helper-module-imports" "^7.0.0"
32513277
"@babel/plugin-syntax-jsx" "^7.2.0"
3252-
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
3278+
"@vue/babel-helper-vue-jsx-merge-props" "^1.2.1"
32533279
html-tags "^2.0.0"
32543280
lodash.kebabcase "^4.1.1"
32553281
svg-tags "^1.0.0"
32563282

3257-
"@vue/babel-preset-jsx@^1.1.2":
3258-
version "1.1.2"
3259-
resolved "https://registry.yarnpkg.com/@vue/babel-preset-jsx/-/babel-preset-jsx-1.1.2.tgz#2e169eb4c204ea37ca66c2ea85a880bfc99d4f20"
3260-
integrity sha512-zDpVnFpeC9YXmvGIDSsKNdL7qCG2rA3gjywLYHPCKDT10erjxF4U+6ay9X6TW5fl4GsDlJp9bVfAVQAAVzxxvQ==
3283+
"@vue/babel-preset-jsx@^1.2.4":
3284+
version "1.2.4"
3285+
resolved "https://registry.yarnpkg.com/@vue/babel-preset-jsx/-/babel-preset-jsx-1.2.4.tgz#92fea79db6f13b01e80d3a0099e2924bdcbe4e87"
3286+
integrity sha512-oRVnmN2a77bYDJzeGSt92AuHXbkIxbf/XXSE3klINnh9AXBmVS1DGa1f0d+dDYpLfsAKElMnqKTQfKn7obcL4w==
3287+
dependencies:
3288+
"@vue/babel-helper-vue-jsx-merge-props" "^1.2.1"
3289+
"@vue/babel-plugin-transform-vue-jsx" "^1.2.1"
3290+
"@vue/babel-sugar-composition-api-inject-h" "^1.2.1"
3291+
"@vue/babel-sugar-composition-api-render-instance" "^1.2.4"
3292+
"@vue/babel-sugar-functional-vue" "^1.2.2"
3293+
"@vue/babel-sugar-inject-h" "^1.2.2"
3294+
"@vue/babel-sugar-v-model" "^1.2.3"
3295+
"@vue/babel-sugar-v-on" "^1.2.3"
3296+
3297+
"@vue/babel-sugar-composition-api-inject-h@^1.2.1":
3298+
version "1.2.1"
3299+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-composition-api-inject-h/-/babel-sugar-composition-api-inject-h-1.2.1.tgz#05d6e0c432710e37582b2be9a6049b689b6f03eb"
3300+
integrity sha512-4B3L5Z2G+7s+9Bwbf+zPIifkFNcKth7fQwekVbnOA3cr3Pq71q71goWr97sk4/yyzH8phfe5ODVzEjX7HU7ItQ==
32613301
dependencies:
3262-
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
3263-
"@vue/babel-plugin-transform-vue-jsx" "^1.1.2"
3264-
"@vue/babel-sugar-functional-vue" "^1.1.2"
3265-
"@vue/babel-sugar-inject-h" "^1.1.2"
3266-
"@vue/babel-sugar-v-model" "^1.1.2"
3267-
"@vue/babel-sugar-v-on" "^1.1.2"
3302+
"@babel/plugin-syntax-jsx" "^7.2.0"
32683303

3269-
"@vue/babel-sugar-functional-vue@^1.1.2":
3270-
version "1.1.2"
3271-
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-functional-vue/-/babel-sugar-functional-vue-1.1.2.tgz#f7e24fba09e6f1ee70104560a8808057555f1a9a"
3272-
integrity sha512-YhmdJQSVEFF5ETJXzrMpj0nkCXEa39TvVxJTuVjzvP2rgKhdMmQzlJuMv/HpadhZaRVMCCF3AEjjJcK5q/cYzQ==
3304+
"@vue/babel-sugar-composition-api-render-instance@^1.2.4":
3305+
version "1.2.4"
3306+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-composition-api-render-instance/-/babel-sugar-composition-api-render-instance-1.2.4.tgz#e4cbc6997c344fac271785ad7a29325c51d68d19"
3307+
integrity sha512-joha4PZznQMsxQYXtR3MnTgCASC9u3zt9KfBxIeuI5g2gscpTsSKRDzWQt4aqNIpx6cv8On7/m6zmmovlNsG7Q==
32733308
dependencies:
32743309
"@babel/plugin-syntax-jsx" "^7.2.0"
32753310

3276-
"@vue/babel-sugar-inject-h@^1.1.2":
3277-
version "1.1.2"
3278-
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-inject-h/-/babel-sugar-inject-h-1.1.2.tgz#8a5276b6d8e2ed16ffc8078aad94236274e6edf0"
3279-
integrity sha512-VRSENdTvD5htpnVp7i7DNuChR5rVMcORdXjvv5HVvpdKHzDZAYiLSD+GhnhxLm3/dMuk8pSzV+k28ECkiN5m8w==
3311+
"@vue/babel-sugar-functional-vue@^1.2.2":
3312+
version "1.2.2"
3313+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-functional-vue/-/babel-sugar-functional-vue-1.2.2.tgz#267a9ac8d787c96edbf03ce3f392c49da9bd2658"
3314+
integrity sha512-JvbgGn1bjCLByIAU1VOoepHQ1vFsroSA/QkzdiSs657V79q6OwEWLCQtQnEXD/rLTA8rRit4rMOhFpbjRFm82w==
32803315
dependencies:
32813316
"@babel/plugin-syntax-jsx" "^7.2.0"
32823317

3283-
"@vue/babel-sugar-v-model@^1.1.2":
3284-
version "1.1.2"
3285-
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-v-model/-/babel-sugar-v-model-1.1.2.tgz#1ff6fd1b800223fc9cb1e84dceb5e52d737a8192"
3286-
integrity sha512-vLXPvNq8vDtt0u9LqFdpGM9W9IWDmCmCyJXuozlq4F4UYVleXJ2Fa+3JsnTZNJcG+pLjjfnEGHci2339Kj5sGg==
3318+
"@vue/babel-sugar-inject-h@^1.2.2":
3319+
version "1.2.2"
3320+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-inject-h/-/babel-sugar-inject-h-1.2.2.tgz#d738d3c893367ec8491dcbb669b000919293e3aa"
3321+
integrity sha512-y8vTo00oRkzQTgufeotjCLPAvlhnpSkcHFEp60+LJUwygGcd5Chrpn5480AQp/thrxVm8m2ifAk0LyFel9oCnw==
3322+
dependencies:
3323+
"@babel/plugin-syntax-jsx" "^7.2.0"
3324+
3325+
"@vue/babel-sugar-v-model@^1.2.3":
3326+
version "1.2.3"
3327+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-v-model/-/babel-sugar-v-model-1.2.3.tgz#fa1f29ba51ebf0aa1a6c35fa66d539bc459a18f2"
3328+
integrity sha512-A2jxx87mySr/ulAsSSyYE8un6SIH0NWHiLaCWpodPCVOlQVODCaSpiR4+IMsmBr73haG+oeCuSvMOM+ttWUqRQ==
32873329
dependencies:
32883330
"@babel/plugin-syntax-jsx" "^7.2.0"
3289-
"@vue/babel-helper-vue-jsx-merge-props" "^1.0.0"
3290-
"@vue/babel-plugin-transform-vue-jsx" "^1.1.2"
3331+
"@vue/babel-helper-vue-jsx-merge-props" "^1.2.1"
3332+
"@vue/babel-plugin-transform-vue-jsx" "^1.2.1"
32913333
camelcase "^5.0.0"
32923334
html-tags "^2.0.0"
32933335
svg-tags "^1.0.0"
32943336

3295-
"@vue/babel-sugar-v-on@^1.1.2":
3296-
version "1.1.2"
3297-
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-v-on/-/babel-sugar-v-on-1.1.2.tgz#b2ef99b8f2fab09fbead25aad70ef42e1cf5b13b"
3298-
integrity sha512-T8ZCwC8Jp2uRtcZ88YwZtZXe7eQrJcfRq0uTFy6ShbwYJyz5qWskRFoVsdTi9o0WEhmQXxhQUewodOSCUPVmsQ==
3337+
"@vue/babel-sugar-v-on@^1.2.3":
3338+
version "1.2.3"
3339+
resolved "https://registry.yarnpkg.com/@vue/babel-sugar-v-on/-/babel-sugar-v-on-1.2.3.tgz#342367178586a69f392f04bfba32021d02913ada"
3340+
integrity sha512-kt12VJdz/37D3N3eglBywV8GStKNUhNrsxChXIV+o0MwVXORYuhDTHJRKPgLJRb/EY3vM2aRFQdxJBp9CLikjw==
32993341
dependencies:
33003342
"@babel/plugin-syntax-jsx" "^7.2.0"
3301-
"@vue/babel-plugin-transform-vue-jsx" "^1.1.2"
3343+
"@vue/babel-plugin-transform-vue-jsx" "^1.2.1"
33023344
camelcase "^5.0.0"
33033345

33043346
"@vue/[email protected]", "@vue/compiler-core@^3.0.5":

0 commit comments

Comments
 (0)